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.0009178/0.0009178, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.0009311/0.0009311, allocations: 166.9 kB / 25.61 MB, free: 8.91 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.9664/0.9664, allocations: 158.6 MB / 187.5 MB, free: 2.793 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.372e-06/1.372e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.282e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004441/0.004464, allocations: 4.955 MB / 256.4 MB, free: 2.266 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.006829, allocations: 1.325 MB / 257.7 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003905/0.00722, allocations: 15.88 kB / 257.8 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.007591, allocations: 154.6 kB / 257.9 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005871/0.008178, allocations: 352.9 kB / 258.3 MB, free: 424 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.008633, allocations: 235.5 kB / 258.5 MB, free: 188 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.009754, allocations: 1.226 MB / 259.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.01008, allocations: 214.5 kB / 259.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000813/0.01089, allocations: 0.6783 MB / 260.6 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.01127, allocations: 379 kB / 261 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.01138, allocations: 104 kB / 261.1 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.0115, allocations: 104 kB / 261.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.01161, allocations: 235.2 kB / 261.4 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.01189, allocations: 383.2 kB / 261.8 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006149/0.0125, allocations: 0.7863 MB / 262.6 MB, free: 12.08 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.01251, allocations: 4 kB / 262.6 MB, free: 12.08 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.01251, allocations: 0 / 262.6 MB, free: 12.08 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.01252, allocations: 0 / 262.6 MB, free: 12.08 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.001415/0.01393, allocations: 1.384 MB / 263.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.01397, allocations: 15.98 kB / 264 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.01413, allocations: 160.3 kB / 264.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.01461, allocations: 496.7 kB / 264.6 MB, free: 9.949 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.01478, allocations: 293.2 kB / 264.9 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.892e-05/0.01486, allocations: 68.38 kB / 265 MB, free: 9.543 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000876/0.01573, allocations: 1.484 MB / 266.4 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.01575, allocations: 3.938 kB / 266.4 MB, free: 7.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.01579, allocations: 28 kB / 266.5 MB, free: 7.703 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.0158, allocations: 12 kB / 266.5 MB, free: 7.691 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.0161, allocations: 234.2 kB / 266.7 MB, free: 7.461 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.01777, allocations: 1.385 MB / 268.1 MB, free: 6.043 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.01817, allocations: 352 kB / 268.4 MB, free: 5.691 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.01837, allocations: 181.4 kB / 268.6 MB, free: 5.512 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.01841, allocations: 12.66 kB / 268.6 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.01844, allocations: 57.98 kB / 268.7 MB, free: 5.434 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 2.354e-06/0.01844, allocations: 0 / 268.7 MB, free: 5.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001701/0.02014, allocations: 0.9408 MB / 269.6 MB, free: 4.469 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002478/0.02039, allocations: 0.8311 MB / 270.5 MB, free: 3.441 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000403/0.0208, allocations: 0.5968 MB / 271.1 MB, free: 2.832 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.02084, allocations: 41.7 kB / 271.1 MB, free: 2.785 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.02105, allocations: 404 kB / 271.5 MB, free: 2.383 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.02119, allocations: 269.6 kB / 271.8 MB, free: 2.117 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.02136, allocations: 148.3 kB / 271.9 MB, free: 1.965 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.02154, allocations: 0.5741 MB / 272.5 MB, free: 1.379 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.0217, allocations: 171 kB / 272.6 MB, free: 1.195 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.02228, allocations: 1.279 MB / 273.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.02266, allocations: 382.7 kB / 274.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02266, allocations: 0 / 274.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001199/0.02386, allocations: 0.8101 MB / 275.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.02392, allocations: 89.09 kB / 275.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.02393, allocations: 0 / 275.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.02434, allocations: 182.7 kB / 275.4 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.02464, allocations: 135.8 kB / 275.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00444/0.02908, allocations: 7.68 MB / 283.2 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.02949, allocations: 87.52 kB / 283.3 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.02952, allocations: 16 kB / 283.3 MB, free: 5.625 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.0001947/0.02971, allocations: 208.6 kB / 283.5 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.756e-05/0.02981, allocations: 111.5 kB / 283.6 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.86e-05/0.02989, allocations: 87.02 kB / 283.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.02989, allocations: 15.98 kB / 283.7 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.0299, allocations: 3.938 kB / 283.7 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007688/0.03067, allocations: 0.8743 MB / 284.6 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.03248, allocations: 1.249 MB / 285.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.03249, allocations: 0 / 285.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.0329, allocations: 139.8 kB / 286 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003706/0.03327, allocations: 151 kB / 286.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.03331, allocations: 15.98 kB / 286.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004031/0.03734, allocations: 5.843 MB / 292 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.03734, allocations: 0 / 292 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.03863, allocations: 0.8576 MB / 292.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.0389, allocations: 163.2 kB / 293 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.03898, allocations: 20 kB / 293 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.03935, allocations: 47.95 kB / 293 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.03951, allocations: 72.47 kB / 293.1 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.03954, allocations: 12 kB / 293.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000304/0.03984, allocations: 382.8 kB / 293.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03984, allocations: 0 / 293.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007979/0.04064, allocations: 283.8 kB / 293.8 MB, free: 10.56 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.0001544/0.0408, allocations: 115.2 kB / 293.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.04192, allocations: 1.317 MB / 295.2 MB, free: 8.992 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.04193, allocations: 4 kB / 295.2 MB, free: 8.988 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009485/0.04288, allocations: 0.7752 MB / 296 MB, free: 8.156 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007776/0.04366, allocations: 246.9 kB / 296.2 MB, free: 7.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.04598, allocations: 1.423 MB / 297.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.04612, allocations: 165.1 kB / 297.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003135/0.04644, allocations: 102.2 kB / 297.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007375/0.04717, allocations: 433.9 kB / 298.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.04717, allocations: 0 / 298.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of Templates: time 0.03844/0.08561, allocations: 20.6 MB / 318.9 MB, free: 1.148 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.4111189576797187]