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.0009438/0.0009438, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009486/0.0009486, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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.035/1.035, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.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.673e-06/1.673e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.798e-05, allocations: 5.266 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004178/0.004196, allocations: 3.646 MB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.005527, allocations: 0.9967 MB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.005707, allocations: 7.938 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.005954, allocations: 107.1 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.006221, allocations: 222.1 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.006402, allocations: 131.8 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004867/0.006889, allocations: 0.7039 MB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.007057, allocations: 122.9 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.00734, allocations: 403.1 kB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.007539, allocations: 215.4 kB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.007601, allocations: 56 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.941e-05/0.00767, allocations: 60 kB / 280 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.007746, allocations: 127.5 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.007898, allocations: 219.5 kB / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.008284, allocations: 450.4 kB / 280.7 MB, free: 9.777 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.008286, allocations: 7.938 kB / 280.7 MB, free: 9.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008287, allocations: 3.938 kB / 280.8 MB, free: 9.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.008292, allocations: 0 / 280.8 MB, free: 9.766 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.0009037/0.009196, allocations: 0.9253 MB / 281.7 MB, free: 8.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.009231, allocations: 11.98 kB / 281.7 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.088e-05/0.009322, allocations: 96.52 kB / 281.8 MB, free: 8.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.009635, allocations: 338.5 kB / 282.1 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.009716, allocations: 106.3 kB / 282.2 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.009758, allocations: 36.38 kB / 282.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.01024, allocations: 0.7899 MB / 283 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.01025, allocations: 4.141 kB / 283 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.01027, allocations: 24.06 kB / 283.1 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.01028, allocations: 8 kB / 283.1 MB, free: 7.184 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.01044, allocations: 119.1 kB / 283.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009958/0.01144, allocations: 0.8932 MB / 284.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.01163, allocations: 162 kB / 284.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.01171, allocations: 80.17 kB / 284.3 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.01174, allocations: 15.86 kB / 284.3 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.01176, allocations: 53.33 kB / 284.4 MB, free: 5.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.363e-06/0.01176, allocations: 0 / 284.4 MB, free: 5.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004767/0.01224, allocations: 322.9 kB / 284.7 MB, free: 5.484 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.01236, allocations: 448.9 kB / 285.1 MB, free: 4.941 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.01261, allocations: 442.5 kB / 285.6 MB, free: 4.492 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.01264, allocations: 37.7 kB / 285.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.01277, allocations: 303.2 kB / 285.9 MB, free: 4.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.347e-05/0.01284, allocations: 126.9 kB / 286 MB, free: 4.023 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.01292, allocations: 83.33 kB / 286.1 MB, free: 3.934 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.01306, allocations: 0.539 MB / 286.7 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-05/0.01314, allocations: 65.67 kB / 286.7 MB, free: 3.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.01339, allocations: 0.6154 MB / 287.3 MB, free: 2.523 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.01356, allocations: 178.7 kB / 287.5 MB, free: 2.336 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.01356, allocations: 0 / 287.5 MB, free: 2.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003065/0.01386, allocations: 349.4 kB / 287.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.01389, allocations: 33.7 kB / 287.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01389, allocations: 0 / 287.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.015e-05/0.01398, allocations: 47.38 kB / 287.9 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.01417, allocations: 75.89 kB / 288 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.0156, allocations: 3.536 MB / 291.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.01577, allocations: 43.75 kB / 291.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.01578, allocations: 8 kB / 291.6 MB, free: 13.98 MB / 282.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.0001243/0.01591, allocations: 180.5 kB / 291.8 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.01597, allocations: 63.72 kB / 291.8 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.407e-05/0.01602, allocations: 48.58 kB / 291.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.01603, allocations: 7.984 kB / 291.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01603, allocations: 3.938 kB / 291.9 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003323/0.01636, allocations: 0.5632 MB / 292.4 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006593/0.01702, allocations: 0.6923 MB / 293.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01702, allocations: 0 / 293.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.01722, allocations: 75.89 kB / 293.2 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01722, allocations: 8 kB / 293.2 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.01723, allocations: 7.938 kB / 293.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01723, allocations: 0 / 293.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01723, allocations: 4 kB / 293.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.01757, allocations: 437.1 kB / 293.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.01767, allocations: 91.55 kB / 293.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.01771, allocations: 15.94 kB / 293.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.01785, allocations: 19.98 kB / 293.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.0179, allocations: 23.95 kB / 293.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.01791, allocations: 12.03 kB / 293.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.01806, allocations: 287 kB / 294.1 MB, free: 11.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01806, allocations: 0 / 294.1 MB, free: 11.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.01831, allocations: 143.8 kB / 294.2 MB, free: 11.14 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 8.336e-05/0.0184, allocations: 107.3 kB / 294.3 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004252/0.01882, allocations: 0.6022 MB / 294.9 MB, free: 10.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01882, allocations: 4.062 kB / 295 MB, free: 10.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.544e-05/0.01892, allocations: 99.78 kB / 295.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.01928, allocations: 141.5 kB / 295.2 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.02037, allocations: 0.8467 MB / 296 MB, free: 9.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.397e-05/0.02044, allocations: 109.8 kB / 296.1 MB, free: 9.125 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.02057, allocations: 60.23 kB / 296.2 MB, free: 9.062 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.02089, allocations: 278 kB / 296.5 MB, free: 8.789 MB / 282.7 MB Notification: Performance of SimCode: time 6.62e-07/0.0209, allocations: 0 / 296.5 MB, free: 8.789 MB / 282.7 MB Notification: Performance of Templates: time 0.0993/0.1202, allocations: 9.975 MB / 306.4 MB, free: 39.5 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8376226229593158]