Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 114 kB / 17.08 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 197.2 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2342/0.2342, allocations: 43.52 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 69.47 kB / 442.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1389, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.002115/0.1411, allocations: 0.4899 MB / 0.489 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1426, allocations: 0.7743 MB / 0.4897 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.1426, allocations: 0 / 0.4897 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.1426, allocations: 3.938 kB / 0.4897 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.1429, allocations: 4 kB / 0.4898 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008197/0.1437, allocations: 62.64 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.413e-05/0.1438, allocations: 3.984 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.1438, allocations: 3.984 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.1439, allocations: 4 kB / 0.4898 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.144, allocations: 3.938 kB / 0.4898 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.144, allocations: 4 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1441, allocations: 51.95 kB / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.1442, allocations: 0 / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.1442, allocations: 0 / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1443, allocations: 51.88 kB / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1444, allocations: 3.938 kB / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1444, allocations: 4 kB / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1444, allocations: 0 / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003942/0.1448, allocations: 369 kB / 0.4903 GB, free: 9.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1448, allocations: 11.89 kB / 0.4903 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.1449, allocations: 4.938 kB / 0.4903 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.145, allocations: 168.4 kB / 0.4905 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.145, allocations: 384 / 0.4905 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.145, allocations: 384 / 0.4905 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1451, allocations: 34.27 kB / 0.4905 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1452, allocations: 192 / 0.4905 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1452, allocations: 3.938 kB / 0.4905 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1452, allocations: 0 / 0.4905 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.985e-05/0.1452, allocations: 0 / 0.4905 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.1454, allocations: 157.6 kB / 0.4907 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.73e-05/0.1454, allocations: 14.58 kB / 0.4907 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.1455, allocations: 8.953 kB / 0.4907 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.1455, allocations: 4 kB / 0.4907 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.1455, allocations: 56.27 kB / 0.4907 GB, free: 9.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1455, allocations: 0 / 0.4907 GB, free: 9.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001962/0.1457, allocations: 75.27 kB / 0.4908 GB, free: 9.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.1458, allocations: 77.11 kB / 0.4909 GB, free: 9.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.018e-05/0.1459, allocations: 93.86 kB / 0.491 GB, free: 9.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1459, allocations: 25.7 kB / 0.491 GB, free: 9.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.814e-05/0.1459, allocations: 84.39 kB / 0.4911 GB, free: 8.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.1459, allocations: 0 / 0.4911 GB, free: 8.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.146, allocations: 13.72 kB / 0.4911 GB, free: 8.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1461, allocations: 318.8 kB / 0.4914 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.1461, allocations: 0 / 0.4914 GB, free: 8.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-06/0.1461, allocations: 8 kB / 0.4914 GB, free: 8.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/0.1462, allocations: 56.27 kB / 0.4915 GB, free: 8.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1462, allocations: 4.062 kB / 0.4915 GB, free: 8.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.376e-05/0.1463, allocations: 63.34 kB / 0.4915 GB, free: 8.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.1463, allocations: 37.69 kB / 0.4916 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1463, allocations: 3.938 kB / 0.4916 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1463, allocations: 0 / 0.4916 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.1463, allocations: 3.938 kB / 0.4916 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1463, allocations: 0 / 0.4916 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.1464, allocations: 0 / 0.4916 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1464, allocations: 8 kB / 0.4916 GB, free: 8.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.122e-05/0.1465, allocations: 139.5 kB / 0.4917 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.1465, allocations: 0 / 0.4917 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.276e-05/0.1465, allocations: 15 kB / 0.4917 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1465, allocations: 3.984 kB / 0.4917 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1465, allocations: 0 / 0.4917 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1465, allocations: 0 / 0.4917 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.1466, allocations: 141.7 kB / 0.4919 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1467, allocations: 0 / 0.4919 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.1467, allocations: 4 kB / 0.4919 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1467, allocations: 0 / 0.4919 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1467, allocations: 3.938 kB / 0.4919 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1467, allocations: 7.984 kB / 0.4919 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1467, allocations: 0 / 0.4919 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.1468, allocations: 90.78 kB / 0.492 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.1468, allocations: 81.02 kB / 0.492 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1469, allocations: 7.922 kB / 0.492 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.03e-05/0.1469, allocations: 4 kB / 0.492 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.1469, allocations: 4 kB / 0.492 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1469, allocations: 4.031 kB / 0.4921 GB, free: 7.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.209e-05/0.1469, allocations: 75.28 kB / 0.4921 GB, free: 7.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.147, allocations: 0 / 0.4921 GB, free: 7.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1472, allocations: 20 kB / 0.4921 GB, free: 7.707 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004083/0.1476, allocations: 188.8 kB / 0.4923 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.1477, allocations: 63.41 kB / 0.4924 GB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1477, allocations: 0 / 0.4924 GB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.552e-05/0.1478, allocations: 63.28 kB / 0.4924 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.1479, allocations: 0.7812 kB / 0.4924 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.1482, allocations: 114.7 kB / 0.4926 GB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1485, allocations: 0.6768 MB / 0.4932 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.1485, allocations: 7.438 kB / 0.4932 GB, free: 6.523 MB / 382.1 MB Notification: Performance of SimCode: time 1.323e-06/0.1485, allocations: 0 / 0.4932 GB, free: 6.523 MB / 382.1 MB Notification: Performance of Templates: time 0.002682/0.1512, allocations: 0.8233 MB / 0.494 GB, free: 5.699 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches