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.001277/0.001277, allocations: 110 kB / 17.68 MB, free: 5.332 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.001273/0.001273, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.298/1.298, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009763/0.0009763, allocations: 47.78 kB / 302 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08492/0.08592, allocations: 49.46 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1689/0.2549, allocations: 27.01 MB / 378.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.2587, allocations: 4.164 MB / 382.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.2589, allocations: 4.188 kB / 382.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.2595, allocations: 206.2 kB / 382.9 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000541/0.26, allocations: 337.3 kB / 383.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.2633, allocations: 1.469 MB / 384.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008665/0.2642, allocations: 0.8835 MB / 385.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.2644, allocations: 101.3 kB / 385.7 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005541/0.2699, allocations: 4.053 MB / 389.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.2703, allocations: 279.8 kB / 390 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.2703, allocations: 31.69 kB / 390 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.2716, allocations: 0.7203 MB / 390.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.2717, allocations: 99.78 kB / 390.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.2718, allocations: 203 kB / 391 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000899/0.2728, allocations: 0.8467 MB / 391.9 MB, free: 7.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2728, allocations: 0 / 391.9 MB, free: 7.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2728, allocations: 1.094 kB / 391.9 MB, free: 7.801 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.2728, allocations: 0 / 391.9 MB, free: 7.801 MB / 302.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.0007458/0.2735, allocations: 0.6469 MB / 392.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.2736, allocations: 9.719 kB / 392.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.274, allocations: 54.02 kB / 392.6 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.2744, allocations: 300 kB / 392.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.2744, allocations: 24.31 kB / 392.9 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.2745, allocations: 25.84 kB / 392.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.2749, allocations: 342.9 kB / 393.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2749, allocations: 6.391 kB / 393.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.2749, allocations: 11.09 kB / 393.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.275, allocations: 11.31 kB / 393.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.2753, allocations: 207.4 kB / 393.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.2863, allocations: 5.917 MB / 399.4 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.2866, allocations: 174.6 kB / 399.6 MB, free: 1.828 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.2867, allocations: 90.58 kB / 399.7 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009576/0.2963, allocations: 3.891 MB / 403.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.2964, allocations: 37.28 kB / 403.6 MB, free: 15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.993e-06/0.2964, allocations: 3.938 kB / 403.6 MB, free: 15 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006145/0.3025, allocations: 1.406 MB / 405 MB, free: 14.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.3026, allocations: 53.5 kB / 405.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.3028, allocations: 262.7 kB / 405.3 MB, free: 13.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.3029, allocations: 32.2 kB / 405.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.303, allocations: 183.8 kB / 405.5 MB, free: 13.67 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.3031, allocations: 94.12 kB / 405.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.454e-05/0.3032, allocations: 69.95 kB / 405.7 MB, free: 13.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3033, allocations: 342.8 kB / 406 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.3035, allocations: 91.95 kB / 406.1 MB, free: 13.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.3037, allocations: 186.8 kB / 406.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.3041, allocations: 299 kB / 406.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3041, allocations: 4 kB / 406.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006574/0.3047, allocations: 394.7 kB / 407 MB, free: 12.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3048, allocations: 8 kB / 407 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3048, allocations: 4.875 kB / 407 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003995/0.3088, allocations: 0.9402 MB / 407.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.3091, allocations: 71.84 kB / 408 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.3106, allocations: 1.974 MB / 410 MB, free: 8.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.3108, allocations: 8 kB / 410 MB, free: 8.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.3109, allocations: 19.98 kB / 410 MB, free: 8.957 MB / 318.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.0001692/0.311, allocations: 161.7 kB / 410.2 MB, free: 8.789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.3111, allocations: 35.66 kB / 410.2 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007019/0.3118, allocations: 484.4 kB / 410.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3118, allocations: 4 kB / 410.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.3118, allocations: 0 / 410.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006336/0.3125, allocations: 0.7245 MB / 411.4 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.3137, allocations: 0.9536 MB / 412.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3137, allocations: 0 / 412.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.314, allocations: 51.91 kB / 412.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/0.3156, allocations: 308.5 kB / 412.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.3157, allocations: 8 kB / 412.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005626/0.3163, allocations: 0.646 MB / 413.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3163, allocations: 0 / 413.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009161/0.3172, allocations: 0.7253 MB / 414.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/0.3173, allocations: 100.9 kB / 414.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.3173, allocations: 15.94 kB / 414.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3175, allocations: 4 kB / 414.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.3176, allocations: 19.97 kB / 414.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.3176, allocations: 8 kB / 414.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.3178, allocations: 186 kB / 414.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3178, allocations: 0 / 414.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007123/0.3185, allocations: 187.9 kB / 414.6 MB, free: 4.121 MB / 318.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.0005558/0.3191, allocations: 282.8 kB / 414.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007702/0.3198, allocations: 458.3 kB / 415.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3198, allocations: 0.75 kB / 415.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005039/0.3204, allocations: 231.8 kB / 415.5 MB, free: 3.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009119/0.3213, allocations: 173.7 kB / 415.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.3225, allocations: 0.782 MB / 416.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.3228, allocations: 0.776 MB / 417.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.323, allocations: 50.94 kB / 417.3 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.323, allocations: 27.44 kB / 417.4 MB, free: 1.281 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.323, allocations: 0 / 417.4 MB, free: 1.281 MB / 318.1 MB Notification: Performance of Templates: time 0.0151/0.3381, allocations: 9.915 MB / 427.3 MB, free: 7.441 MB / 334.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 -s gbode -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