Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 109.1 kB / 17.09 MB, free: 6.008 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.001226/0.001226, allocations: 198.2 kB / 18.02 MB, free: 5.082 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.397/1.397, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2405/0.2405, allocations: 43.52 MB / 314.8 MB, free: 468 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.001721/0.001721, allocations: 71.88 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1356, allocations: 57.78 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5311/0.6667, allocations: 179.7 MB / 0.6641 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01427/0.681, allocations: 8.183 MB / 0.672 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006976/0.6818, allocations: 19.88 kB / 0.6721 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.6829, allocations: 321.9 kB / 0.6724 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.6874, allocations: 1.488 MB / 0.6738 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003213/0.6906, allocations: 1.142 MB / 0.6749 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002252/0.6929, allocations: 1.849 MB / 0.6767 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006222/0.6935, allocations: 453.3 kB / 0.6772 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.6962, allocations: 1.249 MB / 0.6784 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009616/0.6971, allocations: 0.6579 MB / 0.679 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.6973, allocations: 64 kB / 0.6791 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.6991, allocations: 0.827 MB / 0.6799 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.6994, allocations: 259.3 kB / 0.6802 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004001/0.6998, allocations: 394.2 kB / 0.6805 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.7018, allocations: 1.422 MB / 0.6819 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.7018, allocations: 0 / 0.6819 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.512e-06/0.7018, allocations: 0 / 0.6819 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.7018, allocations: 4 kB / 0.6819 GB, free: 4.445 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002343/0.7042, allocations: 1.125 MB / 0.683 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.7042, allocations: 8.031 kB / 0.683 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008342/0.7051, allocations: 139 kB / 0.6832 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008941/0.706, allocations: 0.5353 MB / 0.6837 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.7061, allocations: 104.4 kB / 0.6838 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-05/0.7062, allocations: 55.94 kB / 0.6838 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.7074, allocations: 0.8058 MB / 0.6846 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.7075, allocations: 4 kB / 0.6846 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/0.7075, allocations: 23.98 kB / 0.6846 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.832e-05/0.7076, allocations: 40.92 kB / 0.6847 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.7087, allocations: 0.6166 MB / 0.6853 GB, free: 0.8203 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004952/0.7137, allocations: 3.984 MB / 0.6892 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.7143, allocations: 356.3 kB / 0.6895 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.7146, allocations: 181.2 kB / 0.6897 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004248/0.715, allocations: 361.4 kB / 0.69 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.715, allocations: 38.84 kB / 0.6901 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.345e-06/0.715, allocations: 0 / 0.6901 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.00528/0.7203, allocations: 1.668 MB / 0.6917 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.7204, allocations: 140.5 kB / 0.6918 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006851/0.7211, allocations: 0.6171 MB / 0.6924 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.7212, allocations: 37.7 kB / 0.6925 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.7214, allocations: 359 kB / 0.6928 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.7215, allocations: 149.9 kB / 0.693 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.7218, allocations: 158.5 kB / 0.6931 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7219, allocations: 370.8 kB / 0.6935 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.7223, allocations: 205.9 kB / 0.6937 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005849/0.7229, allocations: 0.5125 MB / 0.6942 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009616/0.7238, allocations: 0.7523 MB / 0.6949 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.7239, allocations: 4 kB / 0.6949 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001386/0.7252, allocations: 0.8683 MB / 0.6957 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.7253, allocations: 12 kB / 0.6958 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.7253, allocations: 8 kB / 0.6958 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.7267, allocations: 313.9 kB / 0.6961 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.7271, allocations: 131.8 kB / 0.6962 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.7282, allocations: 0.9308 MB / 0.6971 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.7287, allocations: 24.88 kB / 0.6971 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/0.7288, allocations: 67.98 kB / 0.6972 GB, free: 3.844 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003499/0.7292, allocations: 245.5 kB / 0.6974 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.7293, allocations: 71.19 kB / 0.6975 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.7307, allocations: 0.6832 MB / 0.6982 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.7307, allocations: 0 / 0.6982 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7307, allocations: 0 / 0.6982 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.731, allocations: 188.3 kB / 0.6983 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-05/0.7311, allocations: 15.91 kB / 0.6984 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.7315, allocations: 15.98 kB / 0.6984 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.7316, allocations: 39.89 kB / 0.6984 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001535/0.7331, allocations: 0.6154 MB / 0.699 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001115/0.7342, allocations: 0.8223 MB / 0.6998 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003094/0.7346, allocations: 183.9 kB / 0.7 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005091/0.7351, allocations: 431 kB / 0.7004 GB, free: 488 kB / 0.5294 GB Notification: Performance of Backend: time 7.12e-07/0.7351, allocations: 0 / 0.7004 GB, free: 488 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.7375, allocations: 0.8305 MB / 0.7012 GB, free: 15.64 MB / 0.545 GB Notification: Performance of SimCode: time 0.002931/0.7404, allocations: 1.911 MB / 0.7031 GB, free: 13.68 MB / 0.545 GB Notification: Performance of Templates: time 0.03212/0.7726, allocations: 19.54 MB / 0.7222 GB, free: 10.16 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches