Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001606/0.001606, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001952/0.001952, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 63.89 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2943, allocations: 50.54 MB / 409.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.05811/0.3524, allocations: 37.51 MB / 447.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008302/0.3608, allocations: 4.576 MB / 452 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007397/0.3616, allocations: 7.938 kB / 452 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.363, allocations: 302.2 kB / 452.3 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.3647, allocations: 485.3 kB / 452.8 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006936/0.3717, allocations: 1.645 MB / 454.5 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002327/0.374, allocations: 1.265 MB / 455.7 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004528/0.3745, allocations: 166.6 kB / 455.9 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.3756, allocations: 478.5 kB / 456.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009028/0.3766, allocations: 410.3 kB / 456.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.3767, allocations: 44 kB / 456.8 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.3793, allocations: 0.761 MB / 457.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.3796, allocations: 131.6 kB / 457.7 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000621/0.3803, allocations: 282.9 kB / 458 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.3829, allocations: 1.044 MB / 459 MB, free: 316 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.383, allocations: 0 / 459 MB, free: 316 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.383, allocations: 0 / 459 MB, free: 316 kB / 366.1 MB Notification: Performance of Transformations before backend: time 3.711e-05/0.383, allocations: 3.984 kB / 459 MB, free: 312 kB / 366.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.001689/0.3847, allocations: 0.7761 MB / 459.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3848, allocations: 8.031 kB / 459.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000632/0.3854, allocations: 76.44 kB / 459.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/0.386, allocations: 347.4 kB / 460.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.3861, allocations: 29.38 kB / 460.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.3861, allocations: 44.28 kB / 460.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.3869, allocations: 471.7 kB / 460.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.3869, allocations: 3.938 kB / 460.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/0.387, allocations: 16 kB / 460.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.387, allocations: 12 kB / 460.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005046/0.3875, allocations: 303.7 kB / 461.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/0.4013, allocations: 6.746 MB / 467.8 MB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.4019, allocations: 277.4 kB / 468.1 MB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.4021, allocations: 149.7 kB / 468.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.4127, allocations: 3.897 MB / 472.1 MB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.4128, allocations: 42.55 kB / 472.2 MB, free: 2.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.344e-06/0.4129, allocations: 0 / 472.2 MB, free: 2.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01392/0.4268, allocations: 2.451 MB / 474.6 MB, free: 15.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4269, allocations: 59.41 kB / 474.7 MB, free: 15.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.4273, allocations: 307.1 kB / 475 MB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.4273, allocations: 29.7 kB / 475 MB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.4275, allocations: 224 kB / 475.2 MB, free: 14.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.4277, allocations: 161.6 kB / 475.4 MB, free: 14.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.4278, allocations: 94.25 kB / 475.5 MB, free: 14.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.428, allocations: 346.8 kB / 475.8 MB, free: 14.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.4282, allocations: 157.1 kB / 476 MB, free: 14.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.4286, allocations: 267.7 kB / 476.2 MB, free: 13.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.4293, allocations: 476.2 kB / 476.7 MB, free: 13.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4293, allocations: 4 kB / 476.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001157/0.4305, allocations: 0.5919 MB / 477.3 MB, free: 12.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4305, allocations: 16.03 kB / 477.3 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4305, allocations: 4 kB / 477.3 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007905/0.4384, allocations: 1.84 MB / 479.1 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.4389, allocations: 107.9 kB / 479.3 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.4414, allocations: 2.565 MB / 481.8 MB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.4417, allocations: 12 kB / 481.8 MB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.4418, allocations: 20 kB / 481.8 MB, free: 7.996 MB / 398.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.0003091/0.4421, allocations: 190.6 kB / 482 MB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.4423, allocations: 39.53 kB / 482.1 MB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.4436, allocations: 0.8553 MB / 482.9 MB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.4436, allocations: 11.94 kB / 482.9 MB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.4436, allocations: 0 / 482.9 MB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009677/0.4446, allocations: 0.9572 MB / 483.9 MB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.4465, allocations: 1.486 MB / 485.4 MB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4466, allocations: 4.031 kB / 485.4 MB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.4469, allocations: 76 kB / 485.5 MB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003325/0.4502, allocations: 0.6217 MB / 486.1 MB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-05/0.4503, allocations: 19.92 kB / 486.1 MB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.4514, allocations: 1.277 MB / 487.4 MB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4514, allocations: 0 / 487.4 MB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.453, allocations: 1.221 MB / 488.6 MB, free: 1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.4532, allocations: 116.5 kB / 488.7 MB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.303e-05/0.4533, allocations: 12 kB / 488.7 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.4536, allocations: 15.94 kB / 488.7 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.4537, allocations: 28 kB / 488.8 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.4537, allocations: 19.92 kB / 488.8 MB, free: 0.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.454, allocations: 217.9 kB / 489 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.454, allocations: 0 / 489 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008411/0.4548, allocations: 231.9 kB / 489.2 MB, free: 360 kB / 398.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.000727/0.4556, allocations: 299 kB / 489.5 MB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.4569, allocations: 0.6904 MB / 490.2 MB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4569, allocations: 448 / 490.2 MB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009187/0.4579, allocations: 444 kB / 490.6 MB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.4593, allocations: 228.9 kB / 490.9 MB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.4614, allocations: 1.241 MB / 492.1 MB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.4618, allocations: 0.8363 MB / 492.9 MB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.4619, allocations: 47.42 kB / 493 MB, free: 12.5 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4619, allocations: 0 / 493 MB, free: 12.5 MB / 414.1 MB Notification: Performance of Templates: time 0.01785/0.4798, allocations: 13 MB / 0.4941 GB, free: 15.51 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches