Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001433/0.001433, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001798/0.001798, allocations: 214.9 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.204/2.204, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 39.94 kB / 379 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3788, allocations: 53.36 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.05819/0.437, allocations: 34 MB / 466.3 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008664/0.4456, allocations: 4.179 MB / 470.5 MB, free: 444 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004804/0.4461, allocations: 15.94 kB / 470.5 MB, free: 428 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.4473, allocations: 274.2 kB / 470.8 MB, free: 152 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.4489, allocations: 489.3 kB / 471.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007357/0.4562, allocations: 1.634 MB / 472.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002411/0.4586, allocations: 1.284 MB / 474.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/0.459, allocations: 134.9 kB / 474.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.4601, allocations: 490.4 kB / 474.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008715/0.4609, allocations: 442.3 kB / 475.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.4611, allocations: 44 kB / 475.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.4633, allocations: 0.7571 MB / 476 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.4635, allocations: 135.6 kB / 476.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003958/0.4639, allocations: 243.1 kB / 476.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.466, allocations: 1.059 MB / 477.5 MB, free: 9.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.466, allocations: 0 / 477.5 MB, free: 9.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.466, allocations: 4 kB / 477.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.466, allocations: 0 / 477.5 MB, free: 9.457 MB / 382.1 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.001696/0.4677, allocations: 0.7074 MB / 478.2 MB, free: 8.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4677, allocations: 8.031 kB / 478.2 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.4687, allocations: 80.62 kB / 478.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008039/0.4695, allocations: 289.7 kB / 478.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.4696, allocations: 33.36 kB / 478.6 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.4697, allocations: 40.38 kB / 478.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.471, allocations: 0.6614 MB / 479.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.471, allocations: 4 kB / 479.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.937e-05/0.4711, allocations: 16 kB / 479.3 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.4711, allocations: 12 kB / 479.3 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.4719, allocations: 295.7 kB / 479.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/0.4922, allocations: 4.577 MB / 484.2 MB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/0.4929, allocations: 254.5 kB / 484.4 MB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.4932, allocations: 142.9 kB / 484.6 MB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0169/0.5101, allocations: 2.684 MB / 487.2 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.5102, allocations: 42.56 kB / 487.3 MB, free: 15.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.986e-06/0.5102, allocations: 0 / 487.3 MB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.02008/0.5303, allocations: 2.304 MB / 489.6 MB, free: 13.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.5303, allocations: 67.28 kB / 489.7 MB, free: 12.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.5308, allocations: 281.7 kB / 489.9 MB, free: 12.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.5309, allocations: 29.7 kB / 490 MB, free: 12.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.5311, allocations: 228.4 kB / 490.2 MB, free: 12.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.5313, allocations: 174.5 kB / 490.4 MB, free: 12.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.5316, allocations: 98.34 kB / 490.5 MB, free: 12.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.5318, allocations: 342.8 kB / 490.8 MB, free: 11.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.5322, allocations: 153.2 kB / 490.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.5327, allocations: 276.7 kB / 491.2 MB, free: 11.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.5338, allocations: 472.2 kB / 491.7 MB, free: 10.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5338, allocations: 0 / 491.7 MB, free: 10.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001644/0.5354, allocations: 0.5919 MB / 492.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.5354, allocations: 11.94 kB / 492.3 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.5354, allocations: 7.922 kB / 492.3 MB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0121/0.5475, allocations: 1.849 MB / 494.1 MB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.5482, allocations: 107.8 kB / 494.2 MB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.551, allocations: 2.439 MB / 496.7 MB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.5515, allocations: 12 kB / 496.7 MB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.5515, allocations: 24 kB / 496.7 MB, free: 5.617 MB / 398.1 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.0003313/0.5519, allocations: 181.8 kB / 496.9 MB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.552, allocations: 39.7 kB / 496.9 MB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.5538, allocations: 0.8724 MB / 497.8 MB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.5538, allocations: 4 kB / 497.8 MB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.5538, allocations: 3.984 kB / 497.8 MB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001541/0.5554, allocations: 0.9746 MB / 498.8 MB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.5582, allocations: 1.355 MB / 0.4884 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5582, allocations: 0 / 0.4884 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/0.5587, allocations: 75.89 kB / 0.4885 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004885/0.5635, allocations: 0.6298 MB / 0.4891 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.5636, allocations: 11.98 kB / 0.4891 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.565, allocations: 1.296 MB / 0.4904 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.565, allocations: 7.969 kB / 0.4904 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.5674, allocations: 1.254 MB / 0.4916 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.5675, allocations: 35.7 kB / 0.4916 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.5676, allocations: 12 kB / 0.4917 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.568, allocations: 16.03 kB / 0.4917 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.568, allocations: 27.95 kB / 0.4917 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/0.5681, allocations: 19.98 kB / 0.4917 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002807/0.5684, allocations: 189.1 kB / 0.4919 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5684, allocations: 4.062 kB / 0.4919 GB, free: 14.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00114/0.5695, allocations: 231.7 kB / 0.4921 GB, free: 14.16 MB / 414.1 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.0008275/0.5703, allocations: 274.8 kB / 0.4924 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.5722, allocations: 0.6834 MB / 0.4931 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5722, allocations: 0 / 0.4931 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.5735, allocations: 432.2 kB / 0.4935 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.5751, allocations: 200.7 kB / 0.4937 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.578, allocations: 1.252 MB / 0.4949 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.5784, allocations: 233.3 kB / 0.4951 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003804/0.5787, allocations: 67.31 kB / 0.4952 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.5789, allocations: 35.44 kB / 0.4952 GB, free: 10.95 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5789, allocations: 0 / 0.4952 GB, free: 10.95 MB / 414.1 MB Notification: Performance of Templates: time 0.02929/0.6081, allocations: 13.01 MB / 0.5079 GB, free: 14.12 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 9.989052693999838]