Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001275/0.001275, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001423/0.001423, allocations: 161 kB / 24.56 MB, free: 12 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.9332/0.9332, allocations: 177.1 MB / 205 MB, free: 5.641 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.TwoMass,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.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,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.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 273 MB, free: 1.578 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.538e-05, allocations: 2.312 kB / 273 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004125/0.00414, allocations: 5.054 MB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.005897, allocations: 1.328 MB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.006124, allocations: 15.88 kB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.00645, allocations: 154.6 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.006894, allocations: 356.9 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.007241, allocations: 227.5 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000905/0.008146, allocations: 1.222 MB / 281.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.008415, allocations: 214.5 kB / 281.5 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005827/0.008998, allocations: 0.6822 MB / 282.2 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000625/0.009623, allocations: 378.9 kB / 282.6 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.009734, allocations: 104 kB / 282.7 MB, free: 7.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.009843, allocations: 104 kB / 282.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.009957, allocations: 235.2 kB / 283 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002469/0.0102, allocations: 383.2 kB / 283.4 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005826/0.01079, allocations: 0.7863 MB / 284.2 MB, free: 6.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01079, allocations: 0 / 284.2 MB, free: 6.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01079, allocations: 4 kB / 284.2 MB, free: 6.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.0108, allocations: 0 / 284.2 MB, free: 6.32 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001363/0.01216, allocations: 1.372 MB / 285.5 MB, free: 4.891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.0122, allocations: 12.03 kB / 285.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.01236, allocations: 164.2 kB / 285.7 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.01286, allocations: 0.4891 MB / 286.2 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.01301, allocations: 297.2 kB / 286.5 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/0.01308, allocations: 68.38 kB / 286.5 MB, free: 3.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009532/0.01404, allocations: 1.515 MB / 288.1 MB, free: 1.949 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.01405, allocations: 7.938 kB / 288.1 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.0141, allocations: 28 kB / 288.1 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.01411, allocations: 16 kB / 288.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/0.01456, allocations: 295.6 kB / 288.4 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.01662, allocations: 1.487 MB / 289.9 MB, free: 84 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.106/0.1226, allocations: 380.6 kB / 290.3 MB, free: 26.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.1229, allocations: 211.6 kB / 290.5 MB, free: 26.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.123, allocations: 16.75 kB / 290.5 MB, free: 26.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.123, allocations: 54.28 kB / 290.5 MB, free: 26.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.435e-06/0.123, allocations: 0 / 290.5 MB, free: 26.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.002184/0.1252, allocations: 1.028 MB / 291.6 MB, free: 26.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.1253, allocations: 0.8252 MB / 292.4 MB, free: 25.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.1259, allocations: 0.6179 MB / 293 MB, free: 24.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.1259, allocations: 41.92 kB / 293 MB, free: 24.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.1261, allocations: 398.1 kB / 293.4 MB, free: 24.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.1262, allocations: 262.7 kB / 293.7 MB, free: 24.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.1264, allocations: 150.8 kB / 293.8 MB, free: 24.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1265, allocations: 0.5651 MB / 294.4 MB, free: 24.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.1267, allocations: 205.2 kB / 294.6 MB, free: 24.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.1272, allocations: 1.298 MB / 295.9 MB, free: 22.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.1277, allocations: 436.8 kB / 296.3 MB, free: 22.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.1277, allocations: 3.938 kB / 296.3 MB, free: 22.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001118/0.1288, allocations: 0.8654 MB / 297.2 MB, free: 22.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.1288, allocations: 92.17 kB / 297.3 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1288, allocations: 1.219 kB / 297.3 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004702/0.1293, allocations: 189.7 kB / 297.5 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.1297, allocations: 139.5 kB / 297.6 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.133, allocations: 7.796 MB / 305.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.1333, allocations: 88.5 kB / 305.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.1334, allocations: 22.2 kB / 305.5 MB, free: 14.64 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 (69): * Single equations (assignments): 62 * 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.0001563/0.1335, allocations: 206.2 kB / 305.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1336, allocations: 118.7 kB / 305.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.325e-05/0.1337, allocations: 85.27 kB / 305.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1337, allocations: 6.594 kB / 305.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1337, allocations: 1.75 kB / 305.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000892/0.1346, allocations: 0.9316 MB / 306.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.1363, allocations: 1.394 MB / 308.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1363, allocations: 0 / 308.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.1367, allocations: 135.1 kB / 308.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003222/0.137, allocations: 160.4 kB / 308.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.137, allocations: 18.19 kB / 308.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.1395, allocations: 5.938 MB / 314.5 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1395, allocations: 0 / 314.5 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.1407, allocations: 0.9508 MB / 315.4 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.1409, allocations: 164 kB / 315.6 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.141, allocations: 19.12 kB / 315.6 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.1413, allocations: 46.02 kB / 315.7 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.1414, allocations: 68 kB / 315.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.1414, allocations: 16.5 kB / 315.8 MB, free: 6.648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002811/0.1417, allocations: 411.1 kB / 316.2 MB, free: 6.457 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1417, allocations: 0 / 316.2 MB, free: 6.457 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001768/0.1435, allocations: 286.4 kB / 316.4 MB, free: 6.41 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002007/0.1437, allocations: 124.5 kB / 316.6 MB, free: 6.301 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.1449, allocations: 1.369 MB / 317.9 MB, free: 5.215 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.1449, allocations: 0.75 kB / 317.9 MB, free: 5.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005367/0.1455, allocations: 0.7916 MB / 318.7 MB, free: 4.617 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006378/0.1461, allocations: 250.7 kB / 319 MB, free: 4.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.148, allocations: 1.445 MB / 320.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.279e-05/0.1481, allocations: 162.5 kB / 320.6 MB, free: 3.605 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002295/0.1484, allocations: 98.92 kB / 320.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1485, allocations: 66.8 kB / 320.7 MB, free: 3.465 MB / 266.7 MB Notification: Performance of SimCode: time 1.733e-06/0.1485, allocations: 0 / 320.7 MB, free: 3.465 MB / 266.7 MB Notification: Performance of Templates: time 0.02201/0.1705, allocations: 20.37 MB / 341.1 MB, free: 15.51 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.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.229281831998378]