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.001528/0.001528, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001745/0.001745, allocations: 195 kB / 18 MB, free: 5.074 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.315/1.315, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 47.94 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2306, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02511/0.2558, allocations: 27.04 MB / 427.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004473/0.2603, allocations: 4.159 MB / 431.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.2605, allocations: 4 kB / 431.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.2611, allocations: 198.7 kB / 432.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005872/0.2617, allocations: 342.1 kB / 432.5 MB, free: 9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003875/0.2656, allocations: 1.467 MB / 433.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008871/0.2665, allocations: 0.8872 MB / 434.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.2667, allocations: 112.6 kB / 434.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005394/0.2721, allocations: 4.057 MB / 439 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.2724, allocations: 278.9 kB / 439.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.2725, allocations: 32 kB / 439.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.2738, allocations: 0.722 MB / 440 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.274, allocations: 99.66 kB / 440.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.2742, allocations: 195.2 kB / 440.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.2752, allocations: 0.8452 MB / 441.1 MB, free: 316 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2752, allocations: 0 / 441.1 MB, free: 316 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2752, allocations: 4 kB / 441.2 MB, free: 312 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.2752, allocations: 0 / 441.2 MB, free: 312 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.0008588/0.2761, allocations: 0.6542 MB / 441.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2761, allocations: 15.91 kB / 441.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004621/0.2766, allocations: 60.72 kB / 441.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.277, allocations: 296.3 kB / 442.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.2771, allocations: 20.94 kB / 442.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.2771, allocations: 24.38 kB / 442.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.2776, allocations: 346.5 kB / 442.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2777, allocations: 3.938 kB / 442.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.2777, allocations: 16 kB / 442.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2777, allocations: 8 kB / 442.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.278, allocations: 206 kB / 442.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.2902, allocations: 5.908 MB / 448.7 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.2905, allocations: 178.6 kB / 448.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.2907, allocations: 84.84 kB / 448.9 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009977/0.3007, allocations: 3.9 MB / 452.8 MB, free: 3.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.3007, allocations: 34.56 kB / 452.9 MB, free: 3.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.834e-06/0.3007, allocations: 0 / 452.9 MB, free: 3.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006247/0.307, allocations: 1.409 MB / 454.3 MB, free: 2.148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.307, allocations: 55.41 kB / 454.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.3073, allocations: 262.6 kB / 454.6 MB, free: 1.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3073, allocations: 25.7 kB / 454.6 MB, free: 1.785 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3075, allocations: 204.4 kB / 454.8 MB, free: 1.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.3075, allocations: 95.17 kB / 454.9 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.536e-05/0.3076, allocations: 61.7 kB / 455 MB, free: 1.422 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3077, allocations: 334.8 kB / 455.3 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.3079, allocations: 99.73 kB / 455.4 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.3081, allocations: 190.8 kB / 455.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.3085, allocations: 295 kB / 455.9 MB, free: 444 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3085, allocations: 4 kB / 455.9 MB, free: 440 kB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000656/0.3092, allocations: 394.8 kB / 456.3 MB, free: 32 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3092, allocations: 11.94 kB / 456.3 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3092, allocations: 8 kB / 456.3 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004035/0.3133, allocations: 0.9355 MB / 457.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.3136, allocations: 71.91 kB / 457.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.315, allocations: 1.974 MB / 459.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.3153, allocations: 8 kB / 459.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.3153, allocations: 16 kB / 459.3 MB, free: 12.85 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.0001568/0.3154, allocations: 158.1 kB / 459.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.3155, allocations: 31.8 kB / 459.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007084/0.3162, allocations: 487.5 kB / 460 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3163, allocations: 7.984 kB / 460 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3163, allocations: 0 / 460 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006354/0.3169, allocations: 0.7316 MB / 460.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.3182, allocations: 0.9576 MB / 461.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3182, allocations: 0 / 461.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.3184, allocations: 47.91 kB / 461.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/0.3201, allocations: 312.5 kB / 462 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.3201, allocations: 11.98 kB / 462 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004523/0.3206, allocations: 0.6382 MB / 462.7 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3206, allocations: 3.938 kB / 462.7 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.3215, allocations: 0.7328 MB / 463.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.564e-05/0.3216, allocations: 101 kB / 463.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.3216, allocations: 11.98 kB / 463.5 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.3218, allocations: 4 kB / 463.5 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.3219, allocations: 15.98 kB / 463.5 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3219, allocations: 15.98 kB / 463.5 MB, free: 8.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.3221, allocations: 182 kB / 463.7 MB, free: 8.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3221, allocations: 0 / 463.7 MB, free: 8.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006397/0.3227, allocations: 191.7 kB / 463.9 MB, free: 7.992 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005917/0.3233, allocations: 270.8 kB / 464.2 MB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007881/0.3241, allocations: 455.1 kB / 464.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3241, allocations: 4 kB / 464.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.3246, allocations: 239.8 kB / 464.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009213/0.3256, allocations: 176.2 kB / 465 MB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.3268, allocations: 0.7979 MB / 465.8 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3271, allocations: 0.7799 MB / 466.6 MB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000194/0.3273, allocations: 46.95 kB / 466.6 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.3274, allocations: 27.42 kB / 466.7 MB, free: 5.148 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3274, allocations: 4 kB / 466.7 MB, free: 5.145 MB / 382.1 MB Notification: Performance of Templates: time 0.01522/0.3426, allocations: 10 MB / 476.7 MB, free: 11.21 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/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