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.0007667/0.0007667, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009587/0.001725, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006807/0.0006807, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009264/0.001607, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.8749/0.8749, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07943/0.9543, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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.523e-06/1.523e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.411e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005964/0.005978, allocations: 5.031 MB / 250.2 MB, free: 8.504 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.008979, allocations: 1.382 MB / 251.6 MB, free: 7.117 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005095/0.009488, allocations: 15.88 kB / 251.6 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.00989, allocations: 166.5 kB / 251.8 MB, free: 6.938 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007989/0.01069, allocations: 349 kB / 252.1 MB, free: 6.594 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.01124, allocations: 235.5 kB / 252.4 MB, free: 6.363 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.01272, allocations: 1.226 MB / 253.6 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.01311, allocations: 228.5 kB / 253.8 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.01433, allocations: 0.8154 MB / 254.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006214/0.01495, allocations: 375 kB / 255 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.01514, allocations: 104 kB / 255.1 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.01533, allocations: 104 kB / 255.2 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.01549, allocations: 167.4 kB / 255.4 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.01588, allocations: 315.4 kB / 255.7 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.01726, allocations: 0.7046 MB / 256.4 MB, free: 2.309 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.01728, allocations: 0 / 256.4 MB, free: 2.309 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01728, allocations: 0 / 256.4 MB, free: 2.309 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.0173, allocations: 0 / 256.4 MB, free: 2.309 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.002048/0.01935, allocations: 1.431 MB / 257.8 MB, free: 0.832 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.01939, allocations: 8.031 kB / 257.8 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.0196, allocations: 132.8 kB / 257.9 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/0.02024, allocations: 390 kB / 258.3 MB, free: 296 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.02044, allocations: 297.2 kB / 258.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.779e-05/0.02052, allocations: 72.33 kB / 258.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008102/0.02133, allocations: 1.417 MB / 260.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.02135, allocations: 3.938 kB / 260.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.02138, allocations: 28 kB / 260.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.02139, allocations: 12 kB / 260.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.02166, allocations: 198.3 kB / 260.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.02318, allocations: 1.031 MB / 261.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.02353, allocations: 315.6 kB / 261.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.0237, allocations: 163.5 kB / 261.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.02374, allocations: 16.64 kB / 261.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.02378, allocations: 55.09 kB / 261.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.014e-06/0.02378, allocations: 0 / 261.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.00149/0.02527, allocations: 0.817 MB / 262.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.0253, allocations: 60.06 kB / 262.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.0256, allocations: 0.5 MB / 263.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.02564, allocations: 49.69 kB / 263.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.02576, allocations: 251.2 kB / 263.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.02588, allocations: 265.6 kB / 263.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.02602, allocations: 146.6 kB / 264 MB, free: 10.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.02613, allocations: 390.6 kB / 264.4 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.02627, allocations: 159.1 kB / 264.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/0.02674, allocations: 1.172 MB / 265.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.02705, allocations: 374 kB / 266 MB, free: 7.754 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02705, allocations: 0 / 266 MB, free: 7.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007151/0.02777, allocations: 0.6726 MB / 266.7 MB, free: 7.027 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.232e-05/0.02782, allocations: 93.09 kB / 266.8 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.02783, allocations: 0 / 266.8 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.02818, allocations: 163.2 kB / 267 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.02858, allocations: 187.5 kB / 267.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.03181, allocations: 5.301 MB / 272.5 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.03219, allocations: 87.52 kB / 272.5 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.03221, allocations: 15.94 kB / 272.6 MB, free: 0.8164 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.0001485/0.03236, allocations: 161.7 kB / 272.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.03244, allocations: 83.91 kB / 272.8 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.394e-05/0.03253, allocations: 91.02 kB / 272.9 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.03253, allocations: 11.94 kB / 272.9 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.03254, allocations: 0 / 272.9 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006776/0.03321, allocations: 0.784 MB / 273.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.0344, allocations: 0.96 MB / 274.6 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.03441, allocations: 96 / 274.6 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.0348, allocations: 179.7 kB / 274.8 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.03495, allocations: 87.34 kB / 274.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002597/0.03521, allocations: 150.5 kB / 275 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.03524, allocations: 15.98 kB / 275.1 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.03743, allocations: 4.037 MB / 279.1 MB, free: 9.832 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.03743, allocations: 8.078 kB / 279.1 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007969/0.03823, allocations: 0.6931 MB / 279.8 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.03829, allocations: 20 kB / 279.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.03854, allocations: 35.97 kB / 279.9 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.03864, allocations: 68.53 kB / 279.9 MB, free: 8.984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.03867, allocations: 15.98 kB / 279.9 MB, free: 8.969 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001925/0.03886, allocations: 244.6 kB / 280.2 MB, free: 8.734 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03886, allocations: 0 / 280.2 MB, free: 8.734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004656/0.03932, allocations: 283.7 kB / 280.5 MB, free: 8.457 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.0001146/0.03944, allocations: 116.3 kB / 280.6 MB, free: 8.336 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007745/0.04021, allocations: 1.07 MB / 281.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.129e-05/0.04023, allocations: 19.94 kB / 281.7 MB, free: 7.137 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.04072, allocations: 0.6278 MB / 282.3 MB, free: 6.469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.04181, allocations: 2.286 MB / 284.6 MB, free: 3.738 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008639/0.05044, allocations: 1.347 MB / 285.9 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.05056, allocations: 161.2 kB / 286.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000253/0.05082, allocations: 102.4 kB / 286.2 MB, free: 2.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/0.05137, allocations: 389 kB / 286.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.05138, allocations: 0 / 286.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of Templates: time 0.1069/0.1583, allocations: 23.05 MB / 309.6 MB, free: 22.98 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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.145100135356188]