Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00104/0.00104, allocations: 111.7 kB / 17.06 MB, free: 5.973 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.001001/0.001001, allocations: 198.8 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009657/0.0009657, allocations: 47.94 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.228, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03337/0.2614, allocations: 37.43 MB / 438.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005651/0.2671, allocations: 4.58 MB / 442.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004885/0.2676, allocations: 7.938 kB / 442.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008309/0.2685, allocations: 294.2 kB / 443 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.2695, allocations: 489.3 kB / 443.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004822/0.2744, allocations: 1.646 MB / 445.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.2759, allocations: 1.265 MB / 446.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.2762, allocations: 178.4 kB / 446.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008254/0.2771, allocations: 482.4 kB / 447.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006434/0.2777, allocations: 406.4 kB / 447.5 MB, free: 9.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.354e-05/0.2778, allocations: 44 kB / 447.5 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.2794, allocations: 0.7571 MB / 448.3 MB, free: 9.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.2796, allocations: 135.6 kB / 448.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.28, allocations: 278.9 kB / 448.7 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.2815, allocations: 1.04 MB / 449.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2815, allocations: 4 kB / 449.7 MB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2815, allocations: 4 kB / 449.7 MB, free: 7.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.2816, allocations: 7.984 kB / 449.7 MB, free: 7.672 MB / 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.001222/0.2828, allocations: 0.7681 MB / 450.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2828, allocations: 8.031 kB / 450.5 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006019/0.2834, allocations: 72.44 kB / 450.6 MB, free: 6.777 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.284, allocations: 351.4 kB / 450.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.284, allocations: 29.38 kB / 451 MB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/0.2841, allocations: 36.38 kB / 451 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.2847, allocations: 471.7 kB / 451.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.2848, allocations: 7.844 kB / 451.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.2848, allocations: 20 kB / 451.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.2848, allocations: 8 kB / 451.5 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.2853, allocations: 307.7 kB / 451.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.2985, allocations: 6.73 MB / 458.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.2991, allocations: 281 kB / 458.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.2993, allocations: 152.8 kB / 458.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01023/0.3095, allocations: 3.882 MB / 462.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3096, allocations: 50.36 kB / 462.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.375e-06/0.3096, allocations: 0 / 462.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.0119/0.3215, allocations: 2.462 MB / 465.3 MB, free: 6.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3216, allocations: 63.41 kB / 465.4 MB, free: 6.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.322, allocations: 303.2 kB / 465.7 MB, free: 6.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.322, allocations: 33.7 kB / 465.7 MB, free: 6.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3222, allocations: 224 kB / 465.9 MB, free: 6.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.3223, allocations: 161.6 kB / 466.1 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.3224, allocations: 90.25 kB / 466.2 MB, free: 6.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3226, allocations: 346.8 kB / 466.5 MB, free: 5.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.3228, allocations: 157.1 kB / 466.7 MB, free: 5.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.3232, allocations: 271.7 kB / 466.9 MB, free: 5.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006192/0.3238, allocations: 472.2 kB / 467.4 MB, free: 4.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3238, allocations: 4 kB / 467.4 MB, free: 4.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001117/0.325, allocations: 0.5916 MB / 468 MB, free: 4.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.325, allocations: 11.94 kB / 468 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.325, allocations: 4.469 kB / 468 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007619/0.3326, allocations: 1.849 MB / 469.9 MB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.3331, allocations: 103.9 kB / 470 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.3351, allocations: 2.565 MB / 472.5 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.3354, allocations: 16.12 kB / 472.5 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.3355, allocations: 24 kB / 472.6 MB, free: 15.38 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.0002332/0.3357, allocations: 185.6 kB / 472.8 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/0.3358, allocations: 39.53 kB / 472.8 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.337, allocations: 0.8473 MB / 473.6 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.3371, allocations: 16 kB / 473.7 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.3371, allocations: 0 / 473.7 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/0.3381, allocations: 0.9535 MB / 474.6 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.3402, allocations: 1.489 MB / 476.1 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3402, allocations: 0 / 476.1 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.3405, allocations: 75.84 kB / 476.2 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003222/0.3437, allocations: 0.6294 MB / 476.8 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.3438, allocations: 15.92 kB / 476.8 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009273/0.3447, allocations: 1.284 MB / 478.1 MB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3447, allocations: 0 / 478.1 MB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.3462, allocations: 1.225 MB / 479.3 MB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.3463, allocations: 116.5 kB / 479.4 MB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/0.3464, allocations: 12 kB / 479.5 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.3467, allocations: 11.94 kB / 479.5 MB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.3467, allocations: 28 kB / 479.5 MB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.3468, allocations: 19.98 kB / 479.5 MB, free: 8.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002047/0.347, allocations: 213.9 kB / 479.7 MB, free: 7.965 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.347, allocations: 4 kB / 479.7 MB, free: 7.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007378/0.3477, allocations: 231.9 kB / 479.9 MB, free: 7.734 MB / 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.0006424/0.3484, allocations: 274.9 kB / 480.2 MB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.3496, allocations: 0.7024 MB / 480.9 MB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3496, allocations: 0 / 480.9 MB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009118/0.3505, allocations: 436.2 kB / 481.3 MB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.3516, allocations: 244.8 kB / 481.6 MB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.3535, allocations: 1.21 MB / 482.8 MB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.3539, allocations: 0.8439 MB / 483.6 MB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003298/0.3542, allocations: 76.33 kB / 483.7 MB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/0.3543, allocations: 35.44 kB / 483.7 MB, free: 3.855 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3543, allocations: 0 / 483.7 MB, free: 3.855 MB / 398.1 MB Notification: Performance of Templates: time 0.02068/0.375, allocations: 12.78 MB / 496.5 MB, free: 7.168 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches