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.0009749/0.0009749, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001137/0.001137, allocations: 172.4 kB / 25.61 MB, free: 8.566 MB / 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.9109/0.9109, allocations: 177.1 MB / 206.1 MB, free: 4.465 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.342e-06/1.342e-06, allocations: 0 / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.814e-05, allocations: 6.25 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005868/0.005886, allocations: 4.955 MB / 279.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.007723, allocations: 1.312 MB / 280.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.00796, allocations: 15.88 kB / 280.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.008279, allocations: 162.6 kB / 280.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004869/0.008766, allocations: 360.8 kB / 281 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.009083, allocations: 223.6 kB / 281.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000968/0.01005, allocations: 1.225 MB / 282.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.01032, allocations: 218.5 kB / 282.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/0.01092, allocations: 0.6783 MB / 283.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.0113, allocations: 379 kB / 283.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.01141, allocations: 111.9 kB / 283.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.01152, allocations: 104 kB / 283.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.01181, allocations: 231.2 kB / 284.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.01208, allocations: 383.2 kB / 284.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005996/0.01268, allocations: 0.7824 MB / 285.3 MB, free: 9.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.01269, allocations: 4 kB / 285.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01269, allocations: 0 / 285.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.0127, allocations: 4 kB / 285.3 MB, free: 9.285 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.001448/0.01415, allocations: 1.38 MB / 286.7 MB, free: 7.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.01418, allocations: 12.03 kB / 286.7 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.01435, allocations: 160.3 kB / 286.8 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006576/0.01501, allocations: 488.8 kB / 287.3 MB, free: 7.172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.01517, allocations: 289.2 kB / 287.6 MB, free: 6.836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/0.01552, allocations: 72.38 kB / 287.7 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008486/0.01637, allocations: 1.48 MB / 289.1 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.01639, allocations: 3.938 kB / 289.1 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.01643, allocations: 32 kB / 289.2 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.01645, allocations: 12 kB / 289.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.01677, allocations: 238.1 kB / 289.4 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.01849, allocations: 1.389 MB / 290.8 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.01889, allocations: 343.3 kB / 291.1 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.0191, allocations: 182 kB / 291.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.01914, allocations: 20.64 kB / 291.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.01916, allocations: 53.98 kB / 291.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.034e-06/0.01917, allocations: 4 kB / 291.4 MB, free: 2.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001784/0.02095, allocations: 0.9446 MB / 292.3 MB, free: 1.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002244/0.02118, allocations: 0.8234 MB / 293.2 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.02156, allocations: 0.5969 MB / 293.8 MB, free: 44 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.02161, allocations: 41.75 kB / 293.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.02182, allocations: 411.9 kB / 294.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004101/0.02223, allocations: 265.6 kB / 294.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.02239, allocations: 152.3 kB / 294.6 MB, free: 15.17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.02254, allocations: 0.5702 MB / 295.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.0227, allocations: 179 kB / 295.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/0.02321, allocations: 1.267 MB / 296.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.02355, allocations: 382.6 kB / 297 MB, free: 12.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.02355, allocations: 0 / 297 MB, free: 12.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008966/0.02445, allocations: 0.8102 MB / 297.8 MB, free: 11.51 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.02449, allocations: 85.11 kB / 297.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.02449, allocations: 0 / 297.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003876/0.02488, allocations: 194.6 kB / 298.1 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.02518, allocations: 131.8 kB / 298.2 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/0.02915, allocations: 7.677 MB / 305.9 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.02954, allocations: 83.58 kB / 306 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.02958, allocations: 19.94 kB / 306 MB, free: 2.836 MB / 282.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.0001758/0.02975, allocations: 216.4 kB / 306.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.02987, allocations: 111.5 kB / 306.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.68e-05/0.02995, allocations: 91.02 kB / 306.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.02996, allocations: 8 kB / 306.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.02996, allocations: 0 / 306.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007984/0.03076, allocations: 0.8743 MB / 307.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.03249, allocations: 1.252 MB / 308.5 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.03249, allocations: 0 / 308.5 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.03283, allocations: 131.8 kB / 308.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/0.03318, allocations: 155 kB / 308.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.03321, allocations: 12 kB / 308.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.0361, allocations: 5.85 MB / 314.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.0361, allocations: 0 / 314.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.0371, allocations: 0.8693 MB / 315.6 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.03754, allocations: 167.2 kB / 315.7 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.0376, allocations: 16 kB / 315.7 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.0379, allocations: 43.97 kB / 315.8 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.03801, allocations: 68.53 kB / 315.8 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.03803, allocations: 12 kB / 315.9 MB, free: 8.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002232/0.03825, allocations: 382.8 kB / 316.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03825, allocations: 0 / 316.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005272/0.03878, allocations: 283.8 kB / 316.5 MB, free: 7.766 MB / 298.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.0001185/0.0389, allocations: 127.2 kB / 316.6 MB, free: 7.629 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008683/0.03977, allocations: 1.326 MB / 318 MB, free: 6.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.03977, allocations: 0 / 318 MB, free: 6.176 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.0403, allocations: 0.7637 MB / 318.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.04088, allocations: 246.7 kB / 319 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.04262, allocations: 1.412 MB / 320.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.04274, allocations: 169 kB / 320.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002478/0.04298, allocations: 94.17 kB / 320.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/0.04356, allocations: 437.9 kB / 321.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.04356, allocations: 0 / 321.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of Templates: time 0.03173/0.07529, allocations: 21.04 MB / 342.1 MB, free: 14.29 MB / 330.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.4459460843354464]