Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0009785/0.0009785, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.001101/0.001101, allocations: 164.2 kB / 25.69 MB, free: 8.449 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.903/0.903, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.931e-05, allocations: 6.25 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.02695/0.02697, allocations: 25.14 MB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.02965, allocations: 2.443 MB / 279.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.0298, allocations: 4 kB / 279.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.03019, allocations: 123.2 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004333/0.03062, allocations: 389.5 kB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01007/0.04069, allocations: 5.928 MB / 285.6 MB, free: 5.055 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009222/0.04162, allocations: 1.134 MB / 286.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.0418, allocations: 97.84 kB / 286.8 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.04508, allocations: 3.534 MB / 290.4 MB, free: 284 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.04547, allocations: 359.1 kB / 290.7 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.04553, allocations: 60 kB / 290.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/0.05678, allocations: 9.317 MB / 300.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.05696, allocations: 239.4 kB / 300.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.05715, allocations: 247.5 kB / 300.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007419/0.06457, allocations: 6.103 MB / 306.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.06457, allocations: 0 / 306.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.06458, allocations: 0 / 306.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.06458, allocations: 0 / 306.7 MB, free: 15.95 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001628/0.06621, allocations: 1.232 MB / 307.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.06624, allocations: 19.98 kB / 307.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.06647, allocations: 100.4 kB / 308 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.06675, allocations: 252.4 kB / 308.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.06678, allocations: 29 kB / 308.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.06684, allocations: 59.92 kB / 308.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008762/0.06771, allocations: 0.6188 MB / 309 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.06773, allocations: 3.984 kB / 309 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.06776, allocations: 24 kB / 309 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.06777, allocations: 8 kB / 309 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006845/0.06845, allocations: 262.7 kB / 309.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005146/0.0736, allocations: 3.106 MB / 312.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.07411, allocations: 309.3 kB / 312.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.07421, allocations: 93.14 kB / 312.8 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004303/0.07851, allocations: 2.398 MB / 315.2 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.07855, allocations: 43.05 kB / 315.2 MB, free: 7.227 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 1.613e-06/0.07855, allocations: 0 / 315.2 MB, free: 7.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002578/0.08113, allocations: 1.24 MB / 316.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.08115, allocations: 55.91 kB / 316.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.08129, allocations: 232.9 kB / 316.7 MB, free: 5.637 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.08132, allocations: 37.7 kB / 316.8 MB, free: 5.594 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.08139, allocations: 193.3 kB / 317 MB, free: 5.398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.751e-05/0.08148, allocations: 198.3 kB / 317.1 MB, free: 5.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.08158, allocations: 114.2 kB / 317.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.08167, allocations: 350.7 kB / 317.6 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.08177, allocations: 68.11 kB / 317.7 MB, free: 4.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.08201, allocations: 172.3 kB / 317.8 MB, free: 4.465 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.08242, allocations: 317.8 kB / 318.1 MB, free: 4.113 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.08242, allocations: 0 / 318.1 MB, free: 4.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007293/0.08315, allocations: 417.7 kB / 318.6 MB, free: 3.676 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.08317, allocations: 12.27 kB / 318.6 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.08318, allocations: 4 kB / 318.6 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.08341, allocations: 88.11 kB / 318.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.08372, allocations: 131.8 kB / 318.8 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.08509, allocations: 2.957 MB / 321.7 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.08521, allocations: 19.98 kB / 321.8 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.08525, allocations: 20 kB / 321.8 MB, free: 228 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.08536, allocations: 148.8 kB / 321.9 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.08555, allocations: 87.42 kB / 322 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006213/0.08617, allocations: 0.5094 MB / 322.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.08618, allocations: 4 kB / 322.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.08618, allocations: 3.938 kB / 322.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000383/0.08656, allocations: 467.3 kB / 323 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000788/0.08735, allocations: 0.7461 MB / 323.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.08735, allocations: 0 / 323.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.08762, allocations: 107.9 kB / 323.8 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004628/0.08808, allocations: 139.6 kB / 324 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.0881, allocations: 15.98 kB / 324 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001999/0.0883, allocations: 0.6109 MB / 324.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.08831, allocations: 0 / 324.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.08896, allocations: 0.5508 MB / 325.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.089, allocations: 31.81 kB / 325.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.08903, allocations: 19.92 kB / 325.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.0892, allocations: 31.98 kB / 325.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.08924, allocations: 36.38 kB / 325.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.08927, allocations: 19.98 kB / 325.3 MB, free: 12.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.659e-05/0.08934, allocations: 86.77 kB / 325.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.08934, allocations: 0 / 325.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002369/0.09171, allocations: 1.278 MB / 326.7 MB, free: 11.13 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003603/0.09531, allocations: 1.871 MB / 328.5 MB, free: 9.262 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005928/0.0959, allocations: 0.5093 MB / 329 MB, free: 8.727 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.09591, allocations: 4 kB / 329 MB, free: 8.723 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.09611, allocations: 170 kB / 329.2 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.09666, allocations: 244.2 kB / 329.4 MB, free: 8.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.09785, allocations: 0.8594 MB / 330.3 MB, free: 7.418 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.498e-05/0.09793, allocations: 126.9 kB / 330.4 MB, free: 7.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002357/0.09816, allocations: 107.4 kB / 330.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/0.09862, allocations: 257 kB / 330.8 MB, free: 6.914 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.09862, allocations: 3.938 kB / 330.8 MB, free: 6.91 MB / 314.7 MB Notification: Performance of Templates: time 0.1361/0.2347, allocations: 52.3 MB / 383.1 MB, free: 63.16 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.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: 6.6439841943793]