Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009555/0.0009555, allocations: 85.95 kB / 23 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 172.1 kB / 26.39 MB, free: 8 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.891/0.891, allocations: 158.6 MB / 188.3 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 252.3 MB, free: 7.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.336e-05, allocations: 6.25 kB / 252.3 MB, free: 7.328 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.01026/0.01029, allocations: 12.77 MB / 265 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.01283, allocations: 2.18 MB / 267.2 MB, free: 8.309 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.01305, allocations: 11.88 kB / 267.2 MB, free: 8.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004393/0.01348, allocations: 147 kB / 267.4 MB, free: 8.152 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006973/0.01418, allocations: 0.5163 MB / 267.9 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.01735, allocations: 1.478 MB / 269.4 MB, free: 6.148 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.01852, allocations: 1.342 MB / 270.7 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.01871, allocations: 115 kB / 270.8 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005546/0.01927, allocations: 0.6471 MB / 271.5 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.01964, allocations: 378.8 kB / 271.8 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.01969, allocations: 48 kB / 271.9 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009637/0.02066, allocations: 0.6944 MB / 272.6 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.02077, allocations: 147.5 kB / 272.7 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.02092, allocations: 203.6 kB / 272.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.02219, allocations: 0.8766 MB / 273.8 MB, free: 1.699 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.02219, allocations: 0 / 273.8 MB, free: 1.699 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.0222, allocations: 0 / 273.8 MB, free: 1.699 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.0222, allocations: 4 kB / 273.8 MB, free: 1.695 MB / 250.7 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.0007784/0.02298, allocations: 0.7993 MB / 274.6 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.02301, allocations: 11.98 kB / 274.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/0.0234, allocations: 163.8 kB / 274.8 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.02369, allocations: 287.8 kB / 275.1 MB, free: 388 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.02371, allocations: 33.38 kB / 275.1 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.02375, allocations: 40.38 kB / 275.1 MB, free: 316 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.02415, allocations: 0.5918 MB / 275.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.02416, allocations: 8.172 kB / 275.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.02419, allocations: 20.12 kB / 275.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.0242, allocations: 8 kB / 275.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.02438, allocations: 166.7 kB / 275.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/0.03014, allocations: 4.906 MB / 280.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.03037, allocations: 190.9 kB / 281 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.752e-05/0.03045, allocations: 87.44 kB / 281.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004129/0.03457, allocations: 2.511 MB / 283.6 MB, free: 7.609 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.0346, allocations: 37.39 kB / 283.6 MB, free: 7.562 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.754e-06/0.0346, allocations: 0 / 283.6 MB, free: 7.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.005096/0.0397, allocations: 1.88 MB / 285.5 MB, free: 5.633 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.03973, allocations: 59.41 kB / 285.6 MB, free: 5.562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.03993, allocations: 312 kB / 285.9 MB, free: 5.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.03996, allocations: 37.7 kB / 285.9 MB, free: 5.199 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.0401, allocations: 283.1 kB / 286.2 MB, free: 4.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.04021, allocations: 174.5 kB / 286.4 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.04033, allocations: 104 kB / 286.5 MB, free: 4.637 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.04047, allocations: 0.5233 MB / 287 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.04057, allocations: 65.27 kB / 287.1 MB, free: 4.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.04077, allocations: 241.9 kB / 287.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.04112, allocations: 350.4 kB / 287.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.04112, allocations: 4 kB / 287.6 MB, free: 3.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006038/0.04172, allocations: 440 kB / 288.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.04174, allocations: 8 kB / 288.1 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.04175, allocations: 480 / 288.1 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005002/0.04675, allocations: 1.845 MB / 289.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.04704, allocations: 111.9 kB / 290 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.04859, allocations: 3.353 MB / 293.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.04876, allocations: 15.94 kB / 293.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.04879, allocations: 19.98 kB / 293.4 MB, free: 13.33 MB / 282.7 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.0001366/0.04893, allocations: 184.5 kB / 293.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.04901, allocations: 55.83 kB / 293.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006735/0.04968, allocations: 0.5296 MB / 294.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.04969, allocations: 11.98 kB / 294.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.0497, allocations: 7.938 kB / 294.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000536/0.05023, allocations: 0.6328 MB / 294.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.05137, allocations: 0.961 MB / 295.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.05137, allocations: 3.938 kB / 295.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.05158, allocations: 79.83 kB / 295.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/0.05354, allocations: 0.5649 MB / 296.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.05357, allocations: 12 kB / 296.5 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006602/0.05423, allocations: 1.619 MB / 298.1 MB, free: 8.445 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.05423, allocations: 7.938 kB / 298.1 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007692/0.055, allocations: 0.7209 MB / 298.8 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.05505, allocations: 43.66 kB / 298.8 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.0551, allocations: 15.92 kB / 298.9 MB, free: 7.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.05525, allocations: 8 kB / 298.9 MB, free: 7.621 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.05529, allocations: 31.89 kB / 298.9 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.05532, allocations: 15.98 kB / 298.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.05544, allocations: 205.1 kB / 299.1 MB, free: 7.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05544, allocations: 4.031 kB / 299.1 MB, free: 7.367 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005888/0.05603, allocations: 231.7 kB / 299.3 MB, free: 7.141 MB / 282.7 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.0004811/0.05651, allocations: 294.8 kB / 299.6 MB, free: 6.844 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006664/0.05717, allocations: 0.5274 MB / 300.2 MB, free: 6.305 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.05718, allocations: 8 kB / 300.2 MB, free: 6.297 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004874/0.05766, allocations: 272.8 kB / 300.4 MB, free: 6.023 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007991/0.05846, allocations: 208.8 kB / 300.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.05997, allocations: 0.9917 MB / 301.6 MB, free: 4.793 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.357e-05/0.06006, allocations: 126.7 kB / 301.8 MB, free: 4.652 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.06026, allocations: 63.36 kB / 301.8 MB, free: 4.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.06061, allocations: 230 kB / 302 MB, free: 4.363 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.06061, allocations: 0 / 302 MB, free: 4.363 MB / 282.7 MB Notification: Performance of Templates: time 0.01772/0.07834, allocations: 13.67 MB / 315.7 MB, free: 6.699 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4517865600064397]