Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.001629/0.001629, 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.001736/0.001736, allocations: 215.7 kB / 23 MB, free: 5.574 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.439/1.439, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.88 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2411, allocations: 53.32 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005852/0.2469, allocations: 4.427 MB / 434.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.2492, allocations: 1.246 MB / 435.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.2494, allocations: 11.94 kB / 435.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.2497, allocations: 138.8 kB / 435.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.2502, allocations: 265.8 kB / 435.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.2507, allocations: 199.6 kB / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009716/0.2517, allocations: 0.9336 MB / 437 MB, free: 336 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.2519, allocations: 174.2 kB / 437.2 MB, free: 152 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004748/0.2524, allocations: 374.7 kB / 437.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.2529, allocations: 394.4 kB / 437.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.253, allocations: 76 kB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.2531, allocations: 91.92 kB / 438.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.2533, allocations: 171.3 kB / 438.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.2537, allocations: 414.1 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.2547, allocations: 0.9257 MB / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2547, allocations: 4 kB / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2547, allocations: 4 kB / 439.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2547, allocations: 0 / 439.6 MB, free: 13.72 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002064/0.2568, allocations: 1.132 MB / 440.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2568, allocations: 8.031 kB / 440.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.2571, allocations: 96.42 kB / 440.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007596/0.2579, allocations: 497 kB / 441.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.258, allocations: 96.95 kB / 441.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.2581, allocations: 44.38 kB / 441.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.2593, allocations: 0.6516 MB / 442.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2593, allocations: 4 kB / 442.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.2594, allocations: 20 kB / 442.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.2594, allocations: 12 kB / 442.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.2605, allocations: 451.6 kB / 442.6 MB, free: 10.55 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.003184/0.2636, allocations: 1.94 MB / 444.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.2656, allocations: 0.6702 MB / 445.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000561/0.2662, allocations: 230.8 kB / 445.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.48e-05/0.2662, allocations: 16.41 kB / 445.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.2663, allocations: 46.94 kB / 445.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.803e-06/0.2663, allocations: 4 kB / 445.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005076/0.2713, allocations: 1.468 MB / 446.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003116/0.2717, allocations: 0.5643 MB / 447.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007096/0.2724, allocations: 0.5459 MB / 448 MB, free: 4.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.2724, allocations: 41.7 kB / 448.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.2727, allocations: 285.2 kB / 448.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.2729, allocations: 202.2 kB / 448.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.2731, allocations: 106.2 kB / 448.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.2733, allocations: 374.8 kB / 449 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005151/0.2738, allocations: 193 kB / 449.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/0.2745, allocations: 412.3 kB / 449.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.2756, allocations: 492.5 kB / 450.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2756, allocations: 4 kB / 450.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002332/0.2779, allocations: 0.8071 MB / 450.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.2779, allocations: 33.7 kB / 450.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2779, allocations: 0 / 450.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.279, allocations: 226.4 kB / 451.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/0.2797, allocations: 123.8 kB / 451.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008114/0.2878, allocations: 5.608 MB / 456.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007105/0.2885, allocations: 75.64 kB / 457 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.2886, allocations: 20.11 kB / 457 MB, free: 11.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000315/0.2889, allocations: 201.1 kB / 457.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.289, allocations: 79.58 kB / 457.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.2913, allocations: 0.7656 MB / 458 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2913, allocations: 4 kB / 458 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.2913, allocations: 4 kB / 458 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002199/0.2935, allocations: 1.039 MB / 459.1 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/0.2967, allocations: 1.498 MB / 460.6 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.2967, allocations: 3.938 kB / 460.6 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007685/0.2975, allocations: 131.8 kB / 460.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008682/0.2984, allocations: 177.5 kB / 460.9 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.2984, allocations: 11.98 kB / 460.9 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005651/0.3041, allocations: 3.803 MB / 464.7 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3041, allocations: 0 / 464.7 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.307, allocations: 1.067 MB / 465.8 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/0.3073, allocations: 204.5 kB / 466 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.269e-05/0.3074, allocations: 16 kB / 466 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004925/0.3079, allocations: 35.97 kB / 466 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.308, allocations: 44.44 kB / 466.1 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.3081, allocations: 23.92 kB / 466.1 MB, free: 1.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004978/0.3086, allocations: 386.8 kB / 466.5 MB, free: 1.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3086, allocations: 0 / 466.5 MB, free: 1.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007449/0.3093, allocations: 219.8 kB / 466.7 MB, free: 0.9375 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001568/0.3095, allocations: 115.2 kB / 466.8 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002352/0.3118, allocations: 1.01 MB / 467.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3118, allocations: 0 / 467.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.3129, allocations: 0.5159 MB / 468.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/0.3137, allocations: 198.6 kB / 468.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.316, allocations: 1.276 MB / 469.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.3165, allocations: 0.8879 MB / 470.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003006/0.3168, allocations: 85.12 kB / 470.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.3169, allocations: 55.42 kB / 470.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3169, allocations: 0 / 470.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of Templates: time 0.02486/0.3418, allocations: 14.54 MB / 485.4 MB, free: 14.31 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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: 5.0059109181165695]