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.001935/0.001935, allocations: 86.58 kB / 22 MB, free: 5.18 MB / 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.002029/0.002029, allocations: 161.4 kB / 25.25 MB, free: 3.027 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.336/1.336, allocations: 158.6 MB / 187 MB, free: 6.25 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 55.92 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2468, allocations: 49.15 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006049/0.2529, allocations: 3.939 MB / 352.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.2552, allocations: 1.216 MB / 353.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.2555, allocations: 15.88 kB / 353.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004277/0.2559, allocations: 134.8 kB / 353.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005611/0.2565, allocations: 269.8 kB / 354.1 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.2569, allocations: 191.6 kB / 354.3 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.2579, allocations: 0.9337 MB / 355.2 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.2582, allocations: 157.1 kB / 355.4 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004847/0.2587, allocations: 382.7 kB / 355.7 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005534/0.2593, allocations: 346.3 kB / 356.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.2594, allocations: 76 kB / 356.1 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.2595, allocations: 80 kB / 356.2 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.2597, allocations: 167.4 kB / 356.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.2601, allocations: 362.5 kB / 356.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.2611, allocations: 0.9245 MB / 357.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2611, allocations: 4 kB / 357.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.2611, allocations: 3.984 kB / 357.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.2611, allocations: 0 / 357.7 MB, free: 6.312 MB / 318.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.002102/0.2632, allocations: 1.053 MB / 358.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2633, allocations: 19.92 kB / 358.7 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.2634, allocations: 92.42 kB / 358.8 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/0.2643, allocations: 427.2 kB / 359.2 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.2645, allocations: 148.4 kB / 359.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.434e-05/0.2645, allocations: 40.38 kB / 359.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.266, allocations: 1.154 MB / 360.6 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.2661, allocations: 11.89 kB / 360.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/0.2661, allocations: 27.98 kB / 360.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.2661, allocations: 12 kB / 360.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.2673, allocations: 443.7 kB / 361.1 MB, free: 2.617 MB / 318.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.003199/0.2705, allocations: 1.468 MB / 362.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.2724, allocations: 0.5768 MB / 363.1 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005612/0.273, allocations: 234.2 kB / 363.3 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.273, allocations: 16.42 kB / 363.4 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.2731, allocations: 43.06 kB / 363.4 MB, free: 212 kB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.425e-06/0.2731, allocations: 7.938 kB / 363.4 MB, free: 204 kB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.005092/0.2782, allocations: 1.241 MB / 364.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003903/0.2786, allocations: 0.5683 MB / 365.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/0.2792, allocations: 0.4911 MB / 365.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.419e-05/0.2793, allocations: 41.7 kB / 365.7 MB, free: 13.69 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.2795, allocations: 293.7 kB / 366 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.2797, allocations: 198.3 kB / 366.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.2799, allocations: 114.3 kB / 366.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.2801, allocations: 366.8 kB / 366.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/0.2806, allocations: 222.9 kB / 366.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.2817, allocations: 0.9635 MB / 367.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.2828, allocations: 491.7 kB / 368.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.2828, allocations: 0 / 368.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002535/0.2854, allocations: 0.8269 MB / 369.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.2854, allocations: 33.7 kB / 369.2 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.2854, allocations: 4 kB / 369.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.2866, allocations: 222.3 kB / 369.4 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007453/0.2874, allocations: 127.8 kB / 369.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008333/0.2957, allocations: 5.193 MB / 374.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/0.2964, allocations: 67.75 kB / 374.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.2964, allocations: 20.09 kB / 374.8 MB, free: 3.977 MB / 334.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.000337/0.2968, allocations: 193.7 kB / 375 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.2969, allocations: 75.52 kB / 375.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/0.2993, allocations: 0.7637 MB / 375.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2993, allocations: 4 kB / 375.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.2993, allocations: 3.938 kB / 375.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002349/0.3017, allocations: 1.029 MB / 376.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.305, allocations: 1.305 MB / 378.2 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.305, allocations: 0 / 378.2 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007775/0.3057, allocations: 127.8 kB / 378.3 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008531/0.3066, allocations: 177.7 kB / 378.5 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.3066, allocations: 12 kB / 378.5 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005577/0.3122, allocations: 3.531 MB / 382.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3122, allocations: 400 / 382.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.3153, allocations: 1.053 MB / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.3156, allocations: 127.5 kB / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.3157, allocations: 15.94 kB / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/0.3162, allocations: 31.97 kB / 383.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3163, allocations: 48.41 kB / 383.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.3164, allocations: 15.98 kB / 383.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004706/0.3168, allocations: 362.9 kB / 383.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3168, allocations: 0 / 383.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007764/0.3176, allocations: 227.7 kB / 383.9 MB, free: 10.48 MB / 350.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.0002449/0.3179, allocations: 111.2 kB / 384 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002513/0.3204, allocations: 1.038 MB / 385.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3204, allocations: 0 / 385.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.3215, allocations: 0.5117 MB / 385.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/0.3223, allocations: 186.7 kB / 385.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.3245, allocations: 1.287 MB / 387 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3248, allocations: 293.8 kB / 387.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.3251, allocations: 72.94 kB / 387.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3253, allocations: 52.5 kB / 387.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3253, allocations: 0 / 387.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of Templates: time 0.02524/0.3505, allocations: 14.55 MB / 402 MB, free: 8.199 MB / 366.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/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.131973023060709]