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.0009958/0.0009959, allocations: 116 kB / 17.69 MB, free: 5.312 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.0009718/0.0009719, allocations: 191 kB / 18.63 MB, free: 4.379 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.288/1.288, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 55.5 kB / 302.1 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1057, allocations: 49.45 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1761/0.2818, allocations: 27.03 MB / 378.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003698/0.2856, allocations: 4.166 MB / 382.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.2858, allocations: 2.75 kB / 382.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.2863, allocations: 211.9 kB / 382.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005435/0.2869, allocations: 330.3 kB / 383.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.2902, allocations: 1.47 MB / 384.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009375/0.2912, allocations: 0.885 MB / 385.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.2913, allocations: 102.8 kB / 385.7 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005471/0.2968, allocations: 4.049 MB / 389.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.2971, allocations: 274.7 kB / 390 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.2972, allocations: 31.59 kB / 390 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.2984, allocations: 0.7294 MB / 390.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.2985, allocations: 94.64 kB / 390.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.2987, allocations: 193.8 kB / 391 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008952/0.2996, allocations: 0.856 MB / 391.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2996, allocations: 0 / 391.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2996, allocations: 1.125 kB / 391.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2997, allocations: 0 / 391.9 MB, free: 7.828 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.0007477/0.3004, allocations: 0.6479 MB / 392.5 MB, free: 7.301 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3004, allocations: 12.03 kB / 392.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/0.3009, allocations: 57.5 kB / 392.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.3012, allocations: 296.8 kB / 392.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3013, allocations: 20 kB / 392.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.3013, allocations: 29.34 kB / 393 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.3017, allocations: 341.8 kB / 393.3 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3018, allocations: 1.125 kB / 393.3 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.3018, allocations: 11.69 kB / 393.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3018, allocations: 8.594 kB / 393.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.3021, allocations: 208.7 kB / 393.5 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.313, allocations: 5.92 MB / 399.4 MB, free: 1.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.3133, allocations: 173.6 kB / 399.6 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.3134, allocations: 89.08 kB / 399.7 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009418/0.3229, allocations: 3.889 MB / 403.6 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.3229, allocations: 33.09 kB / 403.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.993e-06/0.3229, allocations: 3.938 kB / 403.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.005968/0.3289, allocations: 1.409 MB / 405 MB, free: 14.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.3289, allocations: 55.41 kB / 405.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.3292, allocations: 264.2 kB / 405.3 MB, free: 13.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3292, allocations: 37.58 kB / 405.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3293, allocations: 187.3 kB / 405.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.3294, allocations: 93.67 kB / 405.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.552e-05/0.3295, allocations: 69.59 kB / 405.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3296, allocations: 342.8 kB / 406 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.3298, allocations: 83.97 kB / 406.1 MB, free: 13.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.33, allocations: 190.9 kB / 406.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.3304, allocations: 299 kB / 406.6 MB, free: 12.53 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3304, allocations: 4 kB / 406.6 MB, free: 12.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006314/0.331, allocations: 394.7 kB / 407 MB, free: 12.13 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.331, allocations: 8 kB / 407 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3311, allocations: 384 / 407 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/0.335, allocations: 0.9361 MB / 407.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.3353, allocations: 68.66 kB / 408 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.3367, allocations: 1.978 MB / 410 MB, free: 8.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.3369, allocations: 8 kB / 410 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.337, allocations: 16 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.0001493/0.3371, allocations: 165.8 kB / 410.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.3372, allocations: 31.66 kB / 410.2 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006709/0.3379, allocations: 484.3 kB / 410.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.3379, allocations: 9.109 kB / 410.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.3379, allocations: 0 / 410.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005935/0.3385, allocations: 0.7207 MB / 411.4 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.3397, allocations: 0.9458 MB / 412.4 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.3397, allocations: 4 kB / 412.4 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.3399, allocations: 39.97 kB / 412.4 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.3415, allocations: 316.5 kB / 412.7 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.3416, allocations: 7.984 kB / 412.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004362/0.342, allocations: 0.6542 MB / 413.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.342, allocations: 3.984 kB / 413.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008317/0.3429, allocations: 0.7254 MB / 414.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.3429, allocations: 104.8 kB / 414.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.343, allocations: 15.94 kB / 414.2 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3432, allocations: 7.938 kB / 414.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.3432, allocations: 11.98 kB / 414.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.3432, allocations: 15.98 kB / 414.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.3434, allocations: 186 kB / 414.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3434, allocations: 0 / 414.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006802/0.3441, allocations: 183.9 kB / 414.6 MB, free: 4.113 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.0005166/0.3446, allocations: 272.8 kB / 414.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007104/0.3453, allocations: 459.1 kB / 415.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3454, allocations: 4 kB / 415.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004845/0.3458, allocations: 235.7 kB / 415.6 MB, free: 3.141 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008366/0.3467, allocations: 173.3 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.001099/0.3478, allocations: 0.7785 MB / 416.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.3481, allocations: 0.7798 MB / 417.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.3483, allocations: 54.92 kB / 417.3 MB, free: 1.305 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.3484, allocations: 27.44 kB / 417.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3484, allocations: 0 / 417.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of Templates: time 0.01452/0.3629, allocations: 9.92 MB / 427.3 MB, free: 7.43 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 cvode -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