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.001569/0.001569, allocations: 86.14 kB / 21.44 MB, free: 296 kB / 14.72 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.001765/0.001765, allocations: 165 kB / 24.7 MB, free: 3.547 MB / 14.72 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 1.391/1.391, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] 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.673e-06/1.673e-06, allocations: 0 / 298.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.622e-05, allocations: 6.219 kB / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005891/0.005927, allocations: 3.952 MB / 302.9 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.008406, allocations: 1.192 MB / 304.1 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/0.008709, allocations: 15.94 kB / 304.1 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004756/0.009185, allocations: 134.8 kB / 304.2 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007339/0.009918, allocations: 285.5 kB / 304.5 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005545/0.01047, allocations: 195.5 kB / 304.7 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.01164, allocations: 0.9798 MB / 305.7 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.01196, allocations: 161 kB / 305.8 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006943/0.01265, allocations: 0.5379 MB / 306.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.0131, allocations: 299.2 kB / 306.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.01324, allocations: 76 kB / 306.7 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.01339, allocations: 76 kB / 306.8 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.01356, allocations: 175.3 kB / 307 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003791/0.01394, allocations: 299.4 kB / 307.3 MB, free: 348 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.01505, allocations: 0.954 MB / 308.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.01506, allocations: 0 / 308.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01506, allocations: 3.938 kB / 308.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.01507, allocations: 0 / 308.2 MB, free: 15.38 MB / 302.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.002091/0.01716, allocations: 1.061 MB / 309.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.0172, allocations: 11.98 kB / 309.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.01738, allocations: 92.42 kB / 309.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008276/0.01821, allocations: 426.4 kB / 309.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.0184, allocations: 148.4 kB / 310 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-05/0.01849, allocations: 48.38 kB / 310 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.02006, allocations: 1.158 MB / 311.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.02008, allocations: 0 / 311.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.02014, allocations: 20 kB / 311.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.02015, allocations: 12 kB / 311.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.0213, allocations: 447.6 kB / 311.6 MB, free: 11.69 MB / 302.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.003088/0.02439, allocations: 1.476 MB / 313.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.02644, allocations: 0.5731 MB / 313.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/0.02705, allocations: 245 kB / 313.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/0.0271, allocations: 12.5 kB / 313.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.02714, allocations: 39.06 kB / 314 MB, free: 9.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 1.944e-06/0.02714, allocations: 0 / 314 MB, free: 9.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005354/0.03249, allocations: 1.248 MB / 315.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003581/0.03285, allocations: 0.5683 MB / 315.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.0336, allocations: 0.4989 MB / 316.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/0.03366, allocations: 37.7 kB / 316.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.03393, allocations: 297.6 kB / 316.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.03413, allocations: 190.3 kB / 316.8 MB, free: 6.277 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.03434, allocations: 118.3 kB / 316.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002466/0.03459, allocations: 370.8 kB / 317.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005871/0.03518, allocations: 222.9 kB / 317.5 MB, free: 5.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.03632, allocations: 0.9596 MB / 318.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.03754, allocations: 491.8 kB / 318.9 MB, free: 3.887 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.03754, allocations: 0 / 318.9 MB, free: 3.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002668/0.04021, allocations: 0.8346 MB / 319.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.04026, allocations: 33.7 kB / 319.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.04026, allocations: 0 / 319.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.0414, allocations: 222.4 kB / 320 MB, free: 2.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/0.04221, allocations: 127.8 kB / 320.2 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1436/0.1859, allocations: 5.17 MB / 325.3 MB, free: 31.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.1871, allocations: 70.62 kB / 325.4 MB, free: 31.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-05/0.1871, allocations: 23.69 kB / 325.4 MB, free: 31.56 MB / 302.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.0004269/0.1876, allocations: 192.2 kB / 325.6 MB, free: 31.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.1877, allocations: 72.59 kB / 325.7 MB, free: 31.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/0.1911, allocations: 0.7594 MB / 326.4 MB, free: 31.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.1911, allocations: 5.547 kB / 326.4 MB, free: 31.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1911, allocations: 3.719 kB / 326.4 MB, free: 31.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003037/0.1941, allocations: 1.035 MB / 327.5 MB, free: 30.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004328/0.1984, allocations: 1.296 MB / 328.8 MB, free: 29.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1984, allocations: 0.6562 kB / 328.8 MB, free: 29.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008612/0.1993, allocations: 131.3 kB / 328.9 MB, free: 29.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.2003, allocations: 171.7 kB / 329.1 MB, free: 29.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.2004, allocations: 12.66 kB / 329.1 MB, free: 29.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005667/0.2061, allocations: 3.528 MB / 332.6 MB, free: 26.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.2061, allocations: 0.5156 kB / 332.6 MB, free: 26.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002788/0.2088, allocations: 1.054 MB / 333.7 MB, free: 26.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.2091, allocations: 128.5 kB / 333.8 MB, free: 26.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-05/0.2092, allocations: 20.91 kB / 333.8 MB, free: 26.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005175/0.2098, allocations: 36.11 kB / 333.8 MB, free: 26.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.2099, allocations: 45.66 kB / 333.9 MB, free: 26.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.2099, allocations: 17.05 kB / 333.9 MB, free: 26.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004433/0.2104, allocations: 354.7 kB / 334.2 MB, free: 26.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2104, allocations: 0 / 334.2 MB, free: 26.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007821/0.2112, allocations: 226.7 kB / 334.5 MB, free: 26.2 MB / 302.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.0001437/0.2113, allocations: 114.7 kB / 334.6 MB, free: 26.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.2135, allocations: 1.031 MB / 335.6 MB, free: 25.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2135, allocations: 1.188 kB / 335.6 MB, free: 25.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009451/0.2145, allocations: 0.5172 MB / 336.1 MB, free: 25.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008462/0.2153, allocations: 177.2 kB / 336.3 MB, free: 25.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.2174, allocations: 1.169 MB / 337.5 MB, free: 24.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.2177, allocations: 289.4 kB / 337.8 MB, free: 24.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003431/0.2181, allocations: 81.91 kB / 337.8 MB, free: 24.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.2182, allocations: 58.45 kB / 337.9 MB, free: 24.35 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2182, allocations: 0 / 337.9 MB, free: 24.35 MB / 302.1 MB Notification: Performance of Templates: time 0.02054/0.2387, allocations: 14.41 MB / 352.3 MB, free: 14.54 MB / 302.1 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.217835478484631]