Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.0009798/0.0009798, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001604/0.001604, allocations: 173.9 kB / 25.33 MB, free: 9.461 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.952/0.952, allocations: 158.6 MB / 187.2 MB, free: 2.547 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.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 251 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.346e-05, allocations: 9.406 kB / 251 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004696/0.00472, allocations: 4.94 MB / 256 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.00693, allocations: 1.305 MB / 257.3 MB, free: 13.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.007227, allocations: 11.94 kB / 257.3 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.007616, allocations: 170.5 kB / 257.5 MB, free: 13.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.008123, allocations: 341 kB / 257.8 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.008555, allocations: 223.5 kB / 258 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.009601, allocations: 1.207 MB / 259.2 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.009916, allocations: 226.5 kB / 259.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006595/0.01058, allocations: 0.6705 MB / 260.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006803/0.01126, allocations: 378.9 kB / 260.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.01137, allocations: 100 kB / 260.6 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.01149, allocations: 104 kB / 260.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.01161, allocations: 227.2 kB / 260.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.01188, allocations: 383.2 kB / 261.3 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006297/0.01251, allocations: 0.7824 MB / 262.1 MB, free: 8.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01252, allocations: 0 / 262.1 MB, free: 8.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01252, allocations: 4 kB / 262.1 MB, free: 8.488 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.01253, allocations: 0 / 262.1 MB, free: 8.488 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001412/0.01394, allocations: 1.365 MB / 263.4 MB, free: 7.066 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.01398, allocations: 11.98 kB / 263.4 MB, free: 7.055 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.01415, allocations: 160.3 kB / 263.6 MB, free: 6.898 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.0147, allocations: 493.3 kB / 264.1 MB, free: 6.391 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.01487, allocations: 293.2 kB / 264.4 MB, free: 6.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/0.01495, allocations: 72.38 kB / 264.4 MB, free: 5.977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009955/0.01595, allocations: 1.519 MB / 266 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.01597, allocations: 192 / 266 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/0.01602, allocations: 36.11 kB / 266 MB, free: 4.098 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.01603, allocations: 23.94 kB / 266 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.01653, allocations: 299.6 kB / 266.3 MB, free: 3.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.01875, allocations: 1.502 MB / 267.8 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007774/0.01952, allocations: 458.1 kB / 268.3 MB, free: 1.781 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.01982, allocations: 213.5 kB / 268.5 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.847e-05/0.01987, allocations: 16.64 kB / 268.5 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.0199, allocations: 57.98 kB / 268.5 MB, free: 1.484 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 1.883e-06/0.0199, allocations: 0 / 268.5 MB, free: 1.484 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001954/0.02186, allocations: 1.046 MB / 269.6 MB, free: 428 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002654/0.02212, allocations: 0.8272 MB / 270.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006105/0.02273, allocations: 0.5807 MB / 271 MB, free: 14.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.02279, allocations: 41.7 kB / 271 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.02308, allocations: 407.9 kB / 271.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.02323, allocations: 261.7 kB / 271.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.02338, allocations: 148.3 kB / 271.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.02355, allocations: 0.5586 MB / 272.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.02382, allocations: 211 kB / 272.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.02452, allocations: 1.294 MB / 273.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.02504, allocations: 442.7 kB / 274.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.02505, allocations: 0 / 274.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001158/0.0262, allocations: 0.8728 MB / 275.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.02625, allocations: 95.69 kB / 275.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.02626, allocations: 3.938 kB / 275.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004703/0.02673, allocations: 194.6 kB / 275.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.02703, allocations: 123.8 kB / 275.6 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004809/0.03184, allocations: 7.814 MB / 283.4 MB, free: 1.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.03218, allocations: 79.58 kB / 283.5 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.03221, allocations: 20 kB / 283.5 MB, free: 1.266 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.03239, allocations: 208.5 kB / 283.7 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.03249, allocations: 107.5 kB / 283.8 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.861e-05/0.03257, allocations: 90.75 kB / 283.9 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.03258, allocations: 8 kB / 283.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.03258, allocations: 0 / 283.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009614/0.03354, allocations: 0.9251 MB / 284.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.03541, allocations: 1.392 MB / 286.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.03541, allocations: 192 / 286.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.03575, allocations: 135.8 kB / 286.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003542/0.0361, allocations: 162.9 kB / 286.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.03614, allocations: 16 kB / 286.6 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003392/0.03953, allocations: 5.926 MB / 292.5 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.03953, allocations: 0 / 292.5 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.04076, allocations: 0.9443 MB / 293.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.04097, allocations: 159.2 kB / 293.6 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.04103, allocations: 20 kB / 293.6 MB, free: 6.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.0413, allocations: 35.97 kB / 293.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.04141, allocations: 60.48 kB / 293.7 MB, free: 6.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.04144, allocations: 27.98 kB / 293.7 MB, free: 6.453 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002827/0.04172, allocations: 386.7 kB / 294.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04172, allocations: 0 / 294.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005585/0.04228, allocations: 283.7 kB / 294.4 MB, free: 5.801 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (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 {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002052/0.04249, allocations: 119.2 kB / 294.5 MB, free: 5.676 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.04355, allocations: 1.377 MB / 295.9 MB, free: 4.168 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.04355, allocations: 4 kB / 295.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.04404, allocations: 0.752 MB / 296.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.04461, allocations: 231.3 kB / 296.8 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.04686, allocations: 1.436 MB / 298.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.04698, allocations: 165 kB / 298.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.04722, allocations: 94 kB / 298.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.04734, allocations: 68.5 kB / 298.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.04734, allocations: 0 / 298.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of Templates: time 0.1243/0.1717, allocations: 18.49 MB / 317.1 MB, free: 46.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.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.517083519138396]