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.002397/0.002397, allocations: 95.59 kB / 20.97 MB, free: 3.578 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.003099/0.003099, allocations: 156.9 kB / 24.27 MB, free: 284 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.564/1.564, allocations: 177 MB / 204.4 MB, free: 5.625 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.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 2.003e-06/2.003e-06, allocations: 0 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.779e-05, allocations: 4.984 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00616/0.006188, allocations: 3.662 MB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.008536, allocations: 0.9928 MB / 276.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.008803, allocations: 11.94 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.009182, allocations: 107.1 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005001/0.009683, allocations: 214.1 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.01, allocations: 139.7 kB / 277.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009285/0.01093, allocations: 0.7039 MB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.0112, allocations: 122.9 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005501/0.01175, allocations: 395.2 kB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.01211, allocations: 223.4 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.01222, allocations: 56 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.01235, allocations: 60 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.01249, allocations: 127.5 kB / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002923/0.01278, allocations: 223.5 kB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009436/0.01372, allocations: 0.7204 MB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.01373, allocations: 0 / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01373, allocations: 0 / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.01374, allocations: 0 / 279.9 MB, free: 10.07 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.001992/0.01573, allocations: 0.9524 MB / 280.8 MB, free: 9.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.01577, allocations: 11.98 kB / 280.9 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.01595, allocations: 96.52 kB / 281 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007343/0.01669, allocations: 375.2 kB / 281.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.01683, allocations: 110.3 kB / 281.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.01691, allocations: 44.36 kB / 281.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.01816, allocations: 0.8909 MB / 282.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.01817, allocations: 192 / 282.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/0.01823, allocations: 20.12 kB / 282.4 MB, free: 7.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.01825, allocations: 8 kB / 282.4 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007667/0.01901, allocations: 306.5 kB / 282.7 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.02126, allocations: 1.104 MB / 283.8 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.02193, allocations: 286.7 kB / 284.1 MB, free: 5.586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.02229, allocations: 159.6 kB / 284.2 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.264e-05/0.02235, allocations: 11.94 kB / 284.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.02239, allocations: 45.39 kB / 284.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.794e-06/0.02239, allocations: 0 / 284.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001492/0.02388, allocations: 0.5423 MB / 284.8 MB, free: 4.805 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003194/0.0242, allocations: 448.8 kB / 285.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007081/0.02491, allocations: 0.5495 MB / 285.8 MB, free: 3.695 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.02496, allocations: 33.7 kB / 285.8 MB, free: 3.656 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.02525, allocations: 319.3 kB / 286.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.02539, allocations: 130.9 kB / 286.3 MB, free: 3.211 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.02555, allocations: 87.34 kB / 286.4 MB, free: 3.117 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003562/0.02591, allocations: 0.5547 MB / 286.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.02628, allocations: 149.6 kB / 287.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.02736, allocations: 0.7169 MB / 287.8 MB, free: 1.508 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007005/0.02806, allocations: 326.9 kB / 288.1 MB, free: 1.176 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02806, allocations: 0 / 288.1 MB, free: 1.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001035/0.02909, allocations: 0.4974 MB / 288.6 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.02914, allocations: 41.72 kB / 288.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.02915, allocations: 0 / 288.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.02933, allocations: 55.36 kB / 288.7 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.02973, allocations: 79.88 kB / 288.8 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.03342, allocations: 3.753 MB / 292.5 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.03382, allocations: 47.75 kB / 292.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.03386, allocations: 12 kB / 292.6 MB, free: 12.4 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.0002776/0.03413, allocations: 216.5 kB / 292.8 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.03425, allocations: 63.84 kB / 292.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.03437, allocations: 56.56 kB / 292.9 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.03437, allocations: 11.98 kB / 292.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.03438, allocations: 0 / 292.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000996/0.03537, allocations: 0.6959 MB / 293.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.03732, allocations: 0.9535 MB / 294.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.03732, allocations: 0 / 294.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.03774, allocations: 83.89 kB / 294.7 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.03775, allocations: 4 kB / 294.7 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.03778, allocations: 11.92 kB / 294.7 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.03778, allocations: 4 kB / 294.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.03778, allocations: 0 / 294.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.03908, allocations: 0.6689 MB / 295.4 MB, free: 9.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.03929, allocations: 91.58 kB / 295.4 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/0.03935, allocations: 8 kB / 295.5 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.03971, allocations: 23.98 kB / 295.5 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.03979, allocations: 23.95 kB / 295.5 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.03981, allocations: 8 kB / 295.5 MB, free: 9.305 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004734/0.04029, allocations: 375 kB / 295.9 MB, free: 8.938 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04029, allocations: 0 / 295.9 MB, free: 8.938 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004729/0.04076, allocations: 135.9 kB / 296 MB, free: 8.805 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.0001687/0.04093, allocations: 111.2 kB / 296.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.04224, allocations: 0.7545 MB / 296.9 MB, free: 7.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.04225, allocations: 4 kB / 296.9 MB, free: 7.871 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.04263, allocations: 171.6 kB / 297 MB, free: 7.699 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007041/0.04333, allocations: 153.5 kB / 297.2 MB, free: 7.547 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.04504, allocations: 0.8776 MB / 298.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.0453, allocations: 220.5 kB / 298.3 MB, free: 6.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002313/0.04553, allocations: 60.25 kB / 298.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.04566, allocations: 48.48 kB / 298.4 MB, free: 6.285 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.04566, allocations: 0 / 298.4 MB, free: 6.285 MB / 282.7 MB Notification: Performance of Templates: time 0.1186/0.1643, allocations: 9.316 MB / 307.7 MB, free: 40.54 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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: 4.812076880945824]