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.001242/0.001242, allocations: 106.8 kB / 17.15 MB, free: 6.305 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.001149/0.001149, allocations: 198 kB / 18.07 MB, free: 5.41 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.318/1.318, allocations: 205.1 MB / 223.9 MB, free: 12.38 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.001182/0.001182, allocations: 55.92 kB / 280 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0843/0.08549, allocations: 46.63 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0335/0.119, allocations: 37.71 MB / 364.3 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005059/0.1241, allocations: 4.611 MB / 368.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.1245, allocations: 11.94 kB / 368.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008267/0.1253, allocations: 254.7 kB / 369.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007551/0.1261, allocations: 473.6 kB / 369.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.1301, allocations: 1.39 MB / 371 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.1318, allocations: 1.955 MB / 373 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.1321, allocations: 126.4 kB / 373.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005336/0.1326, allocations: 414.5 kB / 373.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/0.1331, allocations: 422.3 kB / 373.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.1332, allocations: 24 kB / 373.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.1346, allocations: 0.7258 MB / 374.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.1347, allocations: 115.6 kB / 374.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.135, allocations: 254.9 kB / 375 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.1362, allocations: 1.033 MB / 376.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1362, allocations: 0 / 376.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.1362, allocations: 4 kB / 376.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1362, allocations: 0 / 376.1 MB, free: 3.234 MB / 318.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.001242/0.1375, allocations: 0.7721 MB / 376.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1375, allocations: 12.03 kB / 376.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005735/0.1381, allocations: 76.34 kB / 376.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.1385, allocations: 343.3 kB / 377.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.1385, allocations: 33.38 kB / 377.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.1386, allocations: 44.38 kB / 377.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.1393, allocations: 471.7 kB / 377.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.1393, allocations: 4 kB / 377.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.1393, allocations: 16 kB / 377.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.1394, allocations: 15.94 kB / 377.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.1398, allocations: 299.7 kB / 378.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1649/0.3047, allocations: 6.724 MB / 384.9 MB, free: 54.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.3052, allocations: 280.9 kB / 385.1 MB, free: 54.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.3055, allocations: 150.2 kB / 385.3 MB, free: 54.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/0.3169, allocations: 3.886 MB / 389.2 MB, free: 52.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.317, allocations: 44.83 kB / 389.2 MB, free: 52.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.274e-06/0.317, allocations: 0 / 389.2 MB, free: 52.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.0127/0.3297, allocations: 2.46 MB / 391.7 MB, free: 51.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.3298, allocations: 55.84 kB / 391.7 MB, free: 51.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.3302, allocations: 304.4 kB / 392 MB, free: 51.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.3302, allocations: 35.86 kB / 392 MB, free: 51.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3304, allocations: 226.4 kB / 392.3 MB, free: 50.92 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.3305, allocations: 157.5 kB / 392.4 MB, free: 50.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.3306, allocations: 97.59 kB / 392.5 MB, free: 50.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.438e-05/0.3307, allocations: 347 kB / 392.9 MB, free: 50.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.331, allocations: 154.5 kB / 393 MB, free: 50.31 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.3314, allocations: 276.8 kB / 393.3 MB, free: 50.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.332, allocations: 476 kB / 393.7 MB, free: 49.76 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.332, allocations: 1.812 kB / 393.7 MB, free: 49.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001076/0.3331, allocations: 0.5919 MB / 394.3 MB, free: 49.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3331, allocations: 5.969 kB / 394.3 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.3331, allocations: 6.469 kB / 394.3 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008139/0.3413, allocations: 1.852 MB / 396.2 MB, free: 48.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/0.3417, allocations: 111 kB / 396.3 MB, free: 48.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.3431, allocations: 2.457 MB / 398.8 MB, free: 46.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.3435, allocations: 39.89 kB / 398.8 MB, free: 46.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.3436, allocations: 19.88 kB / 398.8 MB, free: 46.09 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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002053/0.3438, allocations: 181.4 kB / 399 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.3439, allocations: 43.31 kB / 399 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009982/0.3449, allocations: 0.8498 MB / 399.9 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.3449, allocations: 15.86 kB / 399.9 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3449, allocations: 4.812 kB / 399.9 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007648/0.3457, allocations: 0.9521 MB / 400.9 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.3473, allocations: 1.484 MB / 402.4 MB, free: 43.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.3474, allocations: 0 / 402.4 MB, free: 43.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.3477, allocations: 83.92 kB / 402.4 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/0.3509, allocations: 0.6178 MB / 403.1 MB, free: 42.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.351, allocations: 16 kB / 403.1 MB, free: 42.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000669/0.3517, allocations: 1.287 MB / 404.4 MB, free: 41.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3517, allocations: 3.938 kB / 404.4 MB, free: 41.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.3529, allocations: 1.228 MB / 405.6 MB, free: 40.17 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.353, allocations: 112.5 kB / 405.7 MB, free: 40.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.3531, allocations: 12 kB / 405.7 MB, free: 40.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.3534, allocations: 27.97 kB / 405.7 MB, free: 40 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.3534, allocations: 31.89 kB / 405.8 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.3535, allocations: 16.55 kB / 405.8 MB, free: 39.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.3536, allocations: 209.9 kB / 406 MB, free: 39.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3537, allocations: 0 / 406 MB, free: 39.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007214/0.3544, allocations: 234 kB / 406.2 MB, free: 39.54 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006393/0.355, allocations: 277.2 kB / 406.5 MB, free: 39.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.3561, allocations: 0.6914 MB / 407.2 MB, free: 38.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3562, allocations: 0 / 407.2 MB, free: 38.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008838/0.357, allocations: 438.3 kB / 407.6 MB, free: 38.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.3583, allocations: 229.3 kB / 407.8 MB, free: 37.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.36, allocations: 1.439 MB / 409.3 MB, free: 36.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.3602, allocations: 0.8363 MB / 410.1 MB, free: 35.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.3605, allocations: 68.02 kB / 410.2 MB, free: 35.58 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.3605, allocations: 35.44 kB / 410.2 MB, free: 35.54 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3606, allocations: 0 / 410.2 MB, free: 35.54 MB / 318.1 MB Notification: Performance of Templates: time 0.01661/0.3772, allocations: 12.18 MB / 422.4 MB, free: 23.38 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (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) 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