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.001281/0.001281, allocations: 114.7 kB / 17.04 MB, free: 6.129 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.001009/0.001009, allocations: 193.7 kB / 17.98 MB, free: 5.227 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.307/1.307, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.222/0.222, allocations: 43.53 MB / 314.7 MB, free: 480 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.001491/0.001491, allocations: 64.47 kB / 442.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1396, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.6299/0.7696, allocations: 179.7 MB / 0.664 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.7816, allocations: 8.17 MB / 0.672 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006664/0.7823, allocations: 19.88 kB / 0.672 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.7834, allocations: 317.9 kB / 0.6723 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00402/0.7875, allocations: 1.491 MB / 0.6738 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.7904, allocations: 1.14 MB / 0.6749 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002397/0.7928, allocations: 1.849 MB / 0.6767 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007073/0.7936, allocations: 460.9 kB / 0.6771 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.7965, allocations: 1.238 MB / 0.6783 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.7975, allocations: 0.654 MB / 0.679 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.7976, allocations: 60 kB / 0.679 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.7996, allocations: 0.8269 MB / 0.6798 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.7999, allocations: 263.3 kB / 0.6801 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004594/0.8003, allocations: 398.2 kB / 0.6805 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.8023, allocations: 1.422 MB / 0.6818 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.8023, allocations: 0 / 0.6818 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8023, allocations: 0 / 0.6818 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.8023, allocations: 0 / 0.6818 GB, free: 4.469 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.002408/0.8048, allocations: 1.13 MB / 0.6829 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.8048, allocations: 8.031 kB / 0.683 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008144/0.8056, allocations: 135 kB / 0.6831 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008299/0.8065, allocations: 0.5392 MB / 0.6836 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.8066, allocations: 104.4 kB / 0.6837 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.822e-05/0.8067, allocations: 44 kB / 0.6838 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.808, allocations: 0.8136 MB / 0.6845 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.808, allocations: 7.938 kB / 0.6846 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.121e-05/0.8081, allocations: 24 kB / 0.6846 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-05/0.8082, allocations: 36.98 kB / 0.6846 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.8092, allocations: 0.6204 MB / 0.6852 GB, free: 0.8398 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.004393/0.8136, allocations: 3.981 MB / 0.6891 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.8142, allocations: 359.2 kB / 0.6894 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.8145, allocations: 169.3 kB / 0.6896 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005187/0.815, allocations: 373.4 kB / 0.69 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.815, allocations: 43.95 kB / 0.69 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.965e-06/0.8151, allocations: 0 / 0.69 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005999/0.8211, allocations: 1.664 MB / 0.6916 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.8212, allocations: 132.5 kB / 0.6918 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007855/0.822, allocations: 0.621 MB / 0.6924 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.822, allocations: 37.7 kB / 0.6924 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.8223, allocations: 362.9 kB / 0.6927 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.8225, allocations: 141.9 kB / 0.6929 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.8228, allocations: 158.5 kB / 0.693 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.823, allocations: 378.8 kB / 0.6934 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.8234, allocations: 205.8 kB / 0.6936 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.8241, allocations: 0.5125 MB / 0.6941 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009788/0.8251, allocations: 0.7524 MB / 0.6948 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.8251, allocations: 4 kB / 0.6948 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001451/0.8265, allocations: 0.8725 MB / 0.6957 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.8266, allocations: 14.97 kB / 0.6957 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.8266, allocations: 8 kB / 0.6957 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/0.8281, allocations: 312.8 kB / 0.696 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.8286, allocations: 119.8 kB / 0.6961 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.8299, allocations: 0.9385 MB / 0.697 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.8304, allocations: 28 kB / 0.6971 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.782e-05/0.8305, allocations: 67.98 kB / 0.6971 GB, free: 3.863 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.0003698/0.8309, allocations: 241.5 kB / 0.6974 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.8311, allocations: 71.19 kB / 0.6974 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.8324, allocations: 0.6855 MB / 0.6981 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.8325, allocations: 4 kB / 0.6981 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8325, allocations: 0 / 0.6981 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.8325, allocations: 0 / 0.6981 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.8348, allocations: 1.611 MB / 0.6997 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.8349, allocations: 3.938 kB / 0.6997 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.8359, allocations: 211.8 kB / 0.6999 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.548e-05/0.836, allocations: 20.97 kB / 0.6999 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.836, allocations: 20 kB / 0.6999 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.8382, allocations: 2.877 MB / 0.7027 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.8382, allocations: 4.031 kB / 0.7027 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.8395, allocations: 0.8087 MB / 0.7035 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.8398, allocations: 192.1 kB / 0.7037 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.8398, allocations: 8 kB / 0.7037 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.8402, allocations: 31.92 kB / 0.7037 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.8403, allocations: 35.95 kB / 0.7038 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.8404, allocations: 43.98 kB / 0.7038 GB, free: 12.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005478/0.841, allocations: 447 kB / 0.7042 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.841, allocations: 0 / 0.7042 GB, free: 12.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001047/0.842, allocations: 288 kB / 0.7045 GB, free: 11.79 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009318/0.843, allocations: 372.2 kB / 0.7049 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.8441, allocations: 0.5475 MB / 0.7054 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.8441, allocations: 4 kB / 0.7054 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009329/0.8451, allocations: 402.2 kB / 0.7058 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.8466, allocations: 362 kB / 0.7061 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.8488, allocations: 1.354 MB / 0.7075 GB, free: 8.715 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.8494, allocations: 0.9261 MB / 0.7084 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.8497, allocations: 115.4 kB / 0.7085 GB, free: 7.648 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.8497, allocations: 0 / 0.7085 GB, free: 7.648 MB / 0.545 GB Notification: Performance of Templates: time 0.0243/0.874, allocations: 17 MB / 0.7251 GB, free: 6.645 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