Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009496, allocations: 82.28 kB / 22.21 MB, free: 2.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009118/0.0009118, allocations: 145 kB / 25.59 MB, free: 8.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9334/0.9334, allocations: 173.4 MB / 202.2 MB, free: 8.281 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 269.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.811e-05, allocations: 2.312 kB / 269.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003883/0.003901, allocations: 4.858 MB / 274 MB, free: 4.938 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.005431, allocations: 1.262 MB / 275.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.005668, allocations: 15.94 kB / 275.3 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.005973, allocations: 162.5 kB / 275.5 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007043/0.006677, allocations: 341 kB / 275.8 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.007061, allocations: 231.6 kB / 276 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008956/0.007957, allocations: 1.199 MB / 277.2 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.008225, allocations: 230.5 kB / 277.5 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004972/0.008722, allocations: 0.6704 MB / 278.1 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.009119, allocations: 378.9 kB / 278.5 MB, free: 464 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.009222, allocations: 100 kB / 278.6 MB, free: 364 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.905e-05/0.009321, allocations: 104 kB / 278.7 MB, free: 260 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.009441, allocations: 219.2 kB / 278.9 MB, free: 40 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.009704, allocations: 383.3 kB / 279.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.01029, allocations: 0.7746 MB / 280.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01029, allocations: 0 / 280.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01029, allocations: 0 / 280.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.0103, allocations: 0 / 280.1 MB, free: 14.88 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001367/0.01167, allocations: 1.376 MB / 281.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.0117, allocations: 8.031 kB / 281.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.01186, allocations: 160.3 kB / 281.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004804/0.01234, allocations: 472 kB / 282.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.0125, allocations: 297.2 kB / 282.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-05/0.01258, allocations: 80.31 kB / 282.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.01362, allocations: 1.484 MB / 283.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.01363, allocations: 192 / 283.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.01367, allocations: 32.12 kB / 284 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.01368, allocations: 12 kB / 284 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.01399, allocations: 242.2 kB / 284.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.01577, allocations: 1.409 MB / 285.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.0164, allocations: 429.3 kB / 286 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.0166, allocations: 177.3 kB / 286.2 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.01664, allocations: 20.97 kB / 286.2 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.01667, allocations: 54.05 kB / 286.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.884e-06/0.01668, allocations: 0 / 286.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001793/0.01847, allocations: 0.9602 MB / 287.2 MB, free: 7.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002246/0.01869, allocations: 0.8234 MB / 288.1 MB, free: 6.156 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.01906, allocations: 0.5648 MB / 288.6 MB, free: 5.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.0191, allocations: 45.7 kB / 288.7 MB, free: 5.527 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.0193, allocations: 411.8 kB / 289.1 MB, free: 5.117 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.01944, allocations: 261.7 kB / 289.3 MB, free: 4.859 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.01959, allocations: 152.3 kB / 289.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.01975, allocations: 0.5624 MB / 290 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.01991, allocations: 179 kB / 290.2 MB, free: 3.934 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005439/0.02045, allocations: 1.275 MB / 291.5 MB, free: 2.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.02081, allocations: 382.6 kB / 291.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02082, allocations: 4 kB / 291.9 MB, free: 1.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009227/0.02174, allocations: 0.8024 MB / 292.7 MB, free: 1.043 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.02178, allocations: 89.09 kB / 292.8 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.02179, allocations: 3.938 kB / 292.8 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.02218, allocations: 182.7 kB / 292.9 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.02247, allocations: 127.8 kB / 293.1 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/0.02641, allocations: 7.697 MB / 300.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.02678, allocations: 79.53 kB / 300.8 MB, free: 8.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.0268, allocations: 16 kB / 300.8 MB, free: 8.367 MB / 282.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.0001807/0.02699, allocations: 208.5 kB / 301.1 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.02709, allocations: 107.5 kB / 301.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.801e-05/0.02718, allocations: 86.73 kB / 301.2 MB, free: 7.957 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.02718, allocations: 8 kB / 301.3 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.02719, allocations: 4 kB / 301.3 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007933/0.02798, allocations: 0.8665 MB / 302.1 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.02948, allocations: 1.263 MB / 303.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.02949, allocations: 0 / 303.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.0298, allocations: 127.8 kB / 303.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002948/0.03009, allocations: 151 kB / 303.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.03012, allocations: 19.92 kB / 303.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/0.03291, allocations: 5.819 MB / 309.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.03291, allocations: 3.938 kB / 309.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.03391, allocations: 0.8739 MB / 310.4 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.03411, allocations: 151.3 kB / 310.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/0.03418, allocations: 20 kB / 310.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.03446, allocations: 39.97 kB / 310.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.03456, allocations: 60.72 kB / 310.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.03459, allocations: 16 kB / 310.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000213/0.0348, allocations: 362.6 kB / 311 MB, free: 13.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0348, allocations: 4 kB / 311 MB, free: 13.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006151/0.03541, allocations: 291.7 kB / 311.3 MB, free: 13.34 MB / 298.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.0001269/0.03554, allocations: 123.2 kB / 311.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000922/0.03646, allocations: 1.323 MB / 312.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.03647, allocations: 0 / 312.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004388/0.03691, allocations: 0.7362 MB / 313.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.03749, allocations: 240 kB / 313.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.03934, allocations: 1.421 MB / 315.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.03945, allocations: 165 kB / 315.3 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.03969, allocations: 98 kB / 315.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/0.04026, allocations: 429.9 kB / 315.8 MB, free: 8.566 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.04026, allocations: 4 kB / 315.8 MB, free: 8.562 MB / 298.7 MB Notification: Performance of Templates: time 0.02106/0.06133, allocations: 20.08 MB / 335.9 MB, free: 4.844 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.1845908067189157]