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/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.001354/0.001354, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001237/0.001237, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.8938/0.8938, allocations: 158.6 MB / 187.5 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 251.5 MB, free: 7.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.311e-05, allocations: 6.25 kB / 251.5 MB, free: 7.332 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.009635/0.009658, allocations: 11.82 MB / 263.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.01187, allocations: 1.916 MB / 265.2 MB, free: 9.531 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.01209, allocations: 7.938 kB / 265.2 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.01245, allocations: 107.3 kB / 265.3 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005045/0.01296, allocations: 373.8 kB / 265.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.01586, allocations: 1.384 MB / 267.1 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008242/0.01668, allocations: 0.9299 MB / 268 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.01686, allocations: 76.88 kB / 268.1 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004766/0.02163, allocations: 4.287 MB / 272.4 MB, free: 2.359 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.02196, allocations: 251.2 kB / 272.6 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.02201, allocations: 32 kB / 272.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009748/0.02298, allocations: 0.6749 MB / 273.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.02309, allocations: 103.6 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.02323, allocations: 147.7 kB / 273.6 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009854/0.02421, allocations: 0.7559 MB / 274.3 MB, free: 412 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.02422, allocations: 0 / 274.3 MB, free: 412 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02422, allocations: 0 / 274.3 MB, free: 412 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.02422, allocations: 0 / 274.3 MB, free: 412 kB / 250.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.0007327/0.02496, allocations: 0.6708 MB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.025, allocations: 11.98 kB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/0.02534, allocations: 124.1 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.0256, allocations: 232.1 kB / 275.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.02562, allocations: 25.03 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.02566, allocations: 32.38 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.02599, allocations: 446.6 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.026, allocations: 192 / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.02602, allocations: 16.12 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.02603, allocations: 8 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.02615, allocations: 111.3 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/0.03205, allocations: 4.348 MB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.03221, allocations: 115.5 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.03227, allocations: 55.58 kB / 280.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004085/0.03635, allocations: 2.539 MB / 283 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.03639, allocations: 41.38 kB / 283.1 MB, free: 7.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 4.098e-06/0.03639, allocations: 4 kB / 283.1 MB, free: 7.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003058/0.03945, allocations: 1.079 MB / 284.2 MB, free: 6.266 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.03948, allocations: 55.41 kB / 284.2 MB, free: 6.199 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.03964, allocations: 278.5 kB / 284.5 MB, free: 5.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.03966, allocations: 29.7 kB / 284.5 MB, free: 5.875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.03976, allocations: 247 kB / 284.7 MB, free: 5.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.03981, allocations: 99.19 kB / 284.8 MB, free: 5.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.03989, allocations: 75.08 kB / 284.9 MB, free: 5.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.04001, allocations: 0.504 MB / 285.4 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.791e-05/0.04005, allocations: 39.97 kB / 285.5 MB, free: 4.895 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.04017, allocations: 179.2 kB / 285.6 MB, free: 4.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.04036, allocations: 247.7 kB / 285.9 MB, free: 4.371 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.04037, allocations: 0 / 285.9 MB, free: 4.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000612/0.04098, allocations: 316.5 kB / 286.2 MB, free: 4.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.04099, allocations: 4 kB / 286.2 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.041, allocations: 4 kB / 286.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/0.04288, allocations: 0.9409 MB / 287.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.04304, allocations: 67.91 kB / 287.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005659/0.0487, allocations: 5.882 MB / 293.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.04884, allocations: 12 kB / 293.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.04885, allocations: 8 kB / 293.1 MB, free: 12.79 MB / 282.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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003699/0.04922, allocations: 184.5 kB / 293.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.04927, allocations: 31.8 kB / 293.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.04965, allocations: 339.4 kB / 293.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.04965, allocations: 4 kB / 293.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.04966, allocations: 0 / 293.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000338/0.04999, allocations: 0.57 MB / 294.2 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/0.05065, allocations: 0.6622 MB / 294.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.05065, allocations: 0 / 294.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.05075, allocations: 51.91 kB / 294.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000797/0.05155, allocations: 343.1 kB / 295.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.05156, allocations: 7.984 kB / 295.3 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.05266, allocations: 1.842 MB / 297.1 MB, free: 8.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.05266, allocations: 0 / 297.1 MB, free: 8.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.05312, allocations: 0.5007 MB / 297.6 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.05315, allocations: 31.73 kB / 297.6 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.05318, allocations: 11.94 kB / 297.7 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.05326, allocations: 4 kB / 297.7 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.05329, allocations: 23.97 kB / 297.7 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.0533, allocations: 11.98 kB / 297.7 MB, free: 7.887 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.96e-05/0.05338, allocations: 177.7 kB / 297.9 MB, free: 7.715 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05338, allocations: 0 / 297.9 MB, free: 7.715 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005042/0.05389, allocations: 195.7 kB / 298.1 MB, free: 7.523 MB / 282.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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004004/0.05429, allocations: 298.6 kB / 298.4 MB, free: 7.219 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004811/0.05477, allocations: 0.5757 MB / 298.9 MB, free: 6.605 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.05477, allocations: 0 / 298.9 MB, free: 6.605 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.05504, allocations: 313.9 kB / 299.2 MB, free: 6.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.0555, allocations: 148.2 kB / 299.4 MB, free: 6.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009816/0.05648, allocations: 0.6589 MB / 300 MB, free: 5.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.972e-05/0.05654, allocations: 101.1 kB / 300.1 MB, free: 5.324 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003444/0.05689, allocations: 42.94 kB / 300.2 MB, free: 5.277 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.05708, allocations: 186.1 kB / 300.4 MB, free: 5.094 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.05708, allocations: 0 / 300.4 MB, free: 5.094 MB / 282.7 MB Notification: Performance of Templates: time 0.01336/0.07044, allocations: 11.19 MB / 311.6 MB, free: 9.914 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.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.181230943184346]