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.001119/0.001119, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001093/0.001093, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.33/1.33, allocations: 222.9 MB / 241.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001089, allocations: 37.72 kB / 300.6 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09227/0.09339, allocations: 49.45 MB / 350.1 MB, free: 4.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2012/0.2946, allocations: 27.27 MB / 377.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004287/0.299, allocations: 4.21 MB / 381.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.2992, allocations: 2.75 kB / 381.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006291/0.2999, allocations: 176.6 kB / 381.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.3006, allocations: 335.7 kB / 382 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004054/0.3046, allocations: 1.24 MB / 383.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.3064, allocations: 1.338 MB / 384.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.3066, allocations: 71.34 kB / 384.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007866/0.3145, allocations: 4.21 MB / 388.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004235/0.315, allocations: 286 kB / 389.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.315, allocations: 16.62 kB / 389.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.3166, allocations: 0.7003 MB / 389.9 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.3167, allocations: 80.95 kB / 390 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.317, allocations: 186.1 kB / 390.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008451/0.3178, allocations: 0.6111 MB / 390.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3178, allocations: 1.125 kB / 390.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3178, allocations: 0 / 390.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3179, allocations: 0 / 390.8 MB, free: 7.555 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.0008978/0.3188, allocations: 0.6479 MB / 391.4 MB, free: 7.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3188, allocations: 10.19 kB / 391.4 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004538/0.3193, allocations: 58.66 kB / 391.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.3196, allocations: 284.4 kB / 391.8 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.3196, allocations: 23.31 kB / 391.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.3197, allocations: 29.81 kB / 391.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.3201, allocations: 339.8 kB / 392.1 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.3202, allocations: 2.438 kB / 392.1 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.3202, allocations: 16.34 kB / 392.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3202, allocations: 6.469 kB / 392.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.3205, allocations: 211.3 kB / 392.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.3321, allocations: 5.911 MB / 398.3 MB, free: 1.785 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.3324, allocations: 185.7 kB / 398.5 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.3325, allocations: 88.83 kB / 398.6 MB, free: 1.637 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009877/0.3424, allocations: 3.882 MB / 402.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.3425, allocations: 37.28 kB / 402.5 MB, free: 14.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.304e-06/0.3425, allocations: 0 / 402.5 MB, free: 14.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006476/0.349, allocations: 1.413 MB / 403.9 MB, free: 14.01 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.3491, allocations: 58.39 kB / 403.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.3494, allocations: 260.7 kB / 404.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.3494, allocations: 32.2 kB / 404.2 MB, free: 13.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3495, allocations: 182.5 kB / 404.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.3496, allocations: 93.55 kB / 404.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3497, allocations: 70.8 kB / 404.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3498, allocations: 336.7 kB / 404.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.35, allocations: 94.86 kB / 405 MB, free: 13.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.3502, allocations: 177.7 kB / 405.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.3506, allocations: 299.5 kB / 405.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3506, allocations: 3.031 kB / 405.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006798/0.3513, allocations: 405.8 kB / 405.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3513, allocations: 4 kB / 405.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3513, allocations: 4 kB / 405.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004294/0.3556, allocations: 0.933 MB / 406.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.3559, allocations: 75.78 kB / 406.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.3576, allocations: 1.88 MB / 408.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.3579, allocations: 19.94 kB / 408.8 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.358, allocations: 16 kB / 408.8 MB, free: 9.191 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.0001993/0.3582, allocations: 153.8 kB / 408.9 MB, free: 9.031 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.3583, allocations: 33.12 kB / 409 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007192/0.359, allocations: 494.8 kB / 409.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.359, allocations: 4 kB / 409.5 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.359, allocations: 4 kB / 409.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000641/0.3597, allocations: 0.7278 MB / 410.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.361, allocations: 0.9417 MB / 411.1 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.361, allocations: 0 / 411.1 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.3612, allocations: 35.98 kB / 411.2 MB, free: 6.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.363, allocations: 332.3 kB / 411.5 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.363, allocations: 11.94 kB / 411.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004933/0.3635, allocations: 0.6382 MB / 412.1 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3635, allocations: 0.875 kB / 412.1 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009386/0.3645, allocations: 0.7283 MB / 412.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.3646, allocations: 108.7 kB / 413 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.3647, allocations: 11.94 kB / 413 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.3649, allocations: 12.05 kB / 413 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.365, allocations: 23.92 kB / 413 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.365, allocations: 7.984 kB / 413 MB, free: 4.715 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.3652, allocations: 190 kB / 413.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3652, allocations: 0 / 413.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007933/0.366, allocations: 183.9 kB / 413.4 MB, free: 4.348 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.0007747/0.3668, allocations: 276.8 kB / 413.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008012/0.3676, allocations: 450.1 kB / 414.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3676, allocations: 0.75 kB / 414.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.3681, allocations: 227.9 kB / 414.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3691, allocations: 171.7 kB / 414.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.3705, allocations: 0.9508 MB / 415.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.3709, allocations: 0.7801 MB / 416.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.371, allocations: 31.42 kB / 416.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.371, allocations: 0 / 416.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of Templates: time 0.01233/0.3834, allocations: 8.392 MB / 424.6 MB, free: 9.043 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 -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