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.001295/0.001295, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.004336/0.004336, allocations: 141.7 kB / 24.97 MB, free: 8.359 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.9342/0.9342, allocations: 173.4 MB / 201.5 MB, free: 9.316 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.533e-06/1.533e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.465e-05, allocations: 6.25 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004288/0.004312, allocations: 4.926 MB / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.006151, allocations: 1.273 MB / 274.3 MB, free: 500 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.006405, allocations: 15.94 kB / 274.3 MB, free: 484 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.006728, allocations: 158.6 kB / 274.4 MB, free: 324 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.00718, allocations: 345.1 kB / 274.8 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.007511, allocations: 231.5 kB / 275 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008696/0.008381, allocations: 1.199 MB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.008667, allocations: 230.5 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000549/0.009216, allocations: 0.6705 MB / 277.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.009592, allocations: 378.9 kB / 277.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.009696, allocations: 104 kB / 277.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.009799, allocations: 104 kB / 277.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.009915, allocations: 223.2 kB / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.01018, allocations: 387.2 kB / 278.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006026/0.01079, allocations: 0.7707 MB / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01079, allocations: 0 / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01079, allocations: 4 kB / 279 MB, free: 11.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.0108, allocations: 0 / 279 MB, free: 11.68 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.001407/0.01221, allocations: 1.365 MB / 280.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.01224, allocations: 11.97 kB / 280.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.01242, allocations: 164.2 kB / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.01296, allocations: 493.4 kB / 281.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.01313, allocations: 297.2 kB / 281.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.01321, allocations: 72.38 kB / 281.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.01416, allocations: 1.519 MB / 282.9 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.01418, allocations: 192 / 282.9 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.01423, allocations: 36.11 kB / 283 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.01424, allocations: 16 kB / 283 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.01472, allocations: 303.6 kB / 283.3 MB, free: 6.973 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.01659, allocations: 1.51 MB / 284.8 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.01735, allocations: 473.1 kB / 285.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.01764, allocations: 209.3 kB / 285.5 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.01769, allocations: 20.64 kB / 285.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.01772, allocations: 50.05 kB / 285.5 MB, free: 4.664 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/0.01772, allocations: 0 / 285.5 MB, free: 4.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.002067/0.01979, allocations: 1.038 MB / 286.6 MB, free: 3.605 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002212/0.02001, allocations: 0.8234 MB / 287.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004618/0.02047, allocations: 0.5768 MB / 288 MB, free: 1.992 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.02051, allocations: 49.97 kB / 288 MB, free: 1.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.02071, allocations: 403.9 kB / 288.4 MB, free: 1.535 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.02085, allocations: 265.7 kB / 288.7 MB, free: 1.273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.021, allocations: 156.2 kB / 288.8 MB, free: 1.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.02116, allocations: 0.5586 MB / 289.4 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.0214, allocations: 203 kB / 289.6 MB, free: 332 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/0.02201, allocations: 1.298 MB / 290.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.0225, allocations: 438.7 kB / 291.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.02251, allocations: 0 / 291.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001052/0.02356, allocations: 0.8689 MB / 292.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.0236, allocations: 97.03 kB / 292.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.02361, allocations: 0 / 292.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004328/0.02404, allocations: 190.5 kB / 292.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.02434, allocations: 123.9 kB / 292.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004039/0.02837, allocations: 7.813 MB / 300.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.0287, allocations: 83.62 kB / 300.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.02873, allocations: 27.98 kB / 300.5 MB, free: 4.445 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.000176/0.02891, allocations: 200.5 kB / 300.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.02901, allocations: 115.6 kB / 300.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.638e-05/0.0291, allocations: 86.75 kB / 300.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.02911, allocations: 11.98 kB / 300.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.02911, allocations: 0 / 300.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009241/0.03003, allocations: 0.9251 MB / 301.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.03173, allocations: 1.396 MB / 303.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.03173, allocations: 0 / 303.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.03205, allocations: 123.9 kB / 303.3 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003223/0.03237, allocations: 162.9 kB / 303.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.0324, allocations: 19.98 kB / 303.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09868/0.1311, allocations: 5.906 MB / 309.4 MB, free: 40.9 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1311, allocations: 2.5 kB / 309.4 MB, free: 40.9 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.1325, allocations: 0.9501 MB / 310.4 MB, free: 40.63 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.1328, allocations: 160.1 kB / 310.5 MB, free: 40.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.1328, allocations: 24.5 kB / 310.6 MB, free: 40.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.1332, allocations: 35.52 kB / 310.6 MB, free: 40.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.1333, allocations: 59.58 kB / 310.7 MB, free: 40.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.1333, allocations: 21.75 kB / 310.7 MB, free: 40.63 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003097/0.1336, allocations: 390.1 kB / 311.1 MB, free: 40.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1336, allocations: 3.438 kB / 311.1 MB, free: 40.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006284/0.1343, allocations: 288.3 kB / 311.3 MB, free: 40.5 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.0001275/0.1344, allocations: 124.6 kB / 311.5 MB, free: 40.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.1354, allocations: 1.376 MB / 312.8 MB, free: 39.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1354, allocations: 2.25 kB / 312.8 MB, free: 39.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004648/0.1359, allocations: 0.7472 MB / 313.6 MB, free: 38.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.1365, allocations: 234.9 kB / 313.8 MB, free: 38.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.1386, allocations: 1.449 MB / 315.3 MB, free: 38.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.1387, allocations: 160.6 kB / 315.4 MB, free: 38.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002897/0.139, allocations: 95.3 kB / 315.5 MB, free: 38.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.1391, allocations: 65.89 kB / 315.6 MB, free: 38.06 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1391, allocations: 0 / 315.6 MB, free: 38.06 MB / 282.7 MB Notification: Performance of Templates: time 0.01781/0.1569, allocations: 18.51 MB / 334.1 MB, free: 25.5 MB / 282.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.2064856810029596]