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.001655/0.001655, allocations: 107 kB / 19.8 MB, free: 2.5 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.001997/0.001997, allocations: 215.8 kB / 23 MB, free: 5.57 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.454/1.454, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.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 0.001841/0.001841, allocations: 63.89 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2283, allocations: 53.32 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004947/0.2332, allocations: 3.712 MB / 433.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.235, allocations: 1.02 MB / 434.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.2352, allocations: 7.938 kB / 434.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.2356, allocations: 111 kB / 434.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.236, allocations: 198.4 kB / 434.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.2362, allocations: 135.8 kB / 435 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007264/0.237, allocations: 0.6808 MB / 435.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.2372, allocations: 126.3 kB / 435.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.2375, allocations: 263 kB / 436 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.2378, allocations: 294.8 kB / 436.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.651e-05/0.2379, allocations: 56 kB / 436.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.577e-05/0.238, allocations: 60 kB / 436.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.2381, allocations: 123.5 kB / 436.5 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.2384, allocations: 306.6 kB / 436.8 MB, free: 468 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007439/0.2392, allocations: 0.7015 MB / 437.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2392, allocations: 0 / 437.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2392, allocations: 4 kB / 437.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.2392, allocations: 0 / 437.5 MB, free: 15.75 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.001573/0.2408, allocations: 0.9125 MB / 438.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2408, allocations: 11.97 kB / 438.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.2409, allocations: 68.52 kB / 438.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007227/0.2416, allocations: 438.9 kB / 439 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.2417, allocations: 58.91 kB / 439 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.2418, allocations: 32.33 kB / 439.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/0.2427, allocations: 493 kB / 439.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.2427, allocations: 0 / 439.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.2427, allocations: 16 kB / 439.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2427, allocations: 8 kB / 439.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008242/0.2436, allocations: 338.4 kB / 439.9 MB, free: 13.26 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.002041/0.2456, allocations: 1.271 MB / 441.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007182/0.2463, allocations: 363.5 kB / 441.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/0.2467, allocations: 160.8 kB / 441.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.2468, allocations: 11.92 kB / 441.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.2468, allocations: 42.56 kB / 441.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.2468, allocations: 0 / 441.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001617/0.2484, allocations: 0.7285 MB / 442.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002314/0.2486, allocations: 452.9 kB / 442.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/0.2492, allocations: 450 kB / 443.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.2492, allocations: 33.7 kB / 443.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.2494, allocations: 244.6 kB / 443.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.2495, allocations: 126.9 kB / 443.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.2497, allocations: 85.47 kB / 443.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2498, allocations: 362.7 kB / 444.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.2502, allocations: 135.9 kB / 444.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.2507, allocations: 278.8 kB / 444.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007437/0.2515, allocations: 333.2 kB / 444.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2515, allocations: 4 kB / 444.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001003/0.2525, allocations: 490 kB / 445.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.2525, allocations: 29.7 kB / 445.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2525, allocations: 0 / 445.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.2527, allocations: 57.67 kB / 445.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.2531, allocations: 83.88 kB / 445.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/0.2559, allocations: 2.969 MB / 448.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.2563, allocations: 51.86 kB / 448.6 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.2563, allocations: 16.03 kB / 448.6 MB, free: 3.867 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.0002201/0.2565, allocations: 185.6 kB / 448.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.069e-05/0.2566, allocations: 55.67 kB / 448.8 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.2567, allocations: 48.77 kB / 448.9 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2567, allocations: 0 / 448.9 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2567, allocations: 4 kB / 448.9 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001004/0.2577, allocations: 0.7321 MB / 449.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.2594, allocations: 1.009 MB / 450.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.2594, allocations: 0 / 450.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.2598, allocations: 91.88 kB / 450.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.2598, allocations: 0 / 450.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.2599, allocations: 11.94 kB / 450.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2599, allocations: 3.938 kB / 450.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2599, allocations: 0 / 450.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.2612, allocations: 0.6483 MB / 451.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.2614, allocations: 168.7 kB / 451.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.2614, allocations: 15.88 kB / 451.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.2618, allocations: 36.03 kB / 451.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/0.2619, allocations: 23.97 kB / 451.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.2619, allocations: 4 kB / 451.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003749/0.2623, allocations: 327.1 kB / 451.9 MB, free: 320 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2623, allocations: 0 / 451.9 MB, free: 320 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004419/0.2627, allocations: 143.8 kB / 452.1 MB, free: 176 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.0001456/0.2629, allocations: 115.2 kB / 452.2 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.2641, allocations: 0.6059 MB / 452.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2641, allocations: 0 / 452.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.2645, allocations: 172.3 kB / 453 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/0.2652, allocations: 148.6 kB / 453.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.267, allocations: 0.9395 MB / 454 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.2674, allocations: 0.8314 MB / 454.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002539/0.2677, allocations: 64.34 kB / 454.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.2678, allocations: 43.42 kB / 455 MB, free: 13.16 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2678, allocations: 0 / 455 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01696/0.2848, allocations: 9.118 MB / 464.1 MB, free: 4.195 MB / 366.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.608160207979381]