Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 107.5 kB / 16.92 MB, free: 6.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.001715/0.001715, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.295/1.295, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 49.77 kB / 300.6 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09993, allocations: 49.44 MB / 350 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1855/0.2855, allocations: 37.42 MB / 387.5 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00458/0.2901, allocations: 4.573 MB / 392 MB, free: 3.621 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.2904, allocations: 9.25 kB / 392 MB, free: 3.617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008314/0.2913, allocations: 292.2 kB / 392.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008034/0.2921, allocations: 484.1 kB / 392.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004063/0.2962, allocations: 1.644 MB / 394.5 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.2975, allocations: 1.271 MB / 395.7 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.2977, allocations: 173.8 kB / 395.9 MB, free: 1.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000566/0.2983, allocations: 471.4 kB / 396.4 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.2988, allocations: 403.1 kB / 396.7 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.716e-05/0.2988, allocations: 44.72 kB / 396.8 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.3003, allocations: 0.7511 MB / 397.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.3005, allocations: 139.7 kB / 397.7 MB, free: 1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.3007, allocations: 278 kB / 397.9 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.302, allocations: 1.046 MB / 399 MB, free: 296 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.302, allocations: 1.062 kB / 399 MB, free: 296 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.302, allocations: 0 / 399 MB, free: 296 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.302, allocations: 0 / 399 MB, free: 296 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001347/0.3034, allocations: 0.7818 MB / 399.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.3034, allocations: 8.375 kB / 399.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006365/0.3041, allocations: 82.19 kB / 399.9 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.3046, allocations: 328.5 kB / 400.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.3046, allocations: 33.41 kB / 400.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.3047, allocations: 38.28 kB / 400.3 MB, free: 15.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.3053, allocations: 474 kB / 400.7 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.3053, allocations: 10.77 kB / 400.7 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.3054, allocations: 15.88 kB / 400.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.3054, allocations: 11.44 kB / 400.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.3059, allocations: 314.8 kB / 401.1 MB, free: 14.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.3194, allocations: 6.732 MB / 407.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.3198, allocations: 272.3 kB / 408.1 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.3201, allocations: 155.1 kB / 408.2 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.3303, allocations: 3.883 MB / 412.1 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.3304, allocations: 46.55 kB / 412.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 4.338e-06/0.3304, allocations: 0 / 412.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01166/0.342, allocations: 2.459 MB / 414.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.3421, allocations: 63.34 kB / 414.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.3424, allocations: 303.2 kB / 415 MB, free: 3.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.3425, allocations: 29.7 kB / 415 MB, free: 3.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.3426, allocations: 232 kB / 415.2 MB, free: 2.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.3428, allocations: 165.7 kB / 415.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.3429, allocations: 94.16 kB / 415.5 MB, free: 2.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.343, allocations: 346.8 kB / 415.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.3433, allocations: 153.1 kB / 416 MB, free: 2.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.3436, allocations: 287.7 kB / 416.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/0.3442, allocations: 464.3 kB / 416.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3442, allocations: 4 kB / 416.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001004/0.3452, allocations: 0.5878 MB / 417.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3453, allocations: 11.94 kB / 417.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3453, allocations: 4 kB / 417.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007845/0.3531, allocations: 1.843 MB / 419.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.3536, allocations: 111.8 kB / 419.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.3555, allocations: 2.561 MB / 421.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.3558, allocations: 20.06 kB / 421.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.3558, allocations: 27.98 kB / 421.9 MB, free: 12.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002571/0.3561, allocations: 165.7 kB / 422 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.184e-05/0.3562, allocations: 35.72 kB / 422.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.3574, allocations: 0.8629 MB / 422.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.3574, allocations: 11.98 kB / 422.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.3574, allocations: 0 / 422.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/0.3584, allocations: 0.9573 MB / 423.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.3603, allocations: 1.5 MB / 425.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3604, allocations: 0 / 425.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.3607, allocations: 79.89 kB / 425.5 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003279/0.3639, allocations: 0.6218 MB / 426.1 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.364, allocations: 15.98 kB / 426.1 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008706/0.3649, allocations: 1.277 MB / 427.4 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3649, allocations: 3.938 kB / 427.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.3663, allocations: 1.227 MB / 428.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.3665, allocations: 120.5 kB / 428.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.3665, allocations: 4 kB / 428.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.3668, allocations: 12 kB / 428.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.3668, allocations: 39.88 kB / 428.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.3669, allocations: 19.98 kB / 428.8 MB, free: 4.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.3671, allocations: 209.9 kB / 429 MB, free: 4.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3671, allocations: 0 / 429 MB, free: 4.605 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008046/0.3679, allocations: 231.9 kB / 429.2 MB, free: 4.379 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005583/0.3685, allocations: 282 kB / 429.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.3698, allocations: 0.7104 MB / 430.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3698, allocations: 4 kB / 430.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008889/0.3707, allocations: 436.2 kB / 430.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.3719, allocations: 240.3 kB / 430.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.3737, allocations: 1.237 MB / 432.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.374, allocations: 0.8363 MB / 433 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.3743, allocations: 72.34 kB / 433 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.3744, allocations: 43.42 kB / 433.1 MB, free: 488 kB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3744, allocations: 0 / 433.1 MB, free: 488 kB / 334.1 MB Notification: Performance of Templates: time 0.01872/0.3931, allocations: 12.66 MB / 445.7 MB, free: 3.91 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches