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.001162/0.001162, allocations: 85.08 kB / 23 MB, free: 1.5 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.001339/0.001339, allocations: 185.3 kB / 26.4 MB, free: 7.965 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.9056/0.9056, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.282e-06/1.282e-06, allocations: 0 / 252.2 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.482e-05, allocations: 6.25 kB / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004167/0.004182, allocations: 4.857 MB / 257.1 MB, free: 2.359 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.006316, allocations: 1.305 MB / 258.4 MB, free: 1.039 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.0067, allocations: 11.94 kB / 258.4 MB, free: 1.027 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.007047, allocations: 166.6 kB / 258.6 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005221/0.007569, allocations: 349 kB / 258.9 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.00794, allocations: 227.5 kB / 259.2 MB, free: 304 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.008995, allocations: 1.199 MB / 260.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.009289, allocations: 222.5 kB / 260.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.009933, allocations: 0.6705 MB / 261.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.01033, allocations: 375 kB / 261.6 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.01044, allocations: 100 kB / 261.7 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.01055, allocations: 104 kB / 261.8 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.01067, allocations: 227.2 kB / 262 MB, free: 13.4 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.01096, allocations: 383.1 kB / 262.4 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006524/0.01161, allocations: 0.7785 MB / 263.2 MB, free: 12.24 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.01161, allocations: 4 kB / 263.2 MB, free: 12.24 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01161, allocations: 0 / 263.2 MB, free: 12.24 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.01163, allocations: 0 / 263.2 MB, free: 12.24 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.001419/0.01305, allocations: 1.365 MB / 264.5 MB, free: 10.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.01308, allocations: 11.98 kB / 264.6 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.01326, allocations: 160.3 kB / 264.7 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.01376, allocations: 476 kB / 265.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.01392, allocations: 293.2 kB / 265.5 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.68e-05/0.01401, allocations: 76.38 kB / 265.5 MB, free: 9.742 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000946/0.01495, allocations: 1.484 MB / 267 MB, free: 7.934 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.01497, allocations: 192 / 267 MB, free: 7.934 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.01502, allocations: 32.12 kB / 267.1 MB, free: 7.902 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.01503, allocations: 16 kB / 267.1 MB, free: 7.887 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.01535, allocations: 238.2 kB / 267.3 MB, free: 7.652 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.01717, allocations: 1.417 MB / 268.7 MB, free: 6.207 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.01778, allocations: 412.4 kB / 269.1 MB, free: 5.789 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.01799, allocations: 181.3 kB / 269.3 MB, free: 5.609 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.403e-05/0.01804, allocations: 20.66 kB / 269.3 MB, free: 5.586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.01808, allocations: 54.03 kB / 269.4 MB, free: 5.523 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 1.643e-06/0.01808, allocations: 0 / 269.4 MB, free: 5.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001853/0.01993, allocations: 0.968 MB / 270.3 MB, free: 4.535 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002905/0.02022, allocations: 0.8234 MB / 271.2 MB, free: 3.512 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.02063, allocations: 0.5609 MB / 271.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.02068, allocations: 47.34 kB / 271.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.02091, allocations: 403.8 kB / 272.2 MB, free: 2.48 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.02105, allocations: 261.7 kB / 272.4 MB, free: 2.223 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.02121, allocations: 156.3 kB / 272.6 MB, free: 2.062 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.02137, allocations: 0.5702 MB / 273.1 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.02154, allocations: 171 kB / 273.3 MB, free: 1.297 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.0221, allocations: 1.275 MB / 274.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.02244, allocations: 382.7 kB / 275 MB, free: 15.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.02245, allocations: 0 / 275 MB, free: 15.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009011/0.02335, allocations: 0.8101 MB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.02339, allocations: 89.09 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.0234, allocations: 8 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000379/0.02378, allocations: 178.6 kB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.02406, allocations: 135.8 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/0.02798, allocations: 7.676 MB / 283.9 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.02836, allocations: 91.48 kB / 283.9 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/0.02842, allocations: 20 kB / 284 MB, free: 5.73 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.000189/0.0286, allocations: 208.5 kB / 284.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.02871, allocations: 107.5 kB / 284.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.48e-05/0.02879, allocations: 82.75 kB / 284.3 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.0288, allocations: 8 kB / 284.4 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.0288, allocations: 0 / 284.4 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008042/0.02961, allocations: 0.8743 MB / 285.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.03115, allocations: 1.256 MB / 286.5 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.03116, allocations: 4.062 kB / 286.5 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.03145, allocations: 119.9 kB / 286.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003065/0.03176, allocations: 158.9 kB / 286.8 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.0318, allocations: 16 kB / 286.8 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/0.0347, allocations: 5.823 MB / 292.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.0347, allocations: 8.031 kB / 292.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.03575, allocations: 0.8661 MB / 293.5 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.03595, allocations: 155.2 kB / 293.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.03601, allocations: 20 kB / 293.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.03628, allocations: 35.97 kB / 293.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.0364, allocations: 60.48 kB / 293.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.03642, allocations: 23.98 kB / 293.8 MB, free: 11.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002104/0.03663, allocations: 358.6 kB / 294.1 MB, free: 11 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03663, allocations: 0 / 294.1 MB, free: 11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005909/0.03722, allocations: 291.7 kB / 294.4 MB, free: 10.71 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.0001302/0.03735, allocations: 123.3 kB / 294.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009187/0.03827, allocations: 1.314 MB / 295.8 MB, free: 9.133 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.03828, allocations: 4 kB / 295.8 MB, free: 9.129 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004807/0.03876, allocations: 0.7286 MB / 296.6 MB, free: 8.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.03935, allocations: 238.9 kB / 296.8 MB, free: 8.109 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.04124, allocations: 1.422 MB / 298.2 MB, free: 6.645 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.04136, allocations: 168.9 kB / 298.4 MB, free: 6.457 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.04161, allocations: 94.02 kB / 298.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005737/0.04219, allocations: 425.9 kB / 298.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.04219, allocations: 0 / 298.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of Templates: time 0.02164/0.06382, allocations: 20.08 MB / 319 MB, free: 1.883 MB / 298.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.419859906192869]