Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00175/0.00175, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002032/0.002032, allocations: 216.5 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.468/1.468, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 75.81 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2332, allocations: 53.3 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005077/0.2383, allocations: 3.723 MB / 435.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.2401, allocations: 1.02 MB / 436.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.2403, allocations: 7.938 kB / 436.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.2406, allocations: 103.1 kB / 436.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.241, allocations: 202.3 kB / 437.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.2413, allocations: 139.8 kB / 437.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007747/0.242, allocations: 0.6769 MB / 437.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.2423, allocations: 122.3 kB / 438 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.2426, allocations: 267 kB / 438.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.243, allocations: 294.7 kB / 438.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.391e-05/0.243, allocations: 56 kB / 438.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.602e-05/0.2431, allocations: 60 kB / 438.7 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.2433, allocations: 127.5 kB / 438.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.2435, allocations: 306.6 kB / 439.1 MB, free: 292 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007573/0.2443, allocations: 0.7019 MB / 439.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2443, allocations: 0 / 439.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2443, allocations: 0 / 439.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.2443, allocations: 0 / 439.8 MB, free: 15.58 MB / 350.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.001606/0.2459, allocations: 0.9125 MB / 440.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.246, allocations: 11.97 kB / 440.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.2461, allocations: 76.5 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007742/0.2469, allocations: 438.9 kB / 441.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.247, allocations: 54.92 kB / 441.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.837e-05/0.247, allocations: 28.38 kB / 441.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008947/0.2479, allocations: 493 kB / 441.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.2479, allocations: 3.953 kB / 441.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.248, allocations: 16 kB / 441.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.248, allocations: 8 kB / 441.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.2488, allocations: 334.4 kB / 442.1 MB, free: 13.08 MB / 350.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.002132/0.251, allocations: 1.275 MB / 443.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007362/0.2517, allocations: 360.4 kB / 443.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/0.2521, allocations: 164.7 kB / 443.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.2522, allocations: 11.92 kB / 443.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.2522, allocations: 38.56 kB / 444 MB, free: 11.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.2522, allocations: 0 / 444 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001696/0.2539, allocations: 0.7283 MB / 444.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002481/0.2541, allocations: 448.9 kB / 445.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.2547, allocations: 457.9 kB / 445.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.2548, allocations: 33.7 kB / 445.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.255, allocations: 244.6 kB / 445.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.2551, allocations: 126.9 kB / 446 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.2552, allocations: 81.47 kB / 446.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2554, allocations: 362.7 kB / 446.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.2558, allocations: 139.9 kB / 446.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.2563, allocations: 278.8 kB / 446.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007856/0.2571, allocations: 337.2 kB / 447.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2571, allocations: 4 kB / 447.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00108/0.2582, allocations: 486.1 kB / 447.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/0.2582, allocations: 29.7 kB / 447.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.2582, allocations: 4.031 kB / 447.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001789/0.2584, allocations: 53.69 kB / 447.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.2588, allocations: 79.88 kB / 447.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/0.2616, allocations: 2.965 MB / 450.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/0.262, allocations: 51.8 kB / 450.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.2621, allocations: 15.92 kB / 450.8 MB, free: 3.691 MB / 350.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.0002717/0.2623, allocations: 173.8 kB / 451 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.2624, allocations: 55.67 kB / 451.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.2625, allocations: 52.77 kB / 451.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2625, allocations: 4 kB / 451.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2625, allocations: 7.922 kB / 451.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/0.2636, allocations: 0.7282 MB / 451.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.2653, allocations: 1.009 MB / 452.9 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2654, allocations: 4 kB / 452.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/0.2658, allocations: 91.88 kB / 452.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2658, allocations: 0 / 452.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.2658, allocations: 11.94 kB / 453 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2658, allocations: 3.938 kB / 453 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2658, allocations: 3.984 kB / 453 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.2672, allocations: 0.645 MB / 453.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.2675, allocations: 168.7 kB / 453.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.2676, allocations: 15.94 kB / 453.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.2679, allocations: 32.03 kB / 453.8 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/0.268, allocations: 27.97 kB / 453.9 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.2681, allocations: 4 kB / 453.9 MB, free: 464 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004402/0.2685, allocations: 331.1 kB / 454.2 MB, free: 136 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2685, allocations: 0 / 454.2 MB, free: 136 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005115/0.269, allocations: 139.9 kB / 454.3 MB, free: 15.99 MB / 366.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.0001607/0.2692, allocations: 103.2 kB / 454.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.2705, allocations: 0.6252 MB / 455 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2705, allocations: 0 / 455 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.2709, allocations: 168.3 kB / 455.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000685/0.2716, allocations: 141.9 kB / 455.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.2733, allocations: 0.9454 MB / 456.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.2738, allocations: 0.8275 MB / 457.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002575/0.2741, allocations: 64.33 kB / 457.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.2742, allocations: 43.44 kB / 457.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.2742, allocations: 4 kB / 457.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Templates: time 0.01708/0.2913, allocations: 9.125 MB / 466.4 MB, free: 4.008 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.783845141995698]