Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008926/0.0008926, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009458/0.0009458, allocations: 162 kB / 24.91 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9325/0.9325, allocations: 177 MB / 205.2 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.196e-05, allocations: 2.312 kB / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003249/0.003271, allocations: 3.501 MB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.004336, allocations: 0.9965 MB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.004457, allocations: 11.94 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.004679, allocations: 103.1 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.004931, allocations: 202.2 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.005106, allocations: 127.7 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.005559, allocations: 0.6572 MB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.00572, allocations: 137.4 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.005961, allocations: 375.2 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.006162, allocations: 199.5 kB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.08e-05/0.006213, allocations: 52 kB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.084e-05/0.006264, allocations: 55.94 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.00658, allocations: 119.6 kB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.006712, allocations: 203.6 kB / 280.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.007027, allocations: 430.4 kB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.00703, allocations: 0 / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007031, allocations: 0 / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.007035, allocations: 0 / 280.5 MB, free: 10.05 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.0007076/0.007743, allocations: 0.7462 MB / 281.2 MB, free: 9.277 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.007772, allocations: 15.98 kB / 281.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.007845, allocations: 72.86 kB / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.008126, allocations: 267.8 kB / 281.6 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.999e-05/0.008206, allocations: 106.3 kB / 281.7 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.008252, allocations: 44.31 kB / 281.7 MB, free: 8.738 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.008682, allocations: 0.7302 MB / 282.4 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.008694, allocations: 4.188 kB / 282.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.008719, allocations: 24.12 kB / 282.5 MB, free: 7.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.008726, allocations: 8 kB / 282.5 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.00888, allocations: 107.1 kB / 282.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009323/0.009812, allocations: 0.6596 MB / 283.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.01027, allocations: 228.8 kB / 283.5 MB, free: 6.805 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.991e-05/0.01034, allocations: 68.39 kB / 283.5 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.01037, allocations: 11.98 kB / 283.6 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.0104, allocations: 46.48 kB / 283.6 MB, free: 6.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.0104, allocations: 0 / 283.6 MB, free: 6.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003703/0.01077, allocations: 231.2 kB / 283.8 MB, free: 6.434 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.01089, allocations: 453 kB / 284.3 MB, free: 5.887 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.01108, allocations: 331.3 kB / 284.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.0111, allocations: 37.7 kB / 284.6 MB, free: 5.508 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.01118, allocations: 197.4 kB / 284.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.01124, allocations: 115 kB / 284.9 MB, free: 5.199 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.01131, allocations: 81.94 kB / 285 MB, free: 5.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.01141, allocations: 358.7 kB / 285.4 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.01148, allocations: 62.34 kB / 285.4 MB, free: 4.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.01172, allocations: 0.5697 MB / 286 MB, free: 3.965 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.01187, allocations: 165.1 kB / 286.2 MB, free: 3.793 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01188, allocations: 3.938 kB / 286.2 MB, free: 3.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002458/0.01212, allocations: 262.6 kB / 286.4 MB, free: 3.508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.01215, allocations: 29.7 kB / 286.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.01216, allocations: 4 kB / 286.4 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.929e-05/0.01224, allocations: 33.64 kB / 286.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.0124, allocations: 67.89 kB / 286.5 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.01376, allocations: 2.403 MB / 288.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.01391, allocations: 35.92 kB / 289 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.01392, allocations: 12 kB / 289 MB, free: 0.7383 MB / 266.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.0001035/0.01402, allocations: 137.8 kB / 289.1 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.01407, allocations: 39.95 kB / 289.2 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.01411, allocations: 52.55 kB / 289.2 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01412, allocations: 7.922 kB / 289.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01412, allocations: 7.938 kB / 289.2 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002456/0.01437, allocations: 0.5136 MB / 289.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.01486, allocations: 0.506 MB / 290.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.01486, allocations: 4 kB / 290.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.01502, allocations: 59.91 kB / 290.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.01503, allocations: 7.938 kB / 290.3 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.01504, allocations: 7.984 kB / 290.3 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01504, allocations: 0 / 290.3 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01504, allocations: 0 / 290.3 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.01528, allocations: 304.9 kB / 290.6 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.01536, allocations: 59.72 kB / 290.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.01539, allocations: 15.94 kB / 290.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.01552, allocations: 8 kB / 290.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.01554, allocations: 23.95 kB / 290.7 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.01555, allocations: 4 kB / 290.7 MB, free: 14.83 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.551e-05/0.01565, allocations: 148.7 kB / 290.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01565, allocations: 0 / 290.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.01588, allocations: 143.7 kB / 291 MB, free: 14.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 8.983e-05/0.01597, allocations: 80.42 kB / 291.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003767/0.01635, allocations: 490 kB / 291.6 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.01635, allocations: 4 kB / 291.6 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.01643, allocations: 77.27 kB / 291.7 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.01672, allocations: 121.4 kB / 291.8 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.01779, allocations: 0.7944 MB / 292.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.858e-05/0.01784, allocations: 105.9 kB / 292.7 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.01797, allocations: 59.31 kB / 292.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.01825, allocations: 233.1 kB / 293 MB, free: 12.5 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01825, allocations: 0 / 293 MB, free: 12.5 MB / 282.7 MB Notification: Performance of Templates: time 0.01024/0.0285, allocations: 8.967 MB / 301.9 MB, free: 3.758 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.7597997901029885]