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.001876/0.001876, allocations: 99.53 kB / 20.97 MB, free: 3.449 MB / 18.57 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.001959/0.001959, allocations: 164.8 kB / 24.27 MB, free: 148 kB / 18.57 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.571/1.571, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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 1.253e-06/1.253e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.58e-05, allocations: 2.312 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006865/0.006891, allocations: 4.36 MB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.009316, allocations: 1.223 MB / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.009571, allocations: 11.94 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.009943, allocations: 130.8 kB / 277.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000617/0.01056, allocations: 285.5 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.01104, allocations: 203.5 kB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.01225, allocations: 0.9604 MB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.01257, allocations: 165 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008242/0.0134, allocations: 0.5534 MB / 280.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.01389, allocations: 299.2 kB / 280.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.01404, allocations: 76 kB / 280.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.01423, allocations: 80 kB / 280.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.01442, allocations: 179.3 kB / 280.7 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006009/0.01502, allocations: 299.4 kB / 281 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.01628, allocations: 0.9579 MB / 281.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01629, allocations: 0 / 281.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01629, allocations: 0 / 281.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.0163, allocations: 4 kB / 281.9 MB, free: 8.043 MB / 266.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.002383/0.01868, allocations: 1.184 MB / 283.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.01872, allocations: 11.98 kB / 283.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.01906, allocations: 132.5 kB / 283.3 MB, free: 6.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008172/0.01988, allocations: 445.2 kB / 283.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.02007, allocations: 148.4 kB / 283.8 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.02018, allocations: 56.38 kB / 283.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.02187, allocations: 1.223 MB / 285.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.02189, allocations: 0 / 285.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/0.02194, allocations: 23.94 kB / 285.1 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.02196, allocations: 12 kB / 285.1 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.02302, allocations: 407.8 kB / 285.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/0.02651, allocations: 1.701 MB / 287.2 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.02849, allocations: 0.5773 MB / 287.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007654/0.02926, allocations: 225.1 kB / 288 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.89e-05/0.02932, allocations: 12.5 kB / 288.1 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.978e-05/0.02938, allocations: 49.88 kB / 288.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.194e-06/0.02938, allocations: 3.938 kB / 288.1 MB, free: 1.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.005064/0.03444, allocations: 1.194 MB / 289.3 MB, free: 236 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004163/0.03486, allocations: 0.5644 MB / 289.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009231/0.03578, allocations: 0.6433 MB / 290.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.03585, allocations: 41.7 kB / 290.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.03622, allocations: 368.4 kB / 290.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.03645, allocations: 206.3 kB / 291.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.03669, allocations: 124 kB / 291.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004002/0.03709, allocations: 0.5743 MB / 291.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/0.03761, allocations: 198.9 kB / 292 MB, free: 13.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.03886, allocations: 1.031 MB / 293 MB, free: 12.06 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.03994, allocations: 498 kB / 293.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.03995, allocations: 0 / 293.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002469/0.04242, allocations: 0.8234 MB / 294.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.04246, allocations: 29.7 kB / 294.4 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.04247, allocations: 4 kB / 294.4 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/0.044, allocations: 266.8 kB / 294.6 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009243/0.04493, allocations: 111.9 kB / 294.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009599/0.05452, allocations: 6.832 MB / 301.6 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/0.05521, allocations: 59.7 kB / 301.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/0.05526, allocations: 23.98 kB / 301.7 MB, free: 2.988 MB / 282.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.0003523/0.05562, allocations: 232.5 kB / 301.9 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/0.056, allocations: 87.58 kB / 302 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/0.05837, allocations: 0.7368 MB / 302.7 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.05838, allocations: 8 kB / 302.7 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.05838, allocations: 0 / 302.7 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002325/0.06071, allocations: 0.9998 MB / 303.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1082/0.1689, allocations: 1.413 MB / 305.1 MB, free: 41.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1689, allocations: 0.9375 kB / 305.1 MB, free: 41.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006935/0.1696, allocations: 117.3 kB / 305.2 MB, free: 41.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.1708, allocations: 213 kB / 305.5 MB, free: 41.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.1708, allocations: 12.33 kB / 305.5 MB, free: 41.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004329/0.1751, allocations: 4.637 MB / 310.1 MB, free: 37.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1751, allocations: 0.6094 kB / 310.1 MB, free: 37.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.1776, allocations: 1.078 MB / 311.2 MB, free: 37.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.1779, allocations: 122.2 kB / 311.3 MB, free: 37.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/0.178, allocations: 18.2 kB / 311.3 MB, free: 37.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.1785, allocations: 26.89 kB / 311.3 MB, free: 37.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.1786, allocations: 47.5 kB / 311.4 MB, free: 37.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.1786, allocations: 19.34 kB / 311.4 MB, free: 37.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004516/0.1791, allocations: 433 kB / 311.8 MB, free: 37.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1791, allocations: 3.844 kB / 311.8 MB, free: 37.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007411/0.1798, allocations: 226.6 kB / 312.1 MB, free: 37.17 MB / 282.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 0.0001351/0.1799, allocations: 111.5 kB / 312.2 MB, free: 37.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.1819, allocations: 1.196 MB / 313.4 MB, free: 36.28 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1819, allocations: 5.312 kB / 313.4 MB, free: 36.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008417/0.1827, allocations: 0.6448 MB / 314 MB, free: 35.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008046/0.1835, allocations: 197.6 kB / 314.2 MB, free: 35.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.1854, allocations: 1.199 MB / 315.4 MB, free: 35.13 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1856, allocations: 290.7 kB / 315.7 MB, free: 35.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002992/0.1859, allocations: 75.39 kB / 315.8 MB, free: 35.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.1861, allocations: 54.3 kB / 315.8 MB, free: 35 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1861, allocations: 0 / 315.8 MB, free: 35 MB / 282.7 MB Notification: Performance of Templates: time 0.02016/0.2062, allocations: 14.7 MB / 330.5 MB, free: 25.04 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] 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.142058124998584]