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.001753/0.001753, allocations: 120.2 kB / 21.94 MB, free: 8 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.002243/0.002243, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.538/1.538, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.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.002062/0.002062, allocations: 54.58 kB / 348.4 MB, free: 9.629 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3025, allocations: 49.17 MB / 397.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005856/0.3084, allocations: 4.396 MB / 402 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.3112, allocations: 1.274 MB / 403.3 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004948/0.3117, allocations: 11 kB / 403.3 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004646/0.3122, allocations: 139.1 kB / 403.4 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006879/0.3128, allocations: 272.4 kB / 403.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.3134, allocations: 197.5 kB / 403.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.3146, allocations: 0.9316 MB / 404.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.3149, allocations: 169.3 kB / 405 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006584/0.3156, allocations: 373.6 kB / 405.3 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005637/0.3161, allocations: 407.1 kB / 405.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.3163, allocations: 75.5 kB / 405.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.3164, allocations: 81.78 kB / 405.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.3166, allocations: 170.4 kB / 406.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.317, allocations: 418.1 kB / 406.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.3183, allocations: 0.921 MB / 407.4 MB, free: 3.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3183, allocations: 0.75 kB / 407.4 MB, free: 3.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3183, allocations: 3.938 kB / 407.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.3184, allocations: 0 / 407.4 MB, free: 3.379 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.00225/0.3206, allocations: 1.064 MB / 408.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.3207, allocations: 17.98 kB / 408.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.3208, allocations: 90.86 kB / 408.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008364/0.3217, allocations: 420.9 kB / 409 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.3218, allocations: 145.2 kB / 409.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.986e-05/0.3219, allocations: 51.77 kB / 409.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.3231, allocations: 0.6506 MB / 409.8 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.3232, allocations: 3.953 kB / 409.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/0.3232, allocations: 26.88 kB / 409.8 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.3232, allocations: 11.66 kB / 409.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.3243, allocations: 449 kB / 410.3 MB, free: 1.582 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.00294/0.3272, allocations: 1.875 MB / 412.2 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.3291, allocations: 0.5834 MB / 412.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/0.3296, allocations: 231.4 kB / 413 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.499e-05/0.3297, allocations: 15.14 kB / 413 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.3297, allocations: 48.61 kB / 413 MB, free: 15.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.134e-06/0.3297, allocations: 0 / 413 MB, free: 15.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.005169/0.3349, allocations: 1.252 MB / 414.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004431/0.3354, allocations: 0.5642 MB / 414.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.3361, allocations: 0.5355 MB / 415.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.651e-05/0.3362, allocations: 39.3 kB / 415.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.3365, allocations: 290.1 kB / 415.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.3368, allocations: 196.8 kB / 415.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.337, allocations: 109.6 kB / 416 MB, free: 13.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.3372, allocations: 376.7 kB / 416.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005373/0.3377, allocations: 189.4 kB / 416.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007669/0.3385, allocations: 418.3 kB / 417 MB, free: 12.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.3396, allocations: 491.1 kB / 417.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3396, allocations: 1.156 kB / 417.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00246/0.3421, allocations: 0.8045 MB / 418.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.3421, allocations: 36.58 kB / 418.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3421, allocations: 1.125 kB / 418.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.3432, allocations: 225.3 kB / 418.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/0.3439, allocations: 124.1 kB / 418.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008159/0.3521, allocations: 5.303 MB / 423.9 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/0.3529, allocations: 75.3 kB / 424 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.353, allocations: 26.14 kB / 424 MB, free: 6.902 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.0003688/0.3533, allocations: 197.1 kB / 424.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.3535, allocations: 72.52 kB / 424.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.3559, allocations: 0.7655 MB / 425.1 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3559, allocations: 5.188 kB / 425.1 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.3559, allocations: 0 / 425.1 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002322/0.3582, allocations: 1.04 MB / 426.1 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/0.3618, allocations: 1.453 MB / 427.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3618, allocations: 3.938 kB / 427.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/0.3626, allocations: 131.8 kB / 427.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008676/0.3634, allocations: 177.7 kB / 427.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.3635, allocations: 11.94 kB / 427.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005822/0.3693, allocations: 3.6 MB / 431.5 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3693, allocations: 0 / 431.5 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003143/0.3725, allocations: 1.077 MB / 432.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/0.3729, allocations: 123.4 kB / 432.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.373, allocations: 15.98 kB / 432.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.3736, allocations: 39.97 kB / 432.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.3737, allocations: 44.41 kB / 432.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.3737, allocations: 15.94 kB / 432.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005734/0.3743, allocations: 386.8 kB / 433.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3743, allocations: 0 / 433.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008479/0.3752, allocations: 219.8 kB / 433.4 MB, free: 14.18 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.0001723/0.3753, allocations: 115.2 kB / 433.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00256/0.3779, allocations: 1.005 MB / 434.5 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.611e-05/0.3779, allocations: 7.953 kB / 434.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.379, allocations: 0.5197 MB / 435 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009932/0.38, allocations: 190.7 kB / 435.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.3828, allocations: 1.328 MB / 436.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006343/0.3834, allocations: 0.8879 MB / 437.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.3836, allocations: 55.42 kB / 437.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3836, allocations: 0 / 437.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of Templates: time 0.02328/0.4069, allocations: 15.5 MB / 453 MB, free: 10.39 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 -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: 9.175587381003425]