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.001413/0.001413, allocations: 85.58 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001486/0.001486, allocations: 158.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.511/1.511, allocations: 177 MB / 204.1 MB, free: 9.137 MB / 190.1 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.024e-06/2.024e-06, allocations: 1.156 kB / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.377e-05, allocations: 2.281 kB / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004886/0.00491, allocations: 3.375 MB / 328.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.006867, allocations: 0.9637 MB / 329.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/0.007086, allocations: 8.219 kB / 329.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.007422, allocations: 105.6 kB / 329.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.007898, allocations: 215 kB / 329.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.008234, allocations: 139.7 kB / 329.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009547/0.009189, allocations: 0.7009 MB / 330.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.009455, allocations: 127.1 kB / 330.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005365/0.009991, allocations: 397 kB / 331 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.01032, allocations: 218.2 kB / 331.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.559e-05/0.01042, allocations: 61.09 kB / 331.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.01053, allocations: 58.22 kB / 331.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.01066, allocations: 122.4 kB / 331.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.01093, allocations: 219.2 kB / 331.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008312/0.01176, allocations: 0.7139 MB / 332.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.01177, allocations: 0 / 332.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01177, allocations: 0 / 332.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.01178, allocations: 1.031 kB / 332.4 MB, free: 11.73 MB / 302.1 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.001638/0.01341, allocations: 0.8248 MB / 333.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.01345, allocations: 17.88 kB / 333.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.01361, allocations: 74.02 kB / 333.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007937/0.01441, allocations: 375.6 kB / 333.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.01455, allocations: 112 kB / 333.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.01461, allocations: 30.16 kB / 333.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.01573, allocations: 0.8481 MB / 334.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.01575, allocations: 192 / 334.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.01579, allocations: 21.75 kB / 334.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.0158, allocations: 11.89 kB / 334.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009726/0.01678, allocations: 338.3 kB / 335 MB, free: 9.59 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.01874, allocations: 0.9547 MB / 336 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.01943, allocations: 279.3 kB / 336.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/0.01984, allocations: 163.4 kB / 336.4 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/0.01988, allocations: 9.625 kB / 336.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.01992, allocations: 42.69 kB / 336.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.01993, allocations: 4 kB / 336.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001727/0.02165, allocations: 0.5727 MB / 337 MB, free: 8.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002974/0.02195, allocations: 447.5 kB / 337.5 MB, free: 7.758 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005834/0.02253, allocations: 424.6 kB / 337.9 MB, free: 7.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.276e-05/0.02261, allocations: 33.14 kB / 337.9 MB, free: 7.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.02284, allocations: 251.9 kB / 338.2 MB, free: 7.238 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.02297, allocations: 129.6 kB / 338.3 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.02312, allocations: 77.19 kB / 338.4 MB, free: 7.074 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.02335, allocations: 357.3 kB / 338.7 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.02379, allocations: 157.3 kB / 338.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008824/0.02468, allocations: 0.6901 MB / 339.6 MB, free: 5.887 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/0.02556, allocations: 333.2 kB / 339.9 MB, free: 5.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02556, allocations: 0 / 339.9 MB, free: 5.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001154/0.02671, allocations: 0.5114 MB / 340.4 MB, free: 5.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.02675, allocations: 33.64 kB / 340.4 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.02676, allocations: 0 / 340.4 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.02695, allocations: 49.64 kB / 340.5 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.02739, allocations: 87.97 kB / 340.6 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/0.03031, allocations: 2.689 MB / 343.3 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.03084, allocations: 52 kB / 343.3 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.03088, allocations: 16.08 kB / 343.3 MB, free: 1.867 MB / 302.1 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.0002687/0.03115, allocations: 165.8 kB / 343.5 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.03126, allocations: 63.61 kB / 343.5 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.03137, allocations: 48.58 kB / 343.6 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.03138, allocations: 0 / 343.6 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.03138, allocations: 8 kB / 343.6 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001196/0.03258, allocations: 0.731 MB / 344.3 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.03447, allocations: 0.8571 MB / 345.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.03447, allocations: 0 / 345.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.03496, allocations: 87.94 kB / 345.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.03496, allocations: 0 / 345.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.03499, allocations: 11.98 kB / 345.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.495e-05/0.03501, allocations: 7.922 kB / 345.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.03501, allocations: 0 / 345.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.03646, allocations: 0.6569 MB / 346 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.03669, allocations: 83.59 kB / 346 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-05/0.03677, allocations: 8 kB / 346 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.0372, allocations: 31.97 kB / 346.1 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.0373, allocations: 23.95 kB / 346.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.03732, allocations: 8.062 kB / 346.1 MB, free: 14.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003929/0.03772, allocations: 311.1 kB / 346.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03772, allocations: 0 / 346.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005283/0.03824, allocations: 139.8 kB / 346.5 MB, free: 14.47 MB / 318.1 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.0001599/0.0384, allocations: 103.2 kB / 346.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.03979, allocations: 0.6426 MB / 347.3 MB, free: 13.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.03979, allocations: 4 kB / 347.3 MB, free: 13.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004453/0.04024, allocations: 167.6 kB / 347.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007007/0.04094, allocations: 149.5 kB / 347.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.04281, allocations: 0.8511 MB / 348.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.04307, allocations: 224.5 kB / 348.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.04333, allocations: 60.25 kB / 348.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.04347, allocations: 44.48 kB / 348.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.04347, allocations: 0 / 348.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of Templates: time 0.01809/0.06156, allocations: 9.242 MB / 358 MB, free: 3.117 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] 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.662262629717588]