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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009064/0.0009064, allocations: 94.73 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007669/0.0007671, allocations: 39.94 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.192, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01943/0.2115, allocations: 27.31 MB / 401.1 MB, free: 22.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.2148, allocations: 4.198 MB / 405.3 MB, free: 17.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.2151, allocations: 4 kB / 405.3 MB, free: 17.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005443/0.2157, allocations: 179 kB / 405.5 MB, free: 17.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.2161, allocations: 330.3 kB / 405.8 MB, free: 17.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.2195, allocations: 1.233 MB / 407.1 MB, free: 16.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008434/0.2204, allocations: 1.34 MB / 408.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.2205, allocations: 85.67 kB / 408.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005172/0.2257, allocations: 4.211 MB / 412.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.226, allocations: 278.9 kB / 413 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.226, allocations: 20 kB / 413 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.2272, allocations: 0.7023 MB / 413.7 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.256e-05/0.2273, allocations: 79.72 kB / 413.8 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.2275, allocations: 179.3 kB / 413.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007655/0.2282, allocations: 0.83 MB / 414.8 MB, free: 8.453 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2282, allocations: 3.938 kB / 414.8 MB, free: 8.449 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.2283, allocations: 4 kB / 414.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.2283, allocations: 0 / 414.8 MB, free: 8.445 MB / 298.7 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.0007003/0.229, allocations: 0.651 MB / 415.4 MB, free: 7.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.229, allocations: 8.031 kB / 415.4 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000388/0.2294, allocations: 56.53 kB / 415.5 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.2297, allocations: 291.7 kB / 415.8 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2297, allocations: 20.94 kB / 415.8 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.2297, allocations: 24.38 kB / 415.8 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.2301, allocations: 342.6 kB / 416.2 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.2302, allocations: 0 / 416.2 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.2302, allocations: 12 kB / 416.2 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2302, allocations: 8 kB / 416.2 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.2305, allocations: 221.9 kB / 416.4 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.2406, allocations: 5.912 MB / 422.3 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.2409, allocations: 174.7 kB / 422.5 MB, free: 116 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.241, allocations: 92.83 kB / 422.6 MB, free: 20 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009905/0.2509, allocations: 3.885 MB / 426.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/0.251, allocations: 34.56 kB / 426.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.444e-06/0.251, allocations: 0 / 426.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.005762/0.2568, allocations: 1.408 MB / 427.9 MB, free: 10.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.2568, allocations: 63.41 kB / 428 MB, free: 10.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.2571, allocations: 266.5 kB / 428.2 MB, free: 9.965 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.2572, allocations: 29.7 kB / 428.2 MB, free: 9.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.2573, allocations: 180.2 kB / 428.4 MB, free: 9.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.326e-05/0.2574, allocations: 94.64 kB / 428.5 MB, free: 9.656 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/0.2575, allocations: 65.61 kB / 428.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2576, allocations: 338.8 kB / 428.9 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.2578, allocations: 91.95 kB / 429 MB, free: 9.156 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.258, allocations: 189.3 kB / 429.2 MB, free: 8.934 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.2584, allocations: 307.7 kB / 429.5 MB, free: 8.594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2584, allocations: 4 kB / 429.5 MB, free: 8.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006003/0.259, allocations: 394.8 kB / 429.9 MB, free: 8.191 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.259, allocations: 8 kB / 429.9 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.259, allocations: 7.938 kB / 429.9 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003769/0.2628, allocations: 0.9373 MB / 430.8 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.263, allocations: 71.84 kB / 430.9 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.2644, allocations: 1.871 MB / 432.8 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.2646, allocations: 32.08 kB / 432.8 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.2646, allocations: 12 kB / 432.8 MB, free: 5.102 MB / 314.7 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.0001504/0.2648, allocations: 153.8 kB / 433 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.2649, allocations: 23.72 kB / 433 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006552/0.2655, allocations: 0.4946 MB / 433.5 MB, free: 4.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.2655, allocations: 8 kB / 433.5 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.2656, allocations: 0 / 433.5 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005952/0.2662, allocations: 0.7198 MB / 434.2 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.2673, allocations: 0.9453 MB / 435.1 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2673, allocations: 0 / 435.1 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.2675, allocations: 43.98 kB / 435.2 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/0.2691, allocations: 316.3 kB / 435.5 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.2691, allocations: 8 kB / 435.5 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004458/0.2696, allocations: 0.6538 MB / 436.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2696, allocations: 4.031 kB / 436.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02377/0.2934, allocations: 11.6 MB / 447.8 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.2935, allocations: 108.7 kB / 447.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.2935, allocations: 11.98 kB / 447.9 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.2937, allocations: 12.12 kB / 447.9 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.2938, allocations: 19.97 kB / 447.9 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.2938, allocations: 8 kB / 447.9 MB, free: 5.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001836/0.294, allocations: 189.9 kB / 448.1 MB, free: 5.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.294, allocations: 0 / 448.1 MB, free: 5.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001341/0.2953, allocations: 467.9 kB / 448.6 MB, free: 4.723 MB / 330.7 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.001425/0.2968, allocations: 498.6 kB / 449.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000757/0.2975, allocations: 454.4 kB / 449.5 MB, free: 3.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2976, allocations: 0 / 449.5 MB, free: 3.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.298, allocations: 228.7 kB / 449.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/0.299, allocations: 166.9 kB / 449.9 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.301, allocations: 1.451 MB / 451.3 MB, free: 1.879 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3013, allocations: 0.8 MB / 452.1 MB, free: 1.055 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002438/0.3016, allocations: 62.92 kB / 452.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.3017, allocations: 31.44 kB / 452.2 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3017, allocations: 7.938 kB / 452.2 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of Templates: time 0.02829/0.33, allocations: 22.69 MB / 474.9 MB, free: 10.25 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches