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.001194/0.001194, allocations: 109.4 kB / 17.74 MB, free: 5.23 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.001174/0.001174, allocations: 183.1 kB / 18.66 MB, free: 4.312 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.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 47.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2636, allocations: 49.43 MB / 401.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02735/0.291, allocations: 27.05 MB / 428.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004778/0.2958, allocations: 4.159 MB / 432.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.2961, allocations: 7.938 kB / 432.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006544/0.2968, allocations: 202.7 kB / 432.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006629/0.2975, allocations: 342.1 kB / 433.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004264/0.3017, allocations: 1.46 MB / 434.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.3029, allocations: 0.8912 MB / 435.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.3032, allocations: 108.6 kB / 435.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006524/0.3097, allocations: 4.065 MB / 439.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005728/0.3103, allocations: 278.9 kB / 440 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.3104, allocations: 32 kB / 440 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.3122, allocations: 0.722 MB / 440.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.3124, allocations: 95.72 kB / 440.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.3127, allocations: 195.2 kB / 441 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.3146, allocations: 0.8495 MB / 441.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3147, allocations: 0 / 441.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3147, allocations: 0 / 441.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.3147, allocations: 4 kB / 441.8 MB, free: 0.4922 MB / 350.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.001408/0.3161, allocations: 0.6432 MB / 442.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3162, allocations: 12.03 kB / 442.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005622/0.3167, allocations: 56.53 kB / 442.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/0.3172, allocations: 292.4 kB / 442.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.3173, allocations: 16.94 kB / 442.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.3173, allocations: 32.28 kB / 442.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.3179, allocations: 354.5 kB / 443.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3179, allocations: 3.984 kB / 443.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.3179, allocations: 12 kB / 443.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.318, allocations: 8 kB / 443.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.3183, allocations: 206 kB / 443.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01252/0.3308, allocations: 5.893 MB / 449.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.3312, allocations: 183.9 kB / 449.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.3313, allocations: 84.84 kB / 449.6 MB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.3416, allocations: 3.893 MB / 453.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.3416, allocations: 30.56 kB / 453.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.204e-06/0.3416, allocations: 8 kB / 453.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.00643/0.3481, allocations: 1.412 MB / 455 MB, free: 2.363 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.3482, allocations: 55.41 kB / 455 MB, free: 2.297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.3485, allocations: 258.6 kB / 455.3 MB, free: 2.035 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.3485, allocations: 29.7 kB / 455.3 MB, free: 2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3487, allocations: 192 kB / 455.5 MB, free: 1.809 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.3487, allocations: 90.66 kB / 455.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-05/0.3489, allocations: 65.61 kB / 455.6 MB, free: 1.648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.349, allocations: 338.8 kB / 456 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.3491, allocations: 99.67 kB / 456.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.3493, allocations: 190.9 kB / 456.2 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.3497, allocations: 303 kB / 456.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3497, allocations: 0 / 456.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006819/0.3504, allocations: 394.7 kB / 456.9 MB, free: 256 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.3505, allocations: 8 kB / 456.9 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3505, allocations: 0 / 456.9 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00403/0.3545, allocations: 0.9415 MB / 457.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.3548, allocations: 63.91 kB / 457.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.3565, allocations: 1.982 MB / 459.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.3567, allocations: 11.94 kB / 459.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.3568, allocations: 16 kB / 459.9 MB, free: 13.07 MB / 382.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.0002073/0.357, allocations: 154 kB / 460.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.3571, allocations: 35.64 kB / 460.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007482/0.3578, allocations: 495.4 kB / 460.6 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.3579, allocations: 4 kB / 460.6 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3579, allocations: 3.984 kB / 460.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006892/0.3586, allocations: 0.72 MB / 461.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.3599, allocations: 0.9419 MB / 462.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.3599, allocations: 4 kB / 462.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.3601, allocations: 47.91 kB / 462.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/0.3618, allocations: 316.4 kB / 462.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.3619, allocations: 4 kB / 462.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005127/0.3624, allocations: 0.646 MB / 463.3 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3624, allocations: 4.062 kB / 463.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000919/0.3634, allocations: 0.7287 MB / 464 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.3635, allocations: 104.7 kB / 464.1 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.3636, allocations: 15.98 kB / 464.1 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.3637, allocations: 4 kB / 464.1 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.3638, allocations: 19.98 kB / 464.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.3638, allocations: 15.98 kB / 464.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.364, allocations: 182 kB / 464.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.364, allocations: 0 / 464.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007306/0.3648, allocations: 187.9 kB / 464.5 MB, free: 8.219 MB / 382.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.0007022/0.3655, allocations: 263 kB / 464.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000927/0.3664, allocations: 454.6 kB / 465.2 MB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3664, allocations: 3.938 kB / 465.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005253/0.367, allocations: 240.3 kB / 465.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.368, allocations: 176.1 kB / 465.7 MB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.3694, allocations: 0.8236 MB / 466.5 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3697, allocations: 0.776 MB / 467.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.3698, allocations: 35.44 kB / 467.3 MB, free: 5.398 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3698, allocations: 0 / 467.3 MB, free: 5.398 MB / 382.1 MB Notification: Performance of Templates: time 0.01255/0.3824, allocations: 8.415 MB / 475.7 MB, free: 12.99 MB / 398.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