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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 188.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 240.9 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009688/0.0009688, allocations: 97.7 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000779/0.000779, allocations: 35.95 kB / 350 MB, free: 96 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2066, allocations: 49.44 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01873/0.2254, allocations: 27.29 MB / 426.8 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00333/0.2288, allocations: 4.198 MB / 431 MB, free: 1.793 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.229, allocations: 4 kB / 431 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.2297, allocations: 183 kB / 431.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.2301, allocations: 326.4 kB / 431.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003122/0.2333, allocations: 1.237 MB / 432.7 MB, free: 56 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.2345, allocations: 1.344 MB / 434 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.2346, allocations: 72.64 kB / 434.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006565/0.2412, allocations: 4.207 MB / 438.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004063/0.2417, allocations: 286.8 kB / 438.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.2417, allocations: 20 kB / 438.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.2431, allocations: 0.7063 MB / 439.3 MB, free: 9.418 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.2432, allocations: 83.72 kB / 439.4 MB, free: 9.336 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.2435, allocations: 179.2 kB / 439.6 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.2445, allocations: 0.8338 MB / 440.4 MB, free: 8.324 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2445, allocations: 3.938 kB / 440.4 MB, free: 8.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2445, allocations: 0 / 440.4 MB, free: 8.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.2445, allocations: 0 / 440.4 MB, free: 8.32 MB / 314.7 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.0009041/0.2454, allocations: 0.6511 MB / 441.1 MB, free: 7.621 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2455, allocations: 8.031 kB / 441.1 MB, free: 7.613 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004174/0.2459, allocations: 60.53 kB / 441.1 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.2463, allocations: 283.7 kB / 441.4 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.2463, allocations: 20.92 kB / 441.4 MB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.2463, allocations: 32.38 kB / 441.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.2468, allocations: 338.6 kB / 441.8 MB, free: 6.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2468, allocations: 0 / 441.8 MB, free: 6.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.2469, allocations: 12 kB / 441.8 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.2469, allocations: 8 kB / 441.8 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.2472, allocations: 214 kB / 442 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.2599, allocations: 5.916 MB / 447.9 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.2603, allocations: 174.7 kB / 448.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.2604, allocations: 88.78 kB / 448.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/0.2706, allocations: 3.877 MB / 452.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.2707, allocations: 38.5 kB / 452.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.445e-06/0.2707, allocations: 0 / 452.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.006068/0.2768, allocations: 1.405 MB / 453.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.2768, allocations: 59.34 kB / 453.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.2771, allocations: 266.5 kB / 453.8 MB, free: 9.859 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.2772, allocations: 33.7 kB / 453.9 MB, free: 9.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.2773, allocations: 184 kB / 454 MB, free: 9.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.115e-05/0.2774, allocations: 94.73 kB / 454.1 MB, free: 9.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.2775, allocations: 69.39 kB / 454.2 MB, free: 9.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2776, allocations: 334.8 kB / 454.5 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.2777, allocations: 95.95 kB / 454.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.2779, allocations: 179.1 kB / 454.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.2783, allocations: 303.5 kB / 455.1 MB, free: 8.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2783, allocations: 4 kB / 455.1 MB, free: 8.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006471/0.279, allocations: 407.7 kB / 455.5 MB, free: 8.074 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.279, allocations: 4 kB / 455.5 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.279, allocations: 7.938 kB / 455.5 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004103/0.2831, allocations: 0.9333 MB / 456.4 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.2834, allocations: 67.91 kB / 456.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.2849, allocations: 1.875 MB / 458.4 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.2852, allocations: 28.08 kB / 458.4 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.2852, allocations: 16 kB / 458.4 MB, free: 4.992 MB / 330.7 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.0002068/0.2855, allocations: 153.7 kB / 458.6 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.2855, allocations: 31.62 kB / 458.6 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006951/0.2862, allocations: 496.4 kB / 459.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.2863, allocations: 11.92 kB / 459.1 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.2863, allocations: 0 / 459.1 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006296/0.2869, allocations: 0.7241 MB / 459.8 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.2881, allocations: 0.9494 MB / 460.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2881, allocations: 0 / 460.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.2883, allocations: 35.98 kB / 460.8 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.29, allocations: 324.3 kB / 461.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.29, allocations: 8 kB / 461.1 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004525/0.2905, allocations: 0.646 MB / 461.8 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2905, allocations: 0 / 461.8 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02562/0.3161, allocations: 11.61 MB / 473.4 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.3163, allocations: 104.8 kB / 473.5 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.3163, allocations: 7.984 kB / 473.5 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.3165, allocations: 19.88 kB / 473.5 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.3166, allocations: 24.09 kB / 473.5 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.3166, allocations: 8 kB / 473.6 MB, free: 5.238 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.3168, allocations: 186 kB / 473.7 MB, free: 5.059 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3168, allocations: 0 / 473.7 MB, free: 5.059 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00162/0.3184, allocations: 459.9 kB / 474.2 MB, free: 4.609 MB / 346.7 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.001812/0.3203, allocations: 499.1 kB / 474.7 MB, free: 4.113 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008277/0.3211, allocations: 454.5 kB / 475.1 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3211, allocations: 0 / 475.1 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005764/0.3217, allocations: 228.9 kB / 475.3 MB, free: 3.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.3227, allocations: 175.8 kB / 475.5 MB, free: 3.266 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.3248, allocations: 1.443 MB / 477 MB, free: 1.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.3252, allocations: 0.8004 MB / 477.8 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002956/0.3255, allocations: 54.94 kB / 477.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.091e-05/0.3256, allocations: 31.44 kB / 477.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3256, allocations: 3.938 kB / 477.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of Templates: time 0.03426/0.3599, allocations: 22.71 MB / 0.4888 GB, free: 10.26 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches