Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009898/0.0009898, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009511/0.0009511, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9461/0.9461, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.668e-05, allocations: 9.203 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.003967/0.003984, allocations: 5.007 MB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.005951, allocations: 1.37 MB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.006164, allocations: 15.88 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.006482, allocations: 166.6 kB / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004592/0.006941, allocations: 356.9 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.007244, allocations: 231.5 kB / 280.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008159/0.00806, allocations: 1.23 MB / 281.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.008323, allocations: 224.5 kB / 282 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/0.008865, allocations: 0.6744 MB / 282.7 MB, free: 7.723 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.009225, allocations: 382.9 kB / 283.1 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.596e-05/0.009321, allocations: 100 kB / 283.1 MB, free: 7.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.009423, allocations: 108 kB / 283.3 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.009534, allocations: 231.2 kB / 283.5 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.009779, allocations: 383.2 kB / 283.9 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.01034, allocations: 0.7941 MB / 284.6 MB, free: 5.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01034, allocations: 0 / 284.6 MB, free: 5.746 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01034, allocations: 0 / 284.6 MB, free: 5.746 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.01035, allocations: 0 / 284.6 MB, free: 5.746 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.001192/0.01154, allocations: 1.236 MB / 285.9 MB, free: 4.461 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.01157, allocations: 11.98 kB / 285.9 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.0117, allocations: 124.8 kB / 286 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.01211, allocations: 386.1 kB / 286.4 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.01226, allocations: 293.2 kB / 286.7 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.01233, allocations: 76.33 kB / 286.8 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007613/0.01309, allocations: 1.41 MB / 288.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.01311, allocations: 3.938 kB / 288.2 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.01314, allocations: 28 kB / 288.2 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.01315, allocations: 12 kB / 288.2 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.01343, allocations: 206.2 kB / 288.4 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.01486, allocations: 1.016 MB / 289.4 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003513/0.01521, allocations: 323.8 kB / 289.7 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.01539, allocations: 151.3 kB / 289.9 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.01543, allocations: 20.64 kB / 289.9 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1111/0.1265, allocations: 46.89 kB / 290 MB, free: 26.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 4.448e-06/0.1265, allocations: 0 / 290 MB, free: 26.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001885/0.1284, allocations: 0.8099 MB / 290.8 MB, free: 26.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1285, allocations: 0.8229 MB / 291.6 MB, free: 25.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.1289, allocations: 0.4967 MB / 292.1 MB, free: 24.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.1289, allocations: 44.55 kB / 292.1 MB, free: 24.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.1291, allocations: 251.4 kB / 292.4 MB, free: 24.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.1292, allocations: 269.8 kB / 292.6 MB, free: 24.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.1293, allocations: 142.9 kB / 292.8 MB, free: 24.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.1294, allocations: 395.9 kB / 293.2 MB, free: 24.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.1296, allocations: 163.4 kB / 293.3 MB, free: 24.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.1299, allocations: 1.168 MB / 294.5 MB, free: 23.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.1303, allocations: 366.9 kB / 294.8 MB, free: 22.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1303, allocations: 1.438 kB / 294.8 MB, free: 22.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007698/0.131, allocations: 0.6667 MB / 295.5 MB, free: 22.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.1311, allocations: 88.53 kB / 295.6 MB, free: 22.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1311, allocations: 1.688 kB / 295.6 MB, free: 22.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.1315, allocations: 178.4 kB / 295.8 MB, free: 22.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.1319, allocations: 176.5 kB / 296 MB, free: 22.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002691/0.1346, allocations: 5.3 MB / 301.3 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/0.1349, allocations: 87.5 kB / 301.3 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.135, allocations: 15.2 kB / 301.4 MB, free: 17.8 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.0001441/0.1351, allocations: 162.8 kB / 301.5 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1352, allocations: 84.12 kB / 301.6 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.654e-05/0.1353, allocations: 87.08 kB / 301.7 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1353, allocations: 7.656 kB / 301.7 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1353, allocations: 3.938 kB / 301.7 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006522/0.136, allocations: 0.7826 MB / 302.5 MB, free: 17.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.1373, allocations: 0.9582 MB / 303.4 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1373, allocations: 1.406 kB / 303.4 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.1377, allocations: 170.2 kB / 303.6 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/0.138, allocations: 145.6 kB / 303.7 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.138, allocations: 11.58 kB / 303.8 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.1398, allocations: 4.046 MB / 307.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1398, allocations: 256 / 307.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008418/0.1407, allocations: 0.695 MB / 308.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.1408, allocations: 99.94 kB / 308.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.1409, allocations: 21.97 kB / 308.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.1411, allocations: 42.23 kB / 308.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.1412, allocations: 68.98 kB / 308.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.1413, allocations: 15.17 kB / 308.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1414, allocations: 251.2 kB / 309 MB, free: 13.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1414, allocations: 1.344 kB / 309 MB, free: 13.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004909/0.1419, allocations: 277.5 kB / 309.3 MB, free: 13 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 8.985e-05/0.142, allocations: 106.7 kB / 309.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006313/0.1426, allocations: 1.071 MB / 310.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.1426, allocations: 7.625 kB / 310.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.1431, allocations: 0.5813 MB / 311 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.1435, allocations: 246.9 kB / 311.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.145, allocations: 1.365 MB / 312.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.695e-05/0.1451, allocations: 163 kB / 312.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.1454, allocations: 97.47 kB / 312.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/0.1459, allocations: 381.1 kB / 313.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1459, allocations: 0 / 313.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Templates: time 0.01897/0.1648, allocations: 20.76 MB / 334 MB, free: 7.211 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.0948949018493295]