Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001055/0.001055, allocations: 102.3 kB / 18.4 MB, free: 4.68 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.001025/0.001025, allocations: 188.3 kB / 19.34 MB, free: 3.754 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.243/1.243, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001214/0.001214, allocations: 51.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06967/0.07089, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.163/0.234, allocations: 27.04 MB / 402.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004539/0.2385, allocations: 4.162 MB / 407 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.2387, allocations: 8.062 kB / 407.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005725/0.2393, allocations: 202.4 kB / 407.2 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005768/0.2399, allocations: 340.4 kB / 407.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.2436, allocations: 1.473 MB / 409.1 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007912/0.2444, allocations: 0.8911 MB / 409.9 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.2446, allocations: 105.6 kB / 410 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005372/0.25, allocations: 4.052 MB / 414.1 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.2503, allocations: 280.6 kB / 414.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.2504, allocations: 31.84 kB / 414.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.2516, allocations: 0.7293 MB / 415.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.2518, allocations: 87.89 kB / 415.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.252, allocations: 194 kB / 415.4 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.253, allocations: 0.8553 MB / 416.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.253, allocations: 1.312 kB / 416.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.253, allocations: 0 / 416.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.253, allocations: 0 / 416.3 MB, free: 4.594 MB / 334.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.0008561/0.2539, allocations: 0.6445 MB / 416.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2539, allocations: 8.781 kB / 416.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004468/0.2544, allocations: 53.61 kB / 417 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.2548, allocations: 293.7 kB / 417.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.2548, allocations: 24.78 kB / 417.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.2549, allocations: 29.5 kB / 417.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.2553, allocations: 334.3 kB / 417.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2553, allocations: 1.094 kB / 417.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.2554, allocations: 19.34 kB / 417.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.2554, allocations: 7.938 kB / 417.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.2557, allocations: 207.7 kB / 417.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.2681, allocations: 5.917 MB / 423.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.2684, allocations: 175.5 kB / 424 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.2685, allocations: 92.55 kB / 424 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.2793, allocations: 3.883 MB / 427.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2793, allocations: 34.56 kB / 428 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.2793, allocations: 0 / 428 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006229/0.2856, allocations: 1.413 MB / 429.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.2856, allocations: 63.34 kB / 429.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.2859, allocations: 258.6 kB / 429.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.2859, allocations: 25.7 kB / 429.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.286, allocations: 196 kB / 429.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.358e-05/0.2861, allocations: 94.64 kB / 430 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.954e-05/0.2862, allocations: 61.7 kB / 430.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2863, allocations: 338.8 kB / 430.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.2865, allocations: 95.67 kB / 430.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.2867, allocations: 194.9 kB / 430.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.2871, allocations: 303 kB / 431 MB, free: 7.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2871, allocations: 0 / 431 MB, free: 7.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006685/0.2878, allocations: 398.9 kB / 431.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2878, allocations: 8 kB / 431.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2878, allocations: 0 / 431.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004274/0.2921, allocations: 0.9378 MB / 432.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.2924, allocations: 67.91 kB / 432.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.2938, allocations: 1.974 MB / 434.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.294, allocations: 12.16 kB / 434.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.294, allocations: 19.98 kB / 434.4 MB, free: 3.828 MB / 350.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.0001426/0.2942, allocations: 151.1 kB / 434.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.2943, allocations: 35.56 kB / 434.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000686/0.295, allocations: 494.6 kB / 435 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006433/0.2956, allocations: 0.7166 MB / 435.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2956, allocations: 4 kB / 435.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.2957, allocations: 96.83 kB / 435.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.2957, allocations: 8 kB / 435.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.2959, allocations: 6.375 kB / 435.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.296, allocations: 16.67 kB / 435.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008181/0.2968, allocations: 0.5092 MB / 436.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007608/0.2976, allocations: 0.709 MB / 437.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000203/0.2978, allocations: 176.6 kB / 437.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.2979, allocations: 186 kB / 437.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of Backend: time 4.01e-07/0.298, allocations: 0 / 437.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.2993, allocations: 0.5826 MB / 438 MB, free: 15.99 MB / 366.1 MB Notification: Performance of SimCode: time 0.001435/0.3008, allocations: 1.215 MB / 439.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Templates: time 0.01513/0.3159, allocations: 10.03 MB / 449.3 MB, free: 4.691 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches