Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 141.5 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.01/1.01, allocations: 173.4 MB / 201.1 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.302e-05, allocations: 2.312 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003991/0.004024, allocations: 3.682 MB / 271.6 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.005628, allocations: 0.9772 MB / 272.6 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.005806, allocations: 7.938 kB / 272.6 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.006134, allocations: 111.1 kB / 272.7 MB, free: 1.621 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.006487, allocations: 214.1 kB / 272.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.006727, allocations: 135.7 kB / 273.1 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000569/0.007296, allocations: 0.7075 MB / 273.8 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.007523, allocations: 122.9 kB / 273.9 MB, free: 456 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.007832, allocations: 391.1 kB / 274.3 MB, free: 64 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.008073, allocations: 223.4 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.852e-05/0.008141, allocations: 60 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.00821, allocations: 56 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.008287, allocations: 131.5 kB / 274.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.00845, allocations: 223.5 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.008866, allocations: 458.3 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.00887, allocations: 0 / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.008872, allocations: 0 / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.008878, allocations: 0 / 275.4 MB, free: 14.93 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001051/0.009929, allocations: 0.9292 MB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.009969, allocations: 8.922 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.01008, allocations: 92.56 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.01053, allocations: 359.1 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.914e-05/0.01062, allocations: 110.3 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.01067, allocations: 44.38 kB / 276.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006577/0.01133, allocations: 0.8017 MB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.01135, allocations: 192 / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.01138, allocations: 20.12 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.01139, allocations: 8 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.01166, allocations: 155.8 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.01294, allocations: 0.9552 MB / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.01325, allocations: 182.9 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.01338, allocations: 88.23 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.01342, allocations: 15.92 kB / 279.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.01345, allocations: 45.25 kB / 279.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.925e-06/0.01345, allocations: 0 / 279.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007478/0.0142, allocations: 372.3 kB / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.01435, allocations: 448.9 kB / 280 MB, free: 9.895 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.01469, allocations: 458.7 kB / 280.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.01472, allocations: 29.7 kB / 280.5 MB, free: 9.395 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.01488, allocations: 303.3 kB / 280.8 MB, free: 9.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.72e-05/0.01496, allocations: 126.9 kB / 280.9 MB, free: 8.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/0.01505, allocations: 79.34 kB / 281 MB, free: 8.883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.01521, allocations: 0.5313 MB / 281.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.01534, allocations: 85.45 kB / 281.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.01567, allocations: 0.634 MB / 282.2 MB, free: 7.445 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.01592, allocations: 210.7 kB / 282.4 MB, free: 7.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01592, allocations: 0 / 282.4 MB, free: 7.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004321/0.01635, allocations: 373.4 kB / 282.8 MB, free: 6.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.01639, allocations: 36.52 kB / 282.8 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.0164, allocations: 0 / 282.8 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000155/0.01655, allocations: 47.34 kB / 282.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.01677, allocations: 75.89 kB / 283 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.01863, allocations: 3.589 MB / 286.5 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.01882, allocations: 43.77 kB / 286.6 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.01885, allocations: 12 kB / 286.6 MB, free: 2.773 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.0001455/0.01899, allocations: 180.5 kB / 286.8 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.01906, allocations: 67.64 kB / 286.8 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.702e-05/0.01912, allocations: 52.58 kB / 286.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01912, allocations: 4 kB / 286.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.01912, allocations: 0 / 286.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003845/0.01951, allocations: 0.5878 MB / 287.5 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008338/0.02034, allocations: 0.7663 MB / 288.3 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02034, allocations: 4 kB / 288.3 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.02057, allocations: 79.89 kB / 288.3 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.02057, allocations: 0 / 288.3 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.02059, allocations: 8 kB / 288.3 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.02059, allocations: 0 / 288.3 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.02059, allocations: 3.984 kB / 288.3 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.02105, allocations: 488.1 kB / 288.8 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.02118, allocations: 87.59 kB / 288.9 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.02122, allocations: 16 kB / 288.9 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.02137, allocations: 15.98 kB / 288.9 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.02143, allocations: 27.94 kB / 289 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.02145, allocations: 12 kB / 289 MB, free: 216 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002139/0.02166, allocations: 303 kB / 289.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02166, allocations: 0 / 289.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002942/0.02196, allocations: 139.8 kB / 289.4 MB, free: 15.78 MB / 282.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 0.0001103/0.02207, allocations: 111.2 kB / 289.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005804/0.02265, allocations: 0.6332 MB / 290.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.02265, allocations: 4 kB / 290.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.02277, allocations: 103.5 kB / 290.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.02321, allocations: 149.5 kB / 290.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.02476, allocations: 0.8378 MB / 291.2 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.057e-05/0.02483, allocations: 121.5 kB / 291.4 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.02498, allocations: 56.25 kB / 291.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.02508, allocations: 48.48 kB / 291.5 MB, free: 13.6 MB / 282.7 MB Notification: Performance of SimCode: time 1.192e-06/0.02508, allocations: 0 / 291.5 MB, free: 13.6 MB / 282.7 MB Notification: Performance of Templates: time 0.01147/0.03654, allocations: 9.318 MB / 300.8 MB, free: 4.5 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2719373018480837]