Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 156.9 kB / 24.48 MB, free: 3.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 179] 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_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.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 50.97 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0845/0.08607, allocations: 52.16 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05479/0.1409, allocations: 45.41 MB / 417 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006199/0.1471, allocations: 4.701 MB / 421.7 MB, free: 5.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.1472, allocations: 7.938 kB / 421.7 MB, free: 5.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000695/0.1479, allocations: 230.6 kB / 421.9 MB, free: 4.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006183/0.1485, allocations: 373.9 kB / 422.3 MB, free: 4.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01682/0.1654, allocations: 7.104 MB / 429.4 MB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.1667, allocations: 1.103 MB / 430.5 MB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.167, allocations: 102.7 kB / 430.6 MB, free: 12.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007076/0.174, allocations: 3.614 MB / 434.2 MB, free: 8.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006511/0.1747, allocations: 410.5 kB / 434.6 MB, free: 8.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.1748, allocations: 60 kB / 434.7 MB, free: 8.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01815/0.1929, allocations: 9.287 MB / 444 MB, free: 14.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.1933, allocations: 231.4 kB / 444.2 MB, free: 14.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.1937, allocations: 271.1 kB / 444.5 MB, free: 14.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.2049, allocations: 5.429 MB / 449.9 MB, free: 8.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2049, allocations: 4 kB / 449.9 MB, free: 8.816 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2049, allocations: 0 / 449.9 MB, free: 8.816 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.2049, allocations: 0 / 449.9 MB, free: 8.816 MB / 414.1 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.003066/0.208, allocations: 1.319 MB / 451.2 MB, free: 7.461 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.208, allocations: 8.031 kB / 451.2 MB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003301/0.2083, allocations: 67.7 kB / 451.3 MB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.2089, allocations: 316.2 kB / 451.6 MB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.2089, allocations: 33 kB / 451.6 MB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/0.209, allocations: 44 kB / 451.7 MB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.2105, allocations: 0.8855 MB / 452.5 MB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.2105, allocations: 3.984 kB / 452.6 MB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/0.2106, allocations: 20 kB / 452.6 MB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.2106, allocations: 12 kB / 452.6 MB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.2121, allocations: 0.7417 MB / 453.3 MB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/0.2249, allocations: 3.588 MB / 456.9 MB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.2262, allocations: 0.5009 MB / 457.4 MB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.2266, allocations: 242.2 kB / 457.7 MB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01086/0.2375, allocations: 2.565 MB / 460.2 MB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.2375, allocations: 43.06 kB / 460.3 MB, free: 14.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.245e-06/0.2375, allocations: 0 / 460.3 MB, free: 14.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.00586/0.2434, allocations: 1.896 MB / 462.2 MB, free: 12.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.2434, allocations: 59.91 kB / 462.2 MB, free: 12.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.2438, allocations: 265.7 kB / 462.5 MB, free: 11.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/0.2438, allocations: 41.7 kB / 462.5 MB, free: 11.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.244, allocations: 209.2 kB / 462.7 MB, free: 11.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.2442, allocations: 202.3 kB / 462.9 MB, free: 11.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.2443, allocations: 110.3 kB / 463 MB, free: 11.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.2446, allocations: 358.7 kB / 463.4 MB, free: 11.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.245, allocations: 237.2 kB / 463.6 MB, free: 10.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006861/0.2457, allocations: 344.3 kB / 463.9 MB, free: 10.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.247, allocations: 0.5968 MB / 464.5 MB, free: 9.812 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.247, allocations: 0 / 464.5 MB, free: 9.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001987/0.249, allocations: 0.7498 MB / 465.3 MB, free: 9.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.249, allocations: 8.031 kB / 465.3 MB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.249, allocations: 4 kB / 465.3 MB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004974/0.2495, allocations: 110.4 kB / 465.4 MB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.25, allocations: 123.9 kB / 465.5 MB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/0.2529, allocations: 3.223 MB / 468.8 MB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.2532, allocations: 16 kB / 468.8 MB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.2533, allocations: 31.98 kB / 468.8 MB, free: 5.293 MB / 430.1 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.0002853/0.2536, allocations: 190 kB / 469 MB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/0.2539, allocations: 51.75 kB / 469 MB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.2556, allocations: 0.8088 MB / 469.8 MB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.2556, allocations: 4 kB / 469.8 MB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2556, allocations: 0 / 469.8 MB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/0.2569, allocations: 0.765 MB / 470.6 MB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.2591, allocations: 1.139 MB / 471.7 MB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2591, allocations: 0 / 471.7 MB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.2596, allocations: 95.95 kB / 471.8 MB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000931/0.2605, allocations: 152.7 kB / 472 MB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.2606, allocations: 19.98 kB / 472 MB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005047/0.2611, allocations: 0.6523 MB / 472.7 MB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.2611, allocations: 3.938 kB / 472.7 MB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.2629, allocations: 0.9034 MB / 473.6 MB, free: 320 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.331e-05/0.263, allocations: 31.84 kB / 473.6 MB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.263, allocations: 19.94 kB / 473.6 MB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.2634, allocations: 15.98 kB / 473.6 MB, free: 252 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.2635, allocations: 32.44 kB / 473.7 MB, free: 220 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/0.2636, allocations: 35.97 kB / 473.7 MB, free: 184 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.1707/0.4342, allocations: 211.2 kB / 473.9 MB, free: 94.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4342, allocations: 1.812 kB / 473.9 MB, free: 94.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003433/0.4377, allocations: 1.33 MB / 475.2 MB, free: 94.75 MB / 430.1 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.004401/0.4421, allocations: 1.694 MB / 476.9 MB, free: 94.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.4435, allocations: 0.7774 MB / 477.7 MB, free: 94.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4435, allocations: 1.219 kB / 477.7 MB, free: 94.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005851/0.4441, allocations: 288 kB / 478 MB, free: 94.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.4453, allocations: 218.4 kB / 478.2 MB, free: 94.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.4469, allocations: 1.096 MB / 479.3 MB, free: 93.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.4471, allocations: 235.3 kB / 479.5 MB, free: 93.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004234/0.4475, allocations: 141.1 kB / 479.7 MB, free: 93.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.4477, allocations: 54.17 kB / 479.7 MB, free: 93.85 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4477, allocations: 1.406 kB / 479.7 MB, free: 93.85 MB / 430.1 MB Notification: Performance of Templates: time 0.05449/0.5022, allocations: 44.01 MB / 0.5115 GB, free: 57.24 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.118141046958044]