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.001507/0.001507, allocations: 116.1 kB / 21.18 MB, free: 0.5898 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.001665/0.001665, allocations: 209.9 kB / 24.47 MB, free: 3.996 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.398/1.398, allocations: 230.5 MB / 258.1 MB, free: 8.125 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.001928/0.001928, allocations: 67.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2254, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005022/0.2304, allocations: 3.716 MB / 435.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.2321, allocations: 1.02 MB / 436.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.2322, allocations: 4 kB / 436.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.2325, allocations: 111 kB / 436.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.2329, allocations: 198.4 kB / 437.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.2332, allocations: 131.8 kB / 437.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007466/0.2339, allocations: 0.6886 MB / 437.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.2342, allocations: 128.3 kB / 438 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.2345, allocations: 259.1 kB / 438.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.2348, allocations: 290.8 kB / 438.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.075e-05/0.2349, allocations: 60 kB / 438.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.999e-05/0.235, allocations: 56 kB / 438.7 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2351, allocations: 131.5 kB / 438.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.2354, allocations: 310.5 kB / 439.1 MB, free: 284 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007307/0.2361, allocations: 0.6964 MB / 439.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2361, allocations: 0 / 439.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2361, allocations: 0 / 439.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.2361, allocations: 4 kB / 439.8 MB, free: 15.57 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.001597/0.2377, allocations: 0.9047 MB / 440.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2378, allocations: 12.03 kB / 440.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.2379, allocations: 68.52 kB / 440.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007395/0.2386, allocations: 434.9 kB / 441.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.2387, allocations: 62.89 kB / 441.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.2388, allocations: 32.38 kB / 441.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/0.2396, allocations: 489 kB / 441.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.2397, allocations: 3.953 kB / 441.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.2397, allocations: 16 kB / 441.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2397, allocations: 8 kB / 441.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008283/0.2405, allocations: 342.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.002024/0.2426, allocations: 1.275 MB / 443.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/0.2433, allocations: 360.4 kB / 443.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.2437, allocations: 164.8 kB / 443.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.2437, allocations: 7.984 kB / 443.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.2437, allocations: 42.56 kB / 444 MB, free: 11.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.2437, allocations: 0 / 444 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001648/0.2454, allocations: 0.7243 MB / 444.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002423/0.2456, allocations: 445 kB / 445.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005325/0.2462, allocations: 457.9 kB / 445.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.2462, allocations: 37.7 kB / 445.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.2464, allocations: 244.5 kB / 445.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.2465, allocations: 130.9 kB / 446 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.2466, allocations: 73.48 kB / 446.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.2468, allocations: 366.7 kB / 446.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.2472, allocations: 135.9 kB / 446.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.2477, allocations: 285.6 kB / 446.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000764/0.2485, allocations: 337.2 kB / 447.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2485, allocations: 0 / 447.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001095/0.2496, allocations: 490.1 kB / 447.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.2496, allocations: 33.7 kB / 447.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2496, allocations: 0 / 447.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.2498, allocations: 49.67 kB / 447.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.2502, allocations: 87.88 kB / 447.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.2529, allocations: 2.961 MB / 450.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.2534, allocations: 56.03 kB / 450.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.2534, allocations: 15.94 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.0002372/0.2537, allocations: 169.7 kB / 451 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.2538, allocations: 63.64 kB / 451.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.737e-05/0.2539, allocations: 48.77 kB / 451.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2539, allocations: 4 kB / 451.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2539, allocations: 0 / 451.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/0.2549, allocations: 0.7321 MB / 451.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.2566, allocations: 1.017 MB / 452.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2566, allocations: 0 / 452.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004412/0.257, allocations: 83.88 kB / 452.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.257, allocations: 4 kB / 453 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.2571, allocations: 7.938 kB / 453 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2571, allocations: 4 kB / 453 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2571, allocations: 0 / 453 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.2584, allocations: 0.6488 MB / 453.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.2586, allocations: 168.7 kB / 453.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.2587, allocations: 19.92 kB / 453.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.259, allocations: 28.03 kB / 453.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.2591, allocations: 23.97 kB / 453.8 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.2591, allocations: 12 kB / 453.9 MB, free: 468 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00038/0.2595, allocations: 327.1 kB / 454.2 MB, free: 144 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2595, allocations: 0 / 454.2 MB, free: 144 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004477/0.2599, allocations: 139.8 kB / 454.3 MB, free: 4 kB / 350.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.0001489/0.2601, allocations: 109.5 kB / 454.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.2613, allocations: 0.6175 MB / 455 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2613, allocations: 0 / 455 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004062/0.2617, allocations: 172.3 kB / 455.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/0.2624, allocations: 141.9 kB / 455.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.2641, allocations: 0.9781 MB / 456.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.2646, allocations: 0.8314 MB / 457.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.2647, allocations: 43.44 kB / 457.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2647, allocations: 0 / 457.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of Templates: time 0.01318/0.2779, allocations: 8.962 MB / 466.2 MB, free: 4.117 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 -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: 7.390616639051586]