Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009409/0.0009409, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0009528/0.0009528, allocations: 173.2 kB / 25.33 MB, free: 8.648 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8407/0.8407, allocations: 158.6 MB / 187.2 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.545e-05, allocations: 2.312 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.01144/0.01146, allocations: 5.037 MB / 256.1 MB, free: 2.445 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.01368, allocations: 1.329 MB / 257.4 MB, free: 1.105 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.01397, allocations: 11.94 kB / 257.4 MB, free: 1.094 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002466/0.01644, allocations: 158.6 kB / 257.6 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007118/0.01715, allocations: 349 kB / 257.9 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.01763, allocations: 239.5 kB / 258.1 MB, free: 368 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.0189, allocations: 1.217 MB / 259.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004009/0.0193, allocations: 230.5 kB / 259.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008316/0.02013, allocations: 0.6705 MB / 260.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000531/0.02066, allocations: 386.9 kB / 260.6 MB, free: 13.85 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.02082, allocations: 104 kB / 260.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.02098, allocations: 104 kB / 260.8 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.02115, allocations: 227.2 kB / 261.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004035/0.02156, allocations: 383.2 kB / 261.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008192/0.02238, allocations: 0.7863 MB / 262.2 MB, free: 12.26 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.02238, allocations: 0 / 262.2 MB, free: 12.26 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.02238, allocations: 0 / 262.2 MB, free: 12.26 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.0224, allocations: 8 kB / 262.2 MB, free: 12.25 MB / 250.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.001573/0.02397, allocations: 1.372 MB / 263.6 MB, free: 10.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.02402, allocations: 15.98 kB / 263.6 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.0242, allocations: 156.3 kB / 263.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/0.02476, allocations: 0.4968 MB / 264.3 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.02493, allocations: 297.2 kB / 264.6 MB, free: 9.785 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.02505, allocations: 72.38 kB / 264.6 MB, free: 9.715 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.02606, allocations: 1.515 MB / 266.1 MB, free: 7.875 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.02608, allocations: 7.938 kB / 266.1 MB, free: 7.867 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.02612, allocations: 24 kB / 266.2 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.02613, allocations: 12 kB / 266.2 MB, free: 7.832 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.02659, allocations: 303.6 kB / 266.5 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.02873, allocations: 1.467 MB / 267.9 MB, free: 6.027 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/0.02942, allocations: 384.5 kB / 268.3 MB, free: 5.641 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.02972, allocations: 217.3 kB / 268.5 MB, free: 5.426 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.681e-05/0.02976, allocations: 24.58 kB / 268.6 MB, free: 5.402 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.0298, allocations: 50.05 kB / 268.6 MB, free: 5.344 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 3.276e-06/0.0298, allocations: 3.984 kB / 268.6 MB, free: 5.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.002052/0.03185, allocations: 1.027 MB / 269.6 MB, free: 4.289 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002629/0.03211, allocations: 0.8272 MB / 270.5 MB, free: 3.266 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.03262, allocations: 0.6167 MB / 271.1 MB, free: 2.637 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.03267, allocations: 45.7 kB / 271.1 MB, free: 2.586 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.03288, allocations: 392.1 kB / 271.5 MB, free: 2.195 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.03301, allocations: 261.7 kB / 271.8 MB, free: 1.938 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.03317, allocations: 152.2 kB / 271.9 MB, free: 1.781 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.03335, allocations: 0.5664 MB / 272.5 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.03359, allocations: 211 kB / 272.7 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/0.03425, allocations: 1.291 MB / 274 MB, free: 15.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.03473, allocations: 442.7 kB / 274.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.03473, allocations: 0 / 274.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001077/0.03581, allocations: 0.8727 MB / 275.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.03586, allocations: 85.11 kB / 275.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.03587, allocations: 0 / 275.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004413/0.03631, allocations: 198.5 kB / 275.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.03661, allocations: 127.9 kB / 275.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004438/0.04105, allocations: 7.806 MB / 283.5 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.04139, allocations: 87.52 kB / 283.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.47e-05/0.04142, allocations: 28.02 kB / 283.6 MB, free: 5.102 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.0001783/0.0416, allocations: 204.5 kB / 283.8 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.0417, allocations: 107.5 kB / 283.9 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.03e-05/0.04178, allocations: 94.94 kB / 284 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.04179, allocations: 8 kB / 284 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.04179, allocations: 192 / 284 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000934/0.04273, allocations: 0.9328 MB / 284.9 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.04505, allocations: 1.393 MB / 286.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.04505, allocations: 0 / 286.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.04546, allocations: 135.9 kB / 286.5 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003283/0.04579, allocations: 155 kB / 286.6 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.04582, allocations: 20 kB / 286.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/0.04895, allocations: 5.943 MB / 292.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.04895, allocations: 0 / 292.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.05039, allocations: 0.9437 MB / 293.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.05059, allocations: 167.1 kB / 293.7 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.05065, allocations: 20 kB / 293.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.05093, allocations: 43.95 kB / 293.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.05105, allocations: 68.53 kB / 293.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.05108, allocations: 16 kB / 293.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002946/0.05138, allocations: 415 kB / 294.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.05138, allocations: 0 / 294.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005553/0.05193, allocations: 275.8 kB / 294.5 MB, free: 9.602 MB / 282.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.0001251/0.05206, allocations: 123.1 kB / 294.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.0531, allocations: 1.372 MB / 296 MB, free: 7.973 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.05311, allocations: 128 / 296 MB, free: 7.973 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.05371, allocations: 0.7948 MB / 296.8 MB, free: 7.121 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.05429, allocations: 239 kB / 297 MB, free: 6.883 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006606/0.06089, allocations: 1.458 MB / 298.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.06109, allocations: 165.1 kB / 298.6 MB, free: 5.203 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006365/0.06173, allocations: 98.16 kB / 298.7 MB, free: 5.105 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.06195, allocations: 68.5 kB / 298.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of SimCode: time 3.316e-06/0.06196, allocations: 0 / 298.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of Templates: time 0.02475/0.08671, allocations: 20.33 MB / 319.1 MB, free: 0.7148 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.3917854889295995]