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.001449/0.001449, allocations: 109.3 kB / 18.4 MB, free: 4.676 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.001965/0.001965, allocations: 185.3 kB / 19.33 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.431/1.431, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001361/0.001361, allocations: 59.91 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08686/0.08823, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1944/0.2827, allocations: 27.05 MB / 402.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005507/0.2882, allocations: 4.16 MB / 407 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000467/0.2887, allocations: 8.375 kB / 407 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008555/0.2896, allocations: 203.2 kB / 407.2 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.2907, allocations: 339.8 kB / 407.6 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00545/0.2962, allocations: 1.473 MB / 409.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.2976, allocations: 0.884 MB / 409.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.2979, allocations: 107 kB / 410 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007514/0.3054, allocations: 4.057 MB / 414.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006233/0.3061, allocations: 271.3 kB / 414.4 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.3062, allocations: 30.94 kB / 414.4 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.3083, allocations: 0.7249 MB / 415.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.3085, allocations: 96.62 kB / 415.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.3089, allocations: 195.2 kB / 415.4 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.3108, allocations: 0.8512 MB / 416.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3108, allocations: 4 kB / 416.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3108, allocations: 0 / 416.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.3108, allocations: 1.125 kB / 416.3 MB, free: 4.562 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.001287/0.3121, allocations: 0.6362 MB / 416.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3122, allocations: 9.281 kB / 416.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005413/0.3127, allocations: 57.2 kB / 417 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/0.3133, allocations: 299 kB / 417.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.3133, allocations: 20.05 kB / 417.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.3134, allocations: 30.5 kB / 417.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.3139, allocations: 341.9 kB / 417.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.3139, allocations: 1.188 kB / 417.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.314, allocations: 16.33 kB / 417.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.314, allocations: 6.781 kB / 417.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.3143, allocations: 207.5 kB / 417.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.3274, allocations: 5.912 MB / 423.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.3278, allocations: 183.1 kB / 424 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.328, allocations: 84.3 kB / 424 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/0.3385, allocations: 3.885 MB / 427.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.3386, allocations: 43.42 kB / 428 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.625e-06/0.3387, allocations: 0 / 428 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006524/0.3452, allocations: 1.411 MB / 429.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.3453, allocations: 55.34 kB / 429.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.3456, allocations: 258.6 kB / 429.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.3456, allocations: 37.64 kB / 429.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.3457, allocations: 184 kB / 429.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/0.3458, allocations: 94.64 kB / 430 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.3459, allocations: 65.7 kB / 430.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3461, allocations: 338.8 kB / 430.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.3462, allocations: 95.73 kB / 430.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.3464, allocations: 190.9 kB / 430.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.3468, allocations: 303 kB / 431 MB, free: 7.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3468, allocations: 0 / 431 MB, free: 7.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007246/0.3476, allocations: 402.6 kB / 431.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3476, allocations: 4 kB / 431.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3476, allocations: 4 kB / 431.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004091/0.3517, allocations: 0.9381 MB / 432.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.3521, allocations: 65.78 kB / 432.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.3536, allocations: 1.985 MB / 434.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.3539, allocations: 12 kB / 434.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.354, allocations: 12 kB / 434.4 MB, free: 3.797 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.0001896/0.3542, allocations: 151.1 kB / 434.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.429e-05/0.3543, allocations: 31.56 kB / 434.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007483/0.355, allocations: 0.4909 MB / 435 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.355, allocations: 4 kB / 435 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3551, allocations: 3.875 kB / 435 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006326/0.3557, allocations: 0.7127 MB / 435.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.357, allocations: 0.9457 MB / 436.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.357, allocations: 0 / 436.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.3572, allocations: 52 kB / 436.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.359, allocations: 312.2 kB / 437.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.359, allocations: 8 kB / 437.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004853/0.3595, allocations: 0.6499 MB / 437.7 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3595, allocations: 4.031 kB / 437.7 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000915/0.3604, allocations: 0.7184 MB / 438.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.3606, allocations: 108.6 kB / 438.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.934e-05/0.3606, allocations: 4 kB / 438.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3609, allocations: 16.11 kB / 438.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.3609, allocations: 11.98 kB / 438.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.3609, allocations: 15.98 kB / 438.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.3611, allocations: 178 kB / 438.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3611, allocations: 0 / 438.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007741/0.3619, allocations: 191.9 kB / 439 MB, free: 14.97 MB / 366.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.0007428/0.3627, allocations: 266.8 kB / 439.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008808/0.3636, allocations: 462.1 kB / 439.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.3636, allocations: 0 / 439.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005221/0.3641, allocations: 236.6 kB / 439.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.3652, allocations: 178.9 kB / 440.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.3665, allocations: 0.8166 MB / 440.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3668, allocations: 0.7721 MB / 441.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.3669, allocations: 35.44 kB / 441.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3669, allocations: 0 / 441.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01182/0.3788, allocations: 8.425 MB / 450.1 MB, free: 3.719 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