Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001942/0.001942, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00198/0.00198, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.606e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.007377/0.007403, allocations: 4.997 MB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.01044, allocations: 1.32 MB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003328/0.01078, allocations: 15.88 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004607/0.01124, allocations: 162.6 kB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007324/0.01197, allocations: 352.9 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.01244, allocations: 227.5 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.01388, allocations: 1.229 MB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.01427, allocations: 210.5 kB / 280.7 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008783/0.01515, allocations: 0.6783 MB / 281.4 MB, free: 8.578 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006069/0.01576, allocations: 378.9 kB / 281.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.01594, allocations: 104 kB / 281.8 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.01615, allocations: 108 kB / 281.9 MB, free: 8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.01639, allocations: 227.2 kB / 282.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004985/0.01689, allocations: 391.1 kB / 282.5 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.01847, allocations: 1.254 MB / 283.8 MB, free: 6.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.01847, allocations: 4 kB / 283.8 MB, free: 6.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01847, allocations: 0 / 283.8 MB, free: 6.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.01849, allocations: 0 / 283.8 MB, free: 6.133 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.002845/0.02133, allocations: 1.431 MB / 285.2 MB, free: 4.645 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.02137, allocations: 15.98 kB / 285.2 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/0.02181, allocations: 160.3 kB / 285.4 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.02287, allocations: 0.5371 MB / 285.9 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003295/0.0232, allocations: 293.2 kB / 286.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.02334, allocations: 72.38 kB / 286.3 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.02548, allocations: 1.682 MB / 288 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.0255, allocations: 7.938 kB / 288 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/0.02558, allocations: 32 kB / 288 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.02559, allocations: 12 kB / 288 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.02697, allocations: 0.5517 MB / 288.6 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.0306, allocations: 1.749 MB / 290.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.03187, allocations: 0.5712 MB / 290.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/0.03264, allocations: 353.9 kB / 291.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.583e-05/0.03272, allocations: 20.64 kB / 291.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.03277, allocations: 50.05 kB / 291.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 2.434e-06/0.03277, allocations: 0 / 291.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.005015/0.03779, allocations: 1.394 MB / 292.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005576/0.03834, allocations: 0.8273 MB / 293.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.03939, allocations: 0.7769 MB / 294.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/0.03947, allocations: 45.7 kB / 294.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004212/0.03989, allocations: 424 kB / 294.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.04018, allocations: 277.6 kB / 295 MB, free: 10.1 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/0.04049, allocations: 164.3 kB / 295.2 MB, free: 9.934 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004192/0.0409, allocations: 0.5977 MB / 295.8 MB, free: 9.324 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006983/0.0416, allocations: 335 kB / 296.1 MB, free: 8.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.04322, allocations: 1.474 MB / 297.6 MB, free: 7.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.04462, allocations: 0.69 MB / 298.3 MB, free: 6.441 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.04462, allocations: 4 kB / 298.3 MB, free: 6.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00296/0.04758, allocations: 1.154 MB / 299.5 MB, free: 5.227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/0.04766, allocations: 85.11 kB / 299.5 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.04767, allocations: 4 kB / 299.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009744/0.04865, allocations: 262.4 kB / 299.8 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.04929, allocations: 127.9 kB / 299.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1074/0.1567, allocations: 8.521 MB / 308.4 MB, free: 37.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008627/0.1575, allocations: 89.09 kB / 308.5 MB, free: 37.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.1576, allocations: 22.72 kB / 308.5 MB, free: 37.37 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.0002959/0.1579, allocations: 261.6 kB / 308.8 MB, free: 37.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.1581, allocations: 115.9 kB / 308.9 MB, free: 37.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.1582, allocations: 91.67 kB / 309 MB, free: 37.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.1582, allocations: 9.219 kB / 309 MB, free: 37.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1582, allocations: 1.781 kB / 309 MB, free: 37.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002/0.1602, allocations: 1.182 MB / 310.2 MB, free: 36.62 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/0.1635, allocations: 1.782 MB / 312 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1635, allocations: 3.531 kB / 312 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006395/0.1641, allocations: 130.9 kB / 312.1 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007114/0.1648, allocations: 222.5 kB / 312.3 MB, free: 36.03 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.1649, allocations: 22.47 kB / 312.4 MB, free: 36.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004986/0.1698, allocations: 6.515 MB / 318.9 MB, free: 30.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1698, allocations: 0.7969 kB / 318.9 MB, free: 30.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.1726, allocations: 1.393 MB / 320.3 MB, free: 29.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.1729, allocations: 162.8 kB / 320.4 MB, free: 29.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.173, allocations: 19.73 kB / 320.4 MB, free: 29.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.1736, allocations: 45 kB / 320.5 MB, free: 29.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.1738, allocations: 71.48 kB / 320.6 MB, free: 29.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.1738, allocations: 20.55 kB / 320.6 MB, free: 29.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005154/0.1743, allocations: 0.5068 MB / 321.1 MB, free: 29.1 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1743, allocations: 0 / 321.1 MB, free: 29.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007859/0.1751, allocations: 286 kB / 321.4 MB, free: 29.05 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.0001283/0.1752, allocations: 118.4 kB / 321.5 MB, free: 28.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.177, allocations: 1.625 MB / 323.1 MB, free: 27.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.177, allocations: 4.438 kB / 323.1 MB, free: 27.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.1782, allocations: 0.9094 MB / 324 MB, free: 27.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009218/0.1791, allocations: 254 kB / 324.3 MB, free: 27.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.1813, allocations: 1.524 MB / 325.8 MB, free: 26.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.1816, allocations: 349 kB / 326.1 MB, free: 26.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003412/0.1819, allocations: 96.36 kB / 326.2 MB, free: 26.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.1821, allocations: 73.58 kB / 326.3 MB, free: 26.04 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1821, allocations: 0 / 326.3 MB, free: 26.04 MB / 282.7 MB Notification: Performance of Templates: time 0.02256/0.2046, allocations: 19.33 MB / 345.6 MB, free: 8.91 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.298973307944834]