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.002606/0.002606, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.003371/0.003371, allocations: 164.5 kB / 25.03 MB, free: 8.41 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 1.504/1.504, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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 2.535e-06/2.535e-06, allocations: 0 / 250.4 MB, free: 7.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.45e-05/4.704e-05, allocations: 6.25 kB / 250.4 MB, free: 7.723 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.008689/0.008736, allocations: 4.991 MB / 255.3 MB, free: 2.699 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003666/0.0124, allocations: 1.313 MB / 256.7 MB, free: 1.375 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007174/0.01312, allocations: 15.88 kB / 256.7 MB, free: 1.359 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.01373, allocations: 154.6 kB / 256.8 MB, free: 1.207 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008843/0.01461, allocations: 352.9 kB / 257.2 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.01519, allocations: 239.5 kB / 257.4 MB, free: 0.625 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001797/0.01699, allocations: 1.226 MB / 258.6 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.01742, allocations: 214.5 kB / 258.8 MB, free: 15.17 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009676/0.01839, allocations: 0.6744 MB / 259.5 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006846/0.01907, allocations: 390.9 kB / 259.9 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.01926, allocations: 104 kB / 260 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.01946, allocations: 104 kB / 260.1 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.01972, allocations: 231.2 kB / 260.3 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000516/0.02024, allocations: 387.1 kB / 260.7 MB, free: 13.3 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.02184, allocations: 1.258 MB / 262 MB, free: 12.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.02185, allocations: 0 / 262 MB, free: 12.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02185, allocations: 4 kB / 262 MB, free: 12.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.02186, allocations: 0 / 262 MB, free: 12.04 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.002796/0.02466, allocations: 1.427 MB / 263.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.02471, allocations: 11.98 kB / 263.4 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/0.025, allocations: 164.3 kB / 263.6 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.02604, allocations: 0.5371 MB / 264.1 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003248/0.02636, allocations: 297.2 kB / 264.4 MB, free: 9.469 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.0265, allocations: 68.38 kB / 264.5 MB, free: 9.402 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.0288, allocations: 1.686 MB / 266.1 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.02883, allocations: 3.938 kB / 266.1 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/0.0289, allocations: 28 kB / 266.2 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.02892, allocations: 12 kB / 266.2 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.03026, allocations: 0.5478 MB / 266.7 MB, free: 6.805 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/0.03394, allocations: 1.757 MB / 268.5 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.03524, allocations: 0.5822 MB / 269.1 MB, free: 4.418 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007936/0.03603, allocations: 349.3 kB / 269.4 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.278e-05/0.0361, allocations: 12.66 kB / 269.4 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.842e-05/0.03616, allocations: 54.05 kB / 269.5 MB, free: 4 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 2.946e-06/0.03616, allocations: 0 / 269.5 MB, free: 4 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.004802/0.04096, allocations: 1.402 MB / 270.9 MB, free: 2.574 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008166/0.04178, allocations: 0.8272 MB / 271.7 MB, free: 1.551 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.0429, allocations: 0.7807 MB / 272.5 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.158e-05/0.04299, allocations: 41.7 kB / 272.5 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.04341, allocations: 424 kB / 272.9 MB, free: 296 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000307/0.04371, allocations: 273.7 kB / 273.2 MB, free: 20 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.04403, allocations: 172.3 kB / 273.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004172/0.04445, allocations: 0.6016 MB / 274 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006727/0.04512, allocations: 335 kB / 274.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.04683, allocations: 1.474 MB / 275.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.04818, allocations: 0.69 MB / 276.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.04819, allocations: 4 kB / 276.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002778/0.05097, allocations: 1.146 MB / 277.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.05107, allocations: 93.09 kB / 277.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.05108, allocations: 0 / 277.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.05209, allocations: 262.4 kB / 278 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.05274, allocations: 135.9 kB / 278.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.06339, allocations: 8.521 MB / 286.6 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.06443, allocations: 79.59 kB / 286.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/0.0645, allocations: 27.98 kB / 286.7 MB, free: 1.504 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.0005002/0.065, allocations: 256.5 kB / 287 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.06522, allocations: 111.5 kB / 287.1 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.06544, allocations: 94.89 kB / 287.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.06545, allocations: 4.188 kB / 287.2 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.06546, allocations: 4 kB / 287.2 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002545/0.06801, allocations: 1.179 MB / 288.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004023/0.07203, allocations: 1.791 MB / 290.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.07204, allocations: 0 / 290.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006866/0.07272, allocations: 127.9 kB / 290.3 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000812/0.07354, allocations: 235 kB / 290.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.07359, allocations: 15.98 kB / 290.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008444/0.08204, allocations: 6.529 MB / 297.1 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.08204, allocations: 0 / 297.1 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/0.08557, allocations: 1.381 MB / 298.4 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/0.08608, allocations: 175.1 kB / 298.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.08621, allocations: 16.06 kB / 298.6 MB, free: 5.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.08682, allocations: 39.97 kB / 298.7 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.08704, allocations: 68.53 kB / 298.7 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/0.08709, allocations: 23.98 kB / 298.8 MB, free: 4.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000745/0.08783, allocations: 0.5107 MB / 299.3 MB, free: 4.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08783, allocations: 0 / 299.3 MB, free: 4.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001/0.08883, allocations: 275.8 kB / 299.5 MB, free: 4.102 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.0002162/0.08905, allocations: 123.2 kB / 299.7 MB, free: 3.973 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002915/0.09197, allocations: 1.63 MB / 301.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.09197, allocations: 4 kB / 301.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.09352, allocations: 0.9199 MB / 302.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.09458, allocations: 239 kB / 302.4 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.09773, allocations: 1.512 MB / 304 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.09818, allocations: 349.7 kB / 304.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000441/0.09862, allocations: 98.16 kB / 304.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.09881, allocations: 64.5 kB / 304.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of SimCode: time 1.583e-06/0.09881, allocations: 4 kB / 304.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Templates: time 0.03681/0.1356, allocations: 19.32 MB / 323.8 MB, free: 11.59 MB / 314.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.785944202914834]