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.001224/0.001224, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 57.12 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08687/0.08807, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1905/0.2786, allocations: 37.53 MB / 396.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00569/0.2843, allocations: 4.58 MB / 401 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.2847, allocations: 6.125 kB / 401 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008599/0.2856, allocations: 288.7 kB / 401.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008889/0.2865, allocations: 477.9 kB / 401.7 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004418/0.2909, allocations: 1.646 MB / 403.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.2928, allocations: 1.281 MB / 404.7 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003065/0.2931, allocations: 163.7 kB / 404.8 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007168/0.2938, allocations: 474.8 kB / 405.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/0.2943, allocations: 407.3 kB / 405.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.17e-05/0.2944, allocations: 45.41 kB / 405.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.296, allocations: 0.7667 MB / 406.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.2962, allocations: 128.5 kB / 406.6 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.2965, allocations: 277.6 kB / 406.9 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.2978, allocations: 1.055 MB / 408 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2978, allocations: 0 / 408 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2978, allocations: 0 / 408 MB, free: 7.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.2978, allocations: 1.438 kB / 408 MB, free: 7.422 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.001124/0.2989, allocations: 0.7721 MB / 408.7 MB, free: 6.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.299, allocations: 14.09 kB / 408.7 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005944/0.2996, allocations: 85.42 kB / 408.8 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.3002, allocations: 336.5 kB / 409.2 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.3003, allocations: 33.59 kB / 409.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.956e-05/0.3004, allocations: 41.69 kB / 409.2 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.3011, allocations: 475.5 kB / 409.7 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.3012, allocations: 5.406 kB / 409.7 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/0.3012, allocations: 17.41 kB / 409.7 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.3012, allocations: 9.344 kB / 409.7 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004965/0.3017, allocations: 302.8 kB / 410 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.3148, allocations: 6.734 MB / 416.8 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.3153, allocations: 272.2 kB / 417 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.3155, allocations: 161.1 kB / 417.2 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.326, allocations: 3.879 MB / 421.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.326, allocations: 34.56 kB / 421.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.884e-06/0.326, allocations: 0 / 421.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.01193/0.338, allocations: 2.456 MB / 423.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.338, allocations: 59.34 kB / 423.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.3383, allocations: 311.1 kB / 423.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.3384, allocations: 29.7 kB / 423.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.3385, allocations: 228 kB / 424.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.3386, allocations: 165.6 kB / 424.3 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.3388, allocations: 98.16 kB / 424.4 MB, free: 8.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3389, allocations: 346.8 kB / 424.8 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.3392, allocations: 153.1 kB / 424.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.3395, allocations: 271.7 kB / 425.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/0.3401, allocations: 476.2 kB / 425.6 MB, free: 7.195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3401, allocations: 4 kB / 425.6 MB, free: 7.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001011/0.3412, allocations: 0.5916 MB / 426.2 MB, free: 6.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3412, allocations: 11.94 kB / 426.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3412, allocations: 4 kB / 426.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008043/0.3493, allocations: 1.846 MB / 428.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.3497, allocations: 107.8 kB / 428.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.3516, allocations: 2.565 MB / 430.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.352, allocations: 12 kB / 430.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.352, allocations: 20 kB / 430.8 MB, free: 1.844 MB / 334.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.0002419/0.3523, allocations: 189.7 kB / 431 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/0.3523, allocations: 35.62 kB / 431 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.3535, allocations: 0.8512 MB / 431.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.3536, allocations: 12 kB / 431.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.3536, allocations: 0 / 431.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009947/0.3546, allocations: 0.9574 MB / 432.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.3566, allocations: 1.493 MB / 434.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.3566, allocations: 0 / 434.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.357, allocations: 75.91 kB / 434.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00332/0.3603, allocations: 0.6218 MB / 435 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.3603, allocations: 15.98 kB / 435 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000931/0.3613, allocations: 1.288 MB / 436.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3613, allocations: 0 / 436.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.3628, allocations: 1.221 MB / 437.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.3629, allocations: 116.6 kB / 437.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.363, allocations: 12 kB / 437.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3632, allocations: 12 kB / 437.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.3633, allocations: 27.94 kB / 437.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.3633, allocations: 19.98 kB / 437.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.3635, allocations: 213.9 kB / 437.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3635, allocations: 0 / 437.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007694/0.3643, allocations: 227.9 kB / 438.2 MB, free: 10.2 MB / 350.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.000536/0.3648, allocations: 278 kB / 438.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.366, allocations: 0.6951 MB / 439.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.366, allocations: 0 / 439.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009115/0.367, allocations: 444.3 kB / 439.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.3681, allocations: 245.7 kB / 439.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.3698, allocations: 1.226 MB / 441 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.3702, allocations: 0.8363 MB / 441.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002516/0.3705, allocations: 68.34 kB / 441.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.3706, allocations: 39.44 kB / 442 MB, free: 6.324 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3706, allocations: 0 / 442 MB, free: 6.324 MB / 350.1 MB Notification: Performance of Templates: time 0.01907/0.3896, allocations: 12.65 MB / 454.6 MB, free: 9.723 MB / 366.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 -s gbode -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