Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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) 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(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009001/0.0009003, allocations: 98.62 kB / 16.93 MB, free: 5.984 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.0008611/0.0008612, allocations: 175.6 kB / 17.82 MB, free: 5.652 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.286/1.286, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.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.0004649/0.0004649, allocations: 8 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08627/0.08675, allocations: 47.59 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02052/0.1073, allocations: 22.35 MB / 350.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005759/0.1131, allocations: 5.294 MB / 356 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.1134, allocations: 4 kB / 356 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006712/0.1141, allocations: 246.9 kB / 356.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000525/0.1146, allocations: 323 kB / 356.5 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.1181, allocations: 1.348 MB / 357.9 MB, free: 6.461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007887/0.1189, allocations: 0.6978 MB / 358.6 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.1191, allocations: 114.1 kB / 358.7 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004185/0.1195, allocations: 351 kB / 359 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.1198, allocations: 243 kB / 359.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.072e-05/0.1199, allocations: 23.98 kB / 359.3 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.1212, allocations: 0.7493 MB / 360 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.1213, allocations: 95.7 kB / 360.1 MB, free: 4.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1214, allocations: 137.4 kB / 360.3 MB, free: 4.062 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007801/0.1222, allocations: 0.7484 MB / 361 MB, free: 3.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1222, allocations: 0 / 361 MB, free: 3.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1222, allocations: 0 / 361 MB, free: 3.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1223, allocations: 0 / 361 MB, free: 3.312 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000928/0.1232, allocations: 0.69 MB / 361.7 MB, free: 2.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1232, allocations: 8.031 kB / 361.7 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005523/0.1238, allocations: 87.41 kB / 361.8 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.1242, allocations: 326.2 kB / 362.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.1243, allocations: 29 kB / 362.1 MB, free: 2.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.1243, allocations: 36 kB / 362.2 MB, free: 2.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.1249, allocations: 463.5 kB / 362.6 MB, free: 1.562 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.125, allocations: 11.98 kB / 362.6 MB, free: 1.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.125, allocations: 16 kB / 362.7 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.125, allocations: 15.95 kB / 362.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.1255, allocations: 299.7 kB / 363 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.1378, allocations: 6.738 MB / 369.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.1383, allocations: 282.3 kB / 370 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009809/0.1481, allocations: 3.869 MB / 373.8 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/0.1482, allocations: 30.56 kB / 373.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.034e-06/0.1482, allocations: 0 / 373.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01159/0.1598, allocations: 2.497 MB / 376.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.1599, allocations: 55.41 kB / 376.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.1602, allocations: 295.3 kB / 376.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.1603, allocations: 41.7 kB / 376.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.1604, allocations: 227.9 kB / 377 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.1605, allocations: 165.6 kB / 377.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.1605, allocations: 8 kB / 377.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1607, allocations: 346.8 kB / 377.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.1609, allocations: 149.1 kB / 377.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.1612, allocations: 271.7 kB / 377.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.1615, allocations: 196.7 kB / 378.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1615, allocations: 0 / 378.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009821/0.1625, allocations: 0.5916 MB / 378.7 MB, free: 424 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1626, allocations: 8.469 kB / 378.7 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.1626, allocations: 4 kB / 378.7 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1483/0.3108, allocations: 0.7604 MB / 379.5 MB, free: 56.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.3114, allocations: 110.5 kB / 379.6 MB, free: 56.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.3131, allocations: 2.465 MB / 382 MB, free: 53.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.3136, allocations: 43.36 kB / 382.1 MB, free: 53.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.3136, allocations: 23.42 kB / 382.1 MB, free: 53.84 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002259/0.3139, allocations: 172.9 kB / 382.3 MB, free: 53.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.575e-05/0.314, allocations: 42.42 kB / 382.3 MB, free: 53.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.3154, allocations: 0.8534 MB / 383.2 MB, free: 53.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.3154, allocations: 9.688 kB / 383.2 MB, free: 53.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3154, allocations: 4.719 kB / 383.2 MB, free: 53.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/0.3165, allocations: 0.9608 MB / 384.1 MB, free: 53.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.3186, allocations: 1.488 MB / 385.6 MB, free: 52.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.3186, allocations: 8.344 kB / 385.6 MB, free: 52.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.319, allocations: 77.22 kB / 385.7 MB, free: 52.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/0.3224, allocations: 0.6343 MB / 386.3 MB, free: 52.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.3225, allocations: 16.64 kB / 386.4 MB, free: 52.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006798/0.3232, allocations: 1.277 MB / 387.6 MB, free: 51.26 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3232, allocations: 0 / 387.6 MB, free: 51.26 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.3247, allocations: 1.235 MB / 388.9 MB, free: 50.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.3248, allocations: 126 kB / 389 MB, free: 50.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.3249, allocations: 15.45 kB / 389 MB, free: 50.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.3252, allocations: 20.61 kB / 389 MB, free: 50.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.3253, allocations: 27.92 kB / 389.1 MB, free: 50.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.3253, allocations: 18.98 kB / 389.1 MB, free: 50.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.3256, allocations: 207.6 kB / 389.3 MB, free: 50.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3256, allocations: 0 / 389.3 MB, free: 50.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008365/0.3264, allocations: 230.7 kB / 389.5 MB, free: 50.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005325/0.3269, allocations: 277.3 kB / 389.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.3281, allocations: 0.6869 MB / 390.5 MB, free: 49.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3281, allocations: 5.188 kB / 390.5 MB, free: 49.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009186/0.329, allocations: 433 kB / 390.9 MB, free: 49.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.3302, allocations: 224.3 kB / 391.1 MB, free: 49.72 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.3321, allocations: 1.474 MB / 392.6 MB, free: 48.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3324, allocations: 0.85 MB / 393.4 MB, free: 48.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003137/0.3327, allocations: 66.91 kB / 393.5 MB, free: 48.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.3328, allocations: 37.39 kB / 393.5 MB, free: 48.11 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3328, allocations: 0 / 393.5 MB, free: 48.11 MB / 318.1 MB Notification: Performance of Templates: time 0.01606/0.3489, allocations: 11.84 MB / 405.4 MB, free: 40.15 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches