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.001687/0.001687, allocations: 116.3 kB / 17.07 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.001782/0.001782, 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.376/1.376, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009909/0.000991, allocations: 47.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.234, allocations: 49.43 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02692/0.2609, allocations: 27.04 MB / 427.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004861/0.2658, allocations: 4.155 MB / 431.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.2661, allocations: 7.938 kB / 431.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.2669, allocations: 202.7 kB / 432.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007715/0.2676, allocations: 342.1 kB / 432.5 MB, free: 9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004747/0.2724, allocations: 1.471 MB / 433.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009612/0.2734, allocations: 0.8834 MB / 434.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.2736, allocations: 108.6 kB / 434.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00597/0.2796, allocations: 4.069 MB / 439 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004176/0.28, allocations: 278.9 kB / 439.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/0.2801, allocations: 35.94 kB / 439.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.2815, allocations: 0.7181 MB / 440 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.2817, allocations: 99.7 kB / 440.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.2819, allocations: 195.2 kB / 440.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.2834, allocations: 0.8456 MB / 441.2 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2834, allocations: 0 / 441.2 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2834, allocations: 0 / 441.2 MB, free: 308 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.2834, allocations: 0 / 441.2 MB, free: 308 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.0009894/0.2844, allocations: 0.6471 MB / 441.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2844, allocations: 8.031 kB / 441.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00047/0.2849, allocations: 64.53 kB / 441.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.2854, allocations: 288.3 kB / 442.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.2854, allocations: 20.94 kB / 442.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.2855, allocations: 32.22 kB / 442.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.286, allocations: 342.6 kB / 442.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.286, allocations: 3.938 kB / 442.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.286, allocations: 16 kB / 442.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.2861, allocations: 8 kB / 442.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.2864, allocations: 214 kB / 442.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.2993, allocations: 5.904 MB / 448.7 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.2997, allocations: 180.1 kB / 448.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.2998, allocations: 84.84 kB / 448.9 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.3107, allocations: 3.897 MB / 452.8 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3108, allocations: 30.56 kB / 452.9 MB, free: 3.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.763e-06/0.3108, allocations: 0 / 452.9 MB, free: 3.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006579/0.3174, allocations: 1.416 MB / 454.3 MB, free: 2.156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.3174, allocations: 55.41 kB / 454.3 MB, free: 2.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.3177, allocations: 254.6 kB / 454.6 MB, free: 1.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.3178, allocations: 33.7 kB / 454.6 MB, free: 1.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.3179, allocations: 188.1 kB / 454.8 MB, free: 1.605 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.318, allocations: 98.59 kB / 454.9 MB, free: 1.508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.736e-05/0.3181, allocations: 69.61 kB / 455 MB, free: 1.434 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3182, allocations: 334.8 kB / 455.3 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.3184, allocations: 95.75 kB / 455.4 MB, free: 1.004 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.3186, allocations: 190.9 kB / 455.6 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.319, allocations: 291 kB / 455.9 MB, free: 464 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.319, allocations: 0 / 455.9 MB, free: 464 kB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006801/0.3197, allocations: 402.7 kB / 456.3 MB, free: 48 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3197, allocations: 6.5 kB / 456.3 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3198, allocations: 4 kB / 456.3 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004428/0.3242, allocations: 0.9363 MB / 457.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.3245, allocations: 71.84 kB / 457.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.326, allocations: 1.985 MB / 459.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.3263, allocations: 8 kB / 459.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.3263, allocations: 16 kB / 459.3 MB, free: 12.86 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.0001639/0.3265, allocations: 154.1 kB / 459.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.3265, allocations: 27.66 kB / 459.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007222/0.3273, allocations: 495.4 kB / 459.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3273, allocations: 7.984 kB / 459.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.3273, allocations: 0 / 459.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006582/0.328, allocations: 0.7278 MB / 460.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.3292, allocations: 0.9419 MB / 461.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3293, allocations: 48 / 461.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.3295, allocations: 55.83 kB / 461.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/0.3313, allocations: 312.4 kB / 462 MB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.3313, allocations: 11.98 kB / 462 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004901/0.3318, allocations: 0.6382 MB / 462.6 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3318, allocations: 4.031 kB / 462.6 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009238/0.3327, allocations: 0.7287 MB / 463.4 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-05/0.3328, allocations: 116.7 kB / 463.5 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.3329, allocations: 4 kB / 463.5 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.3331, allocations: 8 kB / 463.5 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.3331, allocations: 11.98 kB / 463.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.3332, allocations: 15.98 kB / 463.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.3333, allocations: 178 kB / 463.7 MB, free: 8.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3334, allocations: 0 / 463.7 MB, free: 8.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006336/0.334, allocations: 187.9 kB / 463.9 MB, free: 8.023 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.0006069/0.3346, allocations: 278.9 kB / 464.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000805/0.3354, allocations: 455.1 kB / 464.6 MB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.3354, allocations: 4 kB / 464.6 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005182/0.336, allocations: 231.8 kB / 464.8 MB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009791/0.337, allocations: 175.6 kB / 465 MB, free: 6.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.3382, allocations: 0.7912 MB / 465.8 MB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.3386, allocations: 0.7838 MB / 466.6 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.3388, allocations: 38.97 kB / 466.6 MB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.3389, allocations: 31.42 kB / 466.6 MB, free: 5.191 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3389, allocations: 4 kB / 466.6 MB, free: 5.188 MB / 382.1 MB Notification: Performance of Templates: time 0.01669/0.3556, allocations: 9.998 MB / 476.6 MB, free: 11.26 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