Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007837/0.0007837, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008211/0.0008211, allocations: 156.5 kB / 25.44 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8543/0.8543, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.081e-05, allocations: 2.281 kB / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004075/0.004096, allocations: 3.957 MB / 303.6 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.006159, allocations: 1.2 MB / 304.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003413/0.0065, allocations: 11.94 kB / 304.9 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.006879, allocations: 130.8 kB / 305 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006258/0.007505, allocations: 285.5 kB / 305.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.007953, allocations: 195.6 kB / 305.5 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.008971, allocations: 0.9721 MB / 306.4 MB, free: 152 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.00927, allocations: 165 kB / 306.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007314/0.01, allocations: 0.534 MB / 307.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.01034, allocations: 295.2 kB / 307.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.819e-05/0.01043, allocations: 76 kB / 307.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.01052, allocations: 80 kB / 307.6 MB, free: 15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.01062, allocations: 179.3 kB / 307.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.01085, allocations: 295.4 kB / 308 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007864/0.01164, allocations: 0.9579 MB / 309 MB, free: 13.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01164, allocations: 8 kB / 309 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01164, allocations: 0 / 309 MB, free: 13.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.01165, allocations: 0 / 309 MB, free: 13.57 MB / 298.7 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.001366/0.01302, allocations: 1.053 MB / 310 MB, free: 12.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.01306, allocations: 19.92 kB / 310.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.01318, allocations: 88.42 kB / 310.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.01373, allocations: 422.5 kB / 310.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.01385, allocations: 156.3 kB / 310.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.01391, allocations: 44.38 kB / 310.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008939/0.0148, allocations: 1.158 MB / 311.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.01482, allocations: 3.953 kB / 311.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.01486, allocations: 24 kB / 311.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.01487, allocations: 12 kB / 312 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.01549, allocations: 443.7 kB / 312.4 MB, free: 9.883 MB / 298.7 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.001822/0.01731, allocations: 1.464 MB / 313.9 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.01836, allocations: 0.573 MB / 314.4 MB, free: 7.785 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.01867, allocations: 234.2 kB / 314.7 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.0187, allocations: 12.48 kB / 314.7 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.01873, allocations: 47.06 kB / 314.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 1.463e-06/0.01873, allocations: 4 kB / 314.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.002474/0.02121, allocations: 1.252 MB / 316 MB, free: 6.215 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/0.02138, allocations: 0.5722 MB / 316.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.02175, allocations: 0.4911 MB / 317 MB, free: 5.008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.02179, allocations: 49.64 kB / 317.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.02195, allocations: 289.7 kB / 317.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.02205, allocations: 198.3 kB / 317.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.02217, allocations: 110.3 kB / 317.7 MB, free: 4.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.02228, allocations: 366.8 kB / 318 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.02257, allocations: 214.9 kB / 318.2 MB, free: 3.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.02315, allocations: 0.9713 MB / 319.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/0.02375, allocations: 487.8 kB / 319.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.02375, allocations: 4 kB / 319.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001191/0.02494, allocations: 0.8307 MB / 320.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.02497, allocations: 29.7 kB / 320.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.02498, allocations: 8.031 kB / 320.6 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005267/0.02551, allocations: 218.3 kB / 320.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.02584, allocations: 123.8 kB / 320.9 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/0.03005, allocations: 5.198 MB / 326.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.03035, allocations: 67.88 kB / 326.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.03037, allocations: 20 kB / 326.2 MB, free: 11.24 MB / 314.7 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.0001839/0.03056, allocations: 193.7 kB / 326.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.688e-05/0.03062, allocations: 75.58 kB / 326.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.03184, allocations: 0.7637 MB / 327.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.03185, allocations: 4 kB / 327.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.03185, allocations: 0 / 327.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001176/0.03303, allocations: 1.033 MB / 328.2 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.03472, allocations: 1.297 MB / 329.5 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.03472, allocations: 8 kB / 329.5 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.03508, allocations: 131.8 kB / 329.7 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004049/0.03549, allocations: 177.7 kB / 329.8 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.03552, allocations: 12 kB / 329.9 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002828/0.03834, allocations: 3.519 MB / 333.4 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.03834, allocations: 144 / 333.4 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.03996, allocations: 1.057 MB / 334.4 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.04013, allocations: 127.5 kB / 334.6 MB, free: 2.445 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.04018, allocations: 16 kB / 334.6 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.0404, allocations: 35.95 kB / 334.6 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/0.04048, allocations: 48.36 kB / 334.7 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.0405, allocations: 15.98 kB / 334.7 MB, free: 2.328 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002513/0.04075, allocations: 358.9 kB / 335 MB, free: 1.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04075, allocations: 0 / 335 MB, free: 1.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004685/0.04122, allocations: 227.7 kB / 335.2 MB, free: 1.758 MB / 314.7 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 9.436e-05/0.04131, allocations: 115.2 kB / 335.4 MB, free: 1.637 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.04248, allocations: 1.03 MB / 336.4 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.04248, allocations: 0 / 336.4 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.04299, allocations: 0.5235 MB / 336.9 MB, free: 0 / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/0.04367, allocations: 182.5 kB / 337.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.04519, allocations: 1.193 MB / 338.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.04535, allocations: 289.9 kB / 338.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.04545, allocations: 56.48 kB / 338.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of SimCode: time 4e-07/0.04546, allocations: 0 / 338.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of Templates: time 0.137/0.1825, allocations: 15.57 MB / 354.2 MB, free: 60.7 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.813524636439979]