Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.0009801/0.0009801, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000963/0.000963, allocations: 43.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2001, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02552/0.2257, allocations: 27.03 MB / 428.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004309/0.23, allocations: 4.167 MB / 432.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.2302, allocations: 4 kB / 432.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005444/0.2307, allocations: 202.7 kB / 432.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005449/0.2313, allocations: 346.1 kB / 433.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.2344, allocations: 1.465 MB / 434.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007893/0.2352, allocations: 0.8911 MB / 435.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.2354, allocations: 108.6 kB / 435.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005192/0.2406, allocations: 4.061 MB / 439.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.241, allocations: 278.9 kB / 440 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.241, allocations: 32 kB / 440 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.2422, allocations: 0.722 MB / 440.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2423, allocations: 91.72 kB / 440.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.2425, allocations: 199.2 kB / 441 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009744/0.2435, allocations: 0.8494 MB / 441.8 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.2435, allocations: 0 / 441.8 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2435, allocations: 0 / 441.8 MB, free: 320 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2435, allocations: 0 / 441.8 MB, free: 320 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008413/0.2444, allocations: 0.651 MB / 442.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2444, allocations: 8.031 kB / 442.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000452/0.2449, allocations: 64.47 kB / 442.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.2453, allocations: 280.4 kB / 442.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.2453, allocations: 20.94 kB / 442.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.2454, allocations: 32.28 kB / 442.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.2459, allocations: 346.5 kB / 443.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.2459, allocations: 0 / 443.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.2459, allocations: 12 kB / 443.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2459, allocations: 8 kB / 443.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.2463, allocations: 210 kB / 443.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.259, allocations: 5.912 MB / 449.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.2593, allocations: 178.6 kB / 449.5 MB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.2594, allocations: 84.84 kB / 449.6 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.2702, allocations: 3.893 MB / 453.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2702, allocations: 34.56 kB / 453.6 MB, free: 3.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.2702, allocations: 3.938 kB / 453.6 MB, free: 3.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006242/0.2765, allocations: 1.41 MB / 455 MB, free: 2.176 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.2765, allocations: 59.39 kB / 455 MB, free: 2.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.2768, allocations: 254.6 kB / 455.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.2768, allocations: 29.7 kB / 455.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2769, allocations: 188.1 kB / 455.5 MB, free: 1.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.277, allocations: 106.6 kB / 455.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.162e-05/0.2771, allocations: 65.61 kB / 455.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2772, allocations: 334.8 kB / 456 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.2774, allocations: 95.73 kB / 456.1 MB, free: 1.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.2776, allocations: 186.8 kB / 456.3 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.278, allocations: 299 kB / 456.6 MB, free: 476 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.278, allocations: 0 / 456.6 MB, free: 476 kB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006662/0.2787, allocations: 398.7 kB / 456.9 MB, free: 64 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2787, allocations: 8 kB / 456.9 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.2787, allocations: 3.938 kB / 457 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004327/0.283, allocations: 0.9393 MB / 457.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.2833, allocations: 67.91 kB / 458 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.2848, allocations: 1.982 MB / 459.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.285, allocations: 8 kB / 459.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.285, allocations: 20 kB / 460 MB, free: 12.87 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.2852, allocations: 150.1 kB / 460.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.2852, allocations: 31.66 kB / 460.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007131/0.2859, allocations: 495.4 kB / 460.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006438/0.2866, allocations: 0.72 MB / 461.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2866, allocations: 48 / 461.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.2867, allocations: 112.7 kB / 461.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.2868, allocations: 8 kB / 461.5 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.2869, allocations: 4 kB / 461.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.287, allocations: 16.22 kB / 461.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008305/0.2878, allocations: 0.5011 MB / 462 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007765/0.2886, allocations: 0.7128 MB / 462.7 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002079/0.2888, allocations: 176.9 kB / 462.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.289, allocations: 186 kB / 463.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of Backend: time 2.1e-07/0.289, allocations: 0 / 463.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.2904, allocations: 0.5907 MB / 463.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of SimCode: time 0.001475/0.2919, allocations: 1.196 MB / 464.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of Templates: time 0.01455/0.3064, allocations: 9.902 MB / 474.7 MB, free: 13.92 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches