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.002028/0.002028, allocations: 89.48 kB / 21.44 MB, free: 276 kB / 14.72 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.00239/0.00239, allocations: 163.5 kB / 24.71 MB, free: 3.527 MB / 14.72 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.421/1.421, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.1 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.024e-06/2.024e-06, allocations: 0 / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.169e-05, allocations: 10.22 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006904/0.006936, allocations: 4.491 MB / 303.4 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002903/0.009839, allocations: 1.305 MB / 304.7 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005421/0.01038, allocations: 11.94 kB / 304.8 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005067/0.01089, allocations: 162.5 kB / 304.9 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008342/0.01172, allocations: 349 kB / 305.3 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.01225, allocations: 227.5 kB / 305.5 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.0139, allocations: 1.23 MB / 306.7 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.01437, allocations: 210.5 kB / 306.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.01543, allocations: 0.6743 MB / 307.6 MB, free: 28 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006035/0.01603, allocations: 383 kB / 308 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.0162, allocations: 104 kB / 308.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.01639, allocations: 104 kB / 308.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.01664, allocations: 231.2 kB / 308.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005506/0.01719, allocations: 391 kB / 308.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.01876, allocations: 1.254 MB / 310 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.01876, allocations: 0 / 310 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.01877, allocations: 4 kB / 310 MB, free: 13.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.01879, allocations: 0 / 310 MB, free: 13.58 MB / 302.1 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.002856/0.02165, allocations: 1.28 MB / 311.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.0217, allocations: 11.98 kB / 311.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.02194, allocations: 116.3 kB / 311.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.02306, allocations: 0.5382 MB / 312 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.02339, allocations: 301.2 kB / 312.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.0235, allocations: 56.38 kB / 312.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.02587, allocations: 1.605 MB / 313.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.02589, allocations: 3.938 kB / 313.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/0.02598, allocations: 28 kB / 314 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.026, allocations: 19.98 kB / 314 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.02757, allocations: 0.5907 MB / 314.6 MB, free: 8.621 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003589/0.03116, allocations: 1.526 MB / 316.1 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.03255, allocations: 0.5701 MB / 316.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008606/0.03341, allocations: 366.4 kB / 317 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.145e-05/0.03347, allocations: 16.64 kB / 317 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.03352, allocations: 43.22 kB / 317.1 MB, free: 6.055 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/0.03352, allocations: 0 / 317.1 MB, free: 6.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005374/0.0389, allocations: 1.484 MB / 318.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005003/0.0394, allocations: 0.8272 MB / 319.4 MB, free: 3.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/0.04031, allocations: 0.6019 MB / 320 MB, free: 2.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.04046, allocations: 45.7 kB / 320 MB, free: 2.867 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.0408, allocations: 349.2 kB / 320.4 MB, free: 2.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.04111, allocations: 261.7 kB / 320.6 MB, free: 2.262 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.04139, allocations: 142.7 kB / 320.8 MB, free: 2.117 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002422/0.04164, allocations: 382.8 kB / 321.1 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007957/0.04243, allocations: 354.9 kB / 321.5 MB, free: 1.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1717/0.2142, allocations: 1.386 MB / 322.9 MB, free: 33.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.216, allocations: 0.6761 MB / 323.6 MB, free: 33.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.216, allocations: 1.469 kB / 323.6 MB, free: 33.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003033/0.219, allocations: 1.168 MB / 324.7 MB, free: 33.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/0.2191, allocations: 88.67 kB / 324.8 MB, free: 33.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.2191, allocations: 0 / 324.8 MB, free: 33.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008038/0.2199, allocations: 244.1 kB / 325 MB, free: 33.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/0.2206, allocations: 137.1 kB / 325.2 MB, free: 33.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007114/0.2277, allocations: 6.381 MB / 331.6 MB, free: 27.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.2288, allocations: 97.16 kB / 331.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.2288, allocations: 20.55 kB / 331.7 MB, free: 27.7 MB / 302.1 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.000412/0.2292, allocations: 225.8 kB / 331.9 MB, free: 27.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.2295, allocations: 88 kB / 332 MB, free: 27.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.2297, allocations: 89.11 kB / 332.1 MB, free: 27.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2297, allocations: 6.875 kB / 332.1 MB, free: 27.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2297, allocations: 0 / 332.1 MB, free: 27.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002515/0.2322, allocations: 1.235 MB / 333.3 MB, free: 26.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004016/0.2362, allocations: 1.669 MB / 335 MB, free: 25.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2362, allocations: 0 / 335 MB, free: 25.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007154/0.2369, allocations: 138.2 kB / 335.1 MB, free: 25.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005823/0.2375, allocations: 196.9 kB / 335.3 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/0.2376, allocations: 12.59 kB / 335.3 MB, free: 25.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005622/0.2432, allocations: 4.945 MB / 340.3 MB, free: 21.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2432, allocations: 0.9844 kB / 340.3 MB, free: 21.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003817/0.247, allocations: 1.394 MB / 341.7 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/0.2476, allocations: 165.2 kB / 341.8 MB, free: 20.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.2477, allocations: 20.08 kB / 341.8 MB, free: 20.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/0.2484, allocations: 50.5 kB / 341.9 MB, free: 20.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/0.2487, allocations: 63.11 kB / 342 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.2487, allocations: 19.03 kB / 342 MB, free: 20.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006158/0.2493, allocations: 440.8 kB / 342.4 MB, free: 20.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2493, allocations: 0 / 342.4 MB, free: 20.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001225/0.2505, allocations: 282.2 kB / 342.7 MB, free: 20.56 MB / 302.1 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.0001912/0.2507, allocations: 121.3 kB / 342.8 MB, free: 20.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.2531, allocations: 1.394 MB / 344.2 MB, free: 19.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.2531, allocations: 2.75 kB / 344.2 MB, free: 19.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.2545, allocations: 0.7406 MB / 344.9 MB, free: 19.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.2558, allocations: 224.2 kB / 345.2 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.2587, allocations: 1.492 MB / 346.6 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.259, allocations: 352.3 kB / 347 MB, free: 17.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004926/0.2595, allocations: 102.5 kB / 347.1 MB, free: 17.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.2597, allocations: 68.62 kB / 347.2 MB, free: 17.95 MB / 302.1 MB Notification: Performance of SimCode: time 1.473e-06/0.2597, allocations: 0 / 347.2 MB, free: 17.95 MB / 302.1 MB Notification: Performance of Templates: time 0.02926/0.289, allocations: 19.01 MB / 366.2 MB, free: 296 kB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] 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.411871034651995]