Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009406/0.0009406, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009376/0.0009376, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9734/0.9734, allocations: 177.1 MB / 205 MB, free: 5.227 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.893e-05, allocations: 2.312 kB / 273 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004142/0.004161, allocations: 4.952 MB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.005986, allocations: 1.304 MB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.006241, allocations: 11.94 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.006598, allocations: 158.6 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.00709, allocations: 345 kB / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.007431, allocations: 227.5 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000938/0.008369, allocations: 1.211 MB / 281.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.008658, allocations: 222.5 kB / 281.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005275/0.009186, allocations: 0.6666 MB / 282.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.009572, allocations: 379 kB / 282.4 MB, free: 7.871 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.009683, allocations: 100 kB / 282.5 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.009803, allocations: 104 kB / 282.6 MB, free: 7.672 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.009926, allocations: 231.2 kB / 282.8 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.01021, allocations: 383.1 kB / 283.2 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006575/0.01087, allocations: 0.7863 MB / 284 MB, free: 6.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.01087, allocations: 0 / 284 MB, free: 6.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01087, allocations: 0 / 284 MB, free: 6.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.01088, allocations: 0 / 284 MB, free: 6.281 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.001495/0.01238, allocations: 1.357 MB / 285.4 MB, free: 4.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.01242, allocations: 8.031 kB / 285.4 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.01266, allocations: 160.3 kB / 285.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/0.01325, allocations: 489.3 kB / 286 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.01342, allocations: 293.2 kB / 286.3 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/0.01351, allocations: 76.38 kB / 286.4 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.01453, allocations: 1.523 MB / 287.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.01454, allocations: 192 / 287.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.01459, allocations: 32.12 kB / 287.9 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.0146, allocations: 16 kB / 287.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.01519, allocations: 303.6 kB / 288.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.01723, allocations: 1.522 MB / 289.8 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1065/0.1237, allocations: 447.5 kB / 290.2 MB, free: 25.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.1242, allocations: 213.4 kB / 290.4 MB, free: 25.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-05/0.1242, allocations: 16.77 kB / 290.4 MB, free: 25.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.1243, allocations: 52.16 kB / 290.5 MB, free: 25.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 3.537e-06/0.1243, allocations: 0 / 290.5 MB, free: 25.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.002813/0.1271, allocations: 1.043 MB / 291.5 MB, free: 25.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.1272, allocations: 0.8221 MB / 292.3 MB, free: 24.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.1279, allocations: 0.5793 MB / 292.9 MB, free: 24.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/0.1279, allocations: 45.02 kB / 293 MB, free: 24.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.1281, allocations: 403.7 kB / 293.3 MB, free: 24.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.1283, allocations: 268.3 kB / 293.6 MB, free: 23.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.1285, allocations: 152 kB / 293.8 MB, free: 23.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1286, allocations: 0.5577 MB / 294.3 MB, free: 23.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.1289, allocations: 206.6 kB / 294.5 MB, free: 23.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.1295, allocations: 1.302 MB / 295.8 MB, free: 21.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.1301, allocations: 440.5 kB / 296.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1301, allocations: 5.438 kB / 296.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001409/0.1315, allocations: 0.868 MB / 297.1 MB, free: 21.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.1316, allocations: 92.05 kB / 297.2 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1316, allocations: 1.094 kB / 297.2 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005774/0.1321, allocations: 196.9 kB / 297.4 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.1326, allocations: 125.4 kB / 297.5 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/0.1361, allocations: 7.792 MB / 305.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.1365, allocations: 92.66 kB / 305.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.1365, allocations: 22.52 kB / 305.4 MB, free: 14.15 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.0001584/0.1367, allocations: 205 kB / 305.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.1368, allocations: 111.1 kB / 305.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.701e-05/0.1369, allocations: 86.56 kB / 305.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1369, allocations: 7.719 kB / 305.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1369, allocations: 0 / 305.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009124/0.1378, allocations: 0.9328 MB / 306.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.1395, allocations: 1.392 MB / 308.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1395, allocations: 4.312 kB / 308.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.1399, allocations: 129.2 kB / 308.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003339/0.1402, allocations: 158.5 kB / 308.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.1402, allocations: 14.16 kB / 308.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.1425, allocations: 5.919 MB / 314.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1425, allocations: 5.312 kB / 314.4 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.1437, allocations: 0.9643 MB / 315.3 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.1439, allocations: 159.4 kB / 315.5 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/0.1439, allocations: 15.97 kB / 315.5 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.1442, allocations: 34.66 kB / 315.6 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.1443, allocations: 62.69 kB / 315.6 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.1444, allocations: 22.23 kB / 315.6 MB, free: 6.312 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002806/0.1446, allocations: 381.9 kB / 316 MB, free: 6.133 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1446, allocations: 1.219 kB / 316 MB, free: 6.133 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006297/0.1453, allocations: 291.2 kB / 316.3 MB, free: 6.09 MB / 266.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.0001107/0.1454, allocations: 133 kB / 316.4 MB, free: 5.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009491/0.1463, allocations: 1.36 MB / 317.8 MB, free: 4.902 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1463, allocations: 4.875 kB / 317.8 MB, free: 4.898 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.1467, allocations: 0.7538 MB / 318.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.1473, allocations: 238.2 kB / 318.8 MB, free: 4.211 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.1491, allocations: 1.436 MB / 320.2 MB, free: 3.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.254e-05/0.1492, allocations: 161.2 kB / 320.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000234/0.1495, allocations: 93.03 kB / 320.5 MB, free: 3.219 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.1496, allocations: 66.7 kB / 320.5 MB, free: 3.156 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1496, allocations: 0 / 320.5 MB, free: 3.156 MB / 266.7 MB Notification: Performance of Templates: time 0.01885/0.1684, allocations: 18.53 MB / 339.1 MB, free: 1.066 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.3649105592630804]