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.0009113/0.0009114, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 177.8 kB / 16.57 MB, free: 6.844 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.438/1.438, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3395/0.3395, allocations: 43.55 MB / 314.5 MB, free: 8.773 MB / 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.0005614/0.0005617, allocations: 20 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1317, allocations: 58.85 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.394/0.5257, allocations: 141.9 MB / 0.571 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.5371, allocations: 8.793 MB / 0.5795 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008023/0.538, allocations: 27.75 kB / 0.5796 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008123/0.5388, allocations: 270.7 kB / 0.5798 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.5421, allocations: 1.189 MB / 0.581 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.5445, allocations: 0.8985 MB / 0.5819 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.546, allocations: 1.043 MB / 0.5829 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005729/0.5466, allocations: 383.8 kB / 0.5833 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.5479, allocations: 0.7402 MB / 0.584 GB, free: 480 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006016/0.5486, allocations: 454.5 kB / 0.5844 GB, free: 24 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.279e-05/0.5487, allocations: 32.05 kB / 0.5844 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.55, allocations: 0.6203 MB / 0.585 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.5503, allocations: 227.4 kB / 0.5853 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.5505, allocations: 161.3 kB / 0.5854 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.5515, allocations: 0.9894 MB / 0.5864 GB, free: 14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.5515, allocations: 0 / 0.5864 GB, free: 14 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5515, allocations: 0 / 0.5864 GB, free: 14 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.5515, allocations: 0 / 0.5864 GB, free: 14 MB / 462.1 MB 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.001913/0.5534, allocations: 0.983 MB / 0.5873 GB, free: 12.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5535, allocations: 12.02 kB / 0.5874 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008029/0.5543, allocations: 143.1 kB / 0.5875 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.5551, allocations: 492.6 kB / 0.588 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.675e-05/0.5552, allocations: 100.4 kB / 0.5881 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-05/0.5553, allocations: 55.97 kB / 0.5881 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.5564, allocations: 0.8103 MB / 0.5889 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.5565, allocations: 3.938 kB / 0.5889 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.988e-05/0.5565, allocations: 24 kB / 0.5889 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/0.5566, allocations: 40.98 kB / 0.589 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009714/0.5576, allocations: 0.6204 MB / 0.5896 GB, free: 10.55 MB / 462.1 MB 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.004178/0.5618, allocations: 3.959 MB / 0.5934 GB, free: 6.352 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.5623, allocations: 343.6 kB / 0.5938 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.773e-05/0.5624, allocations: 28.91 kB / 0.5938 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.5624, allocations: 39.72 kB / 0.5938 GB, free: 5.934 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.244e-06/0.5624, allocations: 4 kB / 0.5938 GB, free: 5.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005196/0.5676, allocations: 1.679 MB / 0.5955 GB, free: 4.184 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.5677, allocations: 132.5 kB / 0.5956 GB, free: 4.023 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/0.5685, allocations: 0.6094 MB / 0.5962 GB, free: 3.406 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.5685, allocations: 33.7 kB / 0.5962 GB, free: 3.367 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.5688, allocations: 370.9 kB / 0.5966 GB, free: 3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.569, allocations: 145.9 kB / 0.5967 GB, free: 2.855 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.569, allocations: 8 kB / 0.5967 GB, free: 2.848 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.5692, allocations: 374.8 kB / 0.5971 GB, free: 2.473 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.5696, allocations: 201.9 kB / 0.5973 GB, free: 2.277 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005609/0.5701, allocations: 0.5047 MB / 0.5978 GB, free: 1.629 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.5706, allocations: 295.7 kB / 0.5981 GB, free: 1.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5706, allocations: 0 / 0.5981 GB, free: 1.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00129/0.5719, allocations: 0.8728 MB / 0.5989 GB, free: 468 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.5719, allocations: 15.95 kB / 0.5989 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5719, allocations: 8 kB / 0.5989 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.5732, allocations: 320.8 kB / 0.5992 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.5736, allocations: 122.7 kB / 0.5994 GB, free: 0 / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.5746, allocations: 0.9411 MB / 0.6003 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/0.5751, allocations: 35.98 kB / 0.6003 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/0.5752, allocations: 68.05 kB / 0.6004 GB, free: 14.93 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003078/0.5755, allocations: 249.5 kB / 0.6006 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/0.5756, allocations: 71.16 kB / 0.6007 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.577, allocations: 0.6826 MB / 0.6013 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.577, allocations: 7.953 kB / 0.6013 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.577, allocations: 0 / 0.6013 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.577, allocations: 0 / 0.6013 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.5788, allocations: 1.269 MB / 0.6026 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5788, allocations: 0 / 0.6026 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009794/0.5798, allocations: 207.8 kB / 0.6028 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.994e-05/0.5798, allocations: 20.84 kB / 0.6028 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.5799, allocations: 23.98 kB / 0.6028 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.5819, allocations: 2.698 MB / 0.6055 GB, free: 9.336 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.5819, allocations: 7.922 kB / 0.6055 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.5831, allocations: 0.8569 MB / 0.6063 GB, free: 8.418 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.5834, allocations: 184.2 kB / 0.6065 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.58e-05/0.5835, allocations: 8 kB / 0.6065 GB, free: 8.211 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.5839, allocations: 23.98 kB / 0.6065 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.584, allocations: 39.89 kB / 0.6066 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.924e-05/0.5841, allocations: 44.05 kB / 0.6066 GB, free: 8.105 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005327/0.5846, allocations: 435 kB / 0.607 GB, free: 7.684 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5846, allocations: 0 / 0.607 GB, free: 7.684 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001003/0.5856, allocations: 292 kB / 0.6073 GB, free: 7.398 MB / 478.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008537/0.5865, allocations: 372.4 kB / 0.6076 GB, free: 7.027 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000988/0.5875, allocations: 0.5424 MB / 0.6082 GB, free: 6.488 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.5875, allocations: 4 kB / 0.6082 GB, free: 6.484 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009126/0.5884, allocations: 414.9 kB / 0.6086 GB, free: 6.066 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.5899, allocations: 331.4 kB / 0.6089 GB, free: 5.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.5921, allocations: 1.531 MB / 0.6104 GB, free: 4.184 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.5926, allocations: 0.9494 MB / 0.6113 GB, free: 3.207 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009495/0.5935, allocations: 258 kB / 0.6116 GB, free: 2.953 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.5939, allocations: 103.4 kB / 0.6117 GB, free: 2.852 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5939, allocations: 0 / 0.6117 GB, free: 2.852 MB / 478.1 MB Notification: Performance of Templates: time 0.02521/0.6191, allocations: 17.08 MB / 0.6283 GB, free: 1.816 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches