Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.0006996/0.0006996, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000944/0.001644, 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.0006866/0.0006866, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009086/0.001595, 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.9494/0.9494, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08643/1.036, allocations: 53.86 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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.573e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003129/0.003145, allocations: 3.715 MB / 248.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.004539, allocations: 1.043 MB / 249.9 MB, free: 8.793 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.00469, allocations: 7.938 kB / 250 MB, free: 8.785 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.004879, allocations: 114.9 kB / 250.1 MB, free: 8.672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.00513, allocations: 214.1 kB / 250.3 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.005319, allocations: 131.8 kB / 250.4 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005059/0.005825, allocations: 0.7077 MB / 251.1 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.005991, allocations: 140.8 kB / 251.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003874/0.006378, allocations: 477.9 kB / 251.7 MB, free: 7.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.006581, allocations: 211.4 kB / 251.9 MB, free: 6.809 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.00664, allocations: 56 kB / 252 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.006708, allocations: 59.94 kB / 252 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.00677, allocations: 99.62 kB / 252.1 MB, free: 6.598 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.0069, allocations: 175.7 kB / 252.3 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005638/0.007464, allocations: 418.5 kB / 252.7 MB, free: 6.016 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.007473, allocations: 0 / 252.7 MB, free: 6.016 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.007473, allocations: 0 / 252.7 MB, free: 6.016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.007484, allocations: 0 / 252.7 MB, free: 6.016 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008497/0.008334, allocations: 0.9018 MB / 253.6 MB, free: 5.082 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.657e-05/0.00836, allocations: 8.625 kB / 253.6 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.063e-05/0.008441, allocations: 68.88 kB / 253.7 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.008739, allocations: 283.7 kB / 254 MB, free: 4.707 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/0.008814, allocations: 106.3 kB / 254.1 MB, free: 4.586 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.008859, allocations: 40.38 kB / 254.1 MB, free: 4.547 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.00929, allocations: 0.7536 MB / 254.9 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.009301, allocations: 192 / 254.9 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.009324, allocations: 20.12 kB / 254.9 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.009332, allocations: 8 kB / 254.9 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.00948, allocations: 107.1 kB / 255 MB, free: 3.508 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008651/0.01035, allocations: 0.6635 MB / 255.7 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.01052, allocations: 150.3 kB / 255.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.754e-05/0.01059, allocations: 66.31 kB / 255.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.01062, allocations: 11.86 kB / 255.9 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.01064, allocations: 38.56 kB / 255.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 1.242e-06/0.01065, allocations: 0 / 255.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004256/0.01107, allocations: 266.8 kB / 256.2 MB, free: 2.266 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.0111, allocations: 63.41 kB / 256.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.01132, allocations: 363.3 kB / 256.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.01135, allocations: 37.69 kB / 256.6 MB, free: 1.781 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.01144, allocations: 193.5 kB / 256.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.01151, allocations: 126.8 kB / 256.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.937e-05/0.01159, allocations: 81.45 kB / 257 MB, free: 1.375 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.01168, allocations: 358.7 kB / 257.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.01175, allocations: 61.69 kB / 257.4 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.01198, allocations: 0.5645 MB / 258 MB, free: 236 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.01213, allocations: 169.1 kB / 258.2 MB, free: 56 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01213, allocations: 0 / 258.2 MB, free: 56 kB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002516/0.01238, allocations: 276.1 kB / 258.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.01241, allocations: 33.7 kB / 258.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.01242, allocations: 0 / 258.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-05/0.0125, allocations: 33.7 kB / 258.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.01277, allocations: 100.5 kB / 258.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.01417, allocations: 2.415 MB / 261 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.01433, allocations: 43.77 kB / 261.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.01435, allocations: 12 kB / 261.1 MB, free: 12.94 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.01446, allocations: 137.8 kB / 261.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.01451, allocations: 43.95 kB / 261.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.52e-05/0.01456, allocations: 48.58 kB / 261.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01456, allocations: 3.938 kB / 261.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01457, allocations: 4 kB / 261.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002572/0.01482, allocations: 0.5331 MB / 261.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.01534, allocations: 0.5332 MB / 262.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01534, allocations: 0 / 262.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.0156, allocations: 111.7 kB / 262.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.01568, allocations: 47.66 kB / 262.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01569, allocations: 0 / 262.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.0157, allocations: 19.98 kB / 262.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.0157, allocations: 0 / 262.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.0157, allocations: 0 / 262.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.01598, allocations: 340.2 kB / 262.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.01601, allocations: 12 kB / 262.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.01615, allocations: 15.98 kB / 262.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.01619, allocations: 23.95 kB / 262.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.0162, allocations: 8 kB / 262.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.01632, allocations: 160.7 kB / 263.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01632, allocations: 4.031 kB / 263.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.01657, allocations: 143.8 kB / 263.2 MB, free: 10.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.944e-05/0.01665, allocations: 88.36 kB / 263.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.01706, allocations: 491.3 kB / 263.8 MB, free: 9.992 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.01707, allocations: 8 kB / 263.8 MB, free: 9.984 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.01718, allocations: 112.6 kB / 263.9 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006851/0.01787, allocations: 1.413 MB / 265.3 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005609/0.02348, allocations: 0.8157 MB / 266.1 MB, free: 7.332 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.345e-05/0.02354, allocations: 117.7 kB / 266.3 MB, free: 7.195 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.02369, allocations: 68.33 kB / 266.3 MB, free: 7.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/0.02426, allocations: 237.2 kB / 266.6 MB, free: 6.895 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02426, allocations: 0 / 266.6 MB, free: 6.895 MB / 266.7 MB Notification: Performance of Templates: time 0.01208/0.03635, allocations: 11.24 MB / 277.8 MB, free: 11.91 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.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: 2.75861400552094]