Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.0009678/0.0009678, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001068/0.001068, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9772/0.9772, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 273 MB, free: 1.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.252e-05, allocations: 2.312 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002865/0.002877, allocations: 3.539 MB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009873/0.003865, allocations: 0.9656 MB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.003984, allocations: 7.938 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.004215, allocations: 103.1 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.004462, allocations: 202.2 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.004633, allocations: 123.7 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.005076, allocations: 0.6572 MB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.005256, allocations: 135.5 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.005504, allocations: 375.2 kB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.005707, allocations: 195.5 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.476e-05/0.005762, allocations: 56 kB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.614e-05/0.005818, allocations: 52 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.00588, allocations: 115.6 kB / 279.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.006015, allocations: 211.5 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.006342, allocations: 426.5 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.006344, allocations: 0 / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006345, allocations: 0 / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.00635, allocations: 0 / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0008111/0.007161, allocations: 0.8827 MB / 281 MB, free: 9.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.007192, allocations: 8.031 kB / 281 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.685e-05/0.007288, allocations: 88.56 kB / 281.1 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.007611, allocations: 330.5 kB / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.48e-05/0.007696, allocations: 110.3 kB / 281.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.007743, allocations: 44.36 kB / 281.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/0.008231, allocations: 0.7939 MB / 282.3 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.008241, allocations: 192 / 282.3 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.008267, allocations: 20.12 kB / 282.3 MB, free: 7.887 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.008275, allocations: 8 kB / 282.4 MB, free: 7.879 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.008502, allocations: 159.8 kB / 282.5 MB, free: 7.719 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.009588, allocations: 0.9706 MB / 283.5 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/0.01014, allocations: 267.3 kB / 283.7 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.01024, allocations: 83.66 kB / 283.8 MB, free: 6.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.01027, allocations: 7.984 kB / 283.8 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.01029, allocations: 45.39 kB / 283.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.463e-06/0.01029, allocations: 0 / 283.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005024/0.01079, allocations: 332.6 kB / 284.2 MB, free: 5.945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.0109, allocations: 441 kB / 284.6 MB, free: 5.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.01118, allocations: 430.7 kB / 285 MB, free: 4.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.01121, allocations: 33.7 kB / 285.1 MB, free: 4.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.01133, allocations: 299.2 kB / 285.4 MB, free: 4.637 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.01139, allocations: 119 kB / 285.5 MB, free: 4.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.01147, allocations: 83.67 kB / 285.6 MB, free: 4.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.01159, allocations: 0.5274 MB / 286.1 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.94e-05/0.01169, allocations: 82.31 kB / 286.2 MB, free: 3.801 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.01196, allocations: 0.6322 MB / 286.8 MB, free: 3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.01217, allocations: 190.9 kB / 287 MB, free: 2.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01218, allocations: 0 / 287 MB, free: 2.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000338/0.01251, allocations: 356 kB / 287.3 MB, free: 2.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.01254, allocations: 33.7 kB / 287.4 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.01254, allocations: 0 / 287.4 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001031/0.01264, allocations: 47.34 kB / 287.4 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.0128, allocations: 75.84 kB / 287.5 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.01423, allocations: 3.577 MB / 291.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.01438, allocations: 43.77 kB / 291.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.01439, allocations: 8 kB / 291.1 MB, free: 14.38 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.0145, allocations: 184.5 kB / 291.3 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.01455, allocations: 59.72 kB / 291.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.01459, allocations: 48.36 kB / 291.4 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.0146, allocations: 4 kB / 291.4 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.0146, allocations: 0 / 291.4 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003067/0.01491, allocations: 0.5721 MB / 292 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006325/0.01554, allocations: 0.7273 MB / 292.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01554, allocations: 4 kB / 292.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.01571, allocations: 67.95 kB / 292.8 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01571, allocations: 4 kB / 292.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.01572, allocations: 4 kB / 292.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.01573, allocations: 4 kB / 292.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01573, allocations: 0 / 292.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.01609, allocations: 437 kB / 293.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.481e-05/0.01618, allocations: 91.59 kB / 293.3 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.01621, allocations: 8 kB / 293.3 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.01634, allocations: 11.98 kB / 293.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.01638, allocations: 24 kB / 293.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.01639, allocations: 8 kB / 293.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001698/0.01656, allocations: 287 kB / 293.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01656, allocations: 0 / 293.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.0168, allocations: 139.8 kB / 293.8 MB, free: 11.54 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.123e-05/0.01687, allocations: 111.2 kB / 293.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004641/0.01734, allocations: 0.6048 MB / 294.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01734, allocations: 4.062 kB / 294.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.724e-05/0.01744, allocations: 96.03 kB / 294.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.01777, allocations: 133.4 kB / 294.7 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.01885, allocations: 0.8037 MB / 295.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.741e-05/0.01891, allocations: 109.9 kB / 295.6 MB, free: 9.566 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.01903, allocations: 51.38 kB / 295.7 MB, free: 9.516 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.01909, allocations: 44.48 kB / 295.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01909, allocations: 0 / 295.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of Templates: time 0.009153/0.02825, allocations: 8.832 MB / 304.6 MB, free: 0.8633 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.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: 2.862551834899932]