Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001352/0.001352, allocations: 111.1 kB / 20.44 MB, free: 1.332 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.001454/0.001454, allocations: 210.5 kB / 23.73 MB, free: 4.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 43.94 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2403, allocations: 53.36 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005643/0.2459, allocations: 3.964 MB / 435.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.2482, allocations: 1.206 MB / 436.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.2484, allocations: 7.938 kB / 436.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.2488, allocations: 130.8 kB / 436.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.2493, allocations: 265.8 kB / 437.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.2498, allocations: 203.7 kB / 437.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009618/0.2507, allocations: 0.9282 MB / 438.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.251, allocations: 165 kB / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000469/0.2515, allocations: 390.5 kB / 438.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.2519, allocations: 338.4 kB / 439.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.2521, allocations: 76 kB / 439.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.2522, allocations: 83.98 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.2524, allocations: 175.4 kB / 439.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.2527, allocations: 350.5 kB / 439.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009827/0.2537, allocations: 0.9413 MB / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2537, allocations: 0 / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2537, allocations: 0 / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.2537, allocations: 0 / 440.7 MB, free: 13.5 MB / 350.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.002031/0.2558, allocations: 1.057 MB / 441.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2558, allocations: 8.031 kB / 441.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.2561, allocations: 96.41 kB / 441.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/0.2569, allocations: 431.3 kB / 442.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.257, allocations: 148.4 kB / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.4e-05/0.2571, allocations: 48.38 kB / 442.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.2586, allocations: 1.155 MB / 443.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.2586, allocations: 4 kB / 443.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.2587, allocations: 20 kB / 443.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.2587, allocations: 16 kB / 443.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.2598, allocations: 443.6 kB / 444.1 MB, free: 9.805 MB / 350.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.002934/0.2627, allocations: 1.483 MB / 445.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.2646, allocations: 0.5683 MB / 446.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005873/0.2652, allocations: 238 kB / 446.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.2652, allocations: 17.03 kB / 446.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.2653, allocations: 43 kB / 446.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.614e-06/0.2653, allocations: 3.938 kB / 446.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004941/0.2702, allocations: 1.238 MB / 447.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003079/0.2705, allocations: 0.5722 MB / 448.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006211/0.2711, allocations: 0.4951 MB / 448.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.2712, allocations: 37.7 kB / 448.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.2715, allocations: 297.6 kB / 449.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.2717, allocations: 194.3 kB / 449.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.2719, allocations: 114.3 kB / 449.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.2721, allocations: 366.7 kB / 449.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/0.2726, allocations: 218.9 kB / 450 MB, free: 3.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.2737, allocations: 0.9636 MB / 451 MB, free: 2.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.2748, allocations: 491.5 kB / 451.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2748, allocations: 0 / 451.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002358/0.2772, allocations: 0.8268 MB / 452.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.2772, allocations: 41.72 kB / 452.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2772, allocations: 0 / 452.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009932/0.2782, allocations: 218.3 kB / 452.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.279, allocations: 131.8 kB / 452.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007709/0.2867, allocations: 5.197 MB / 457.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006584/0.2873, allocations: 67.75 kB / 457.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.2874, allocations: 19.98 kB / 457.9 MB, free: 11.15 MB / 366.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.0003015/0.2877, allocations: 197.7 kB / 458.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.2878, allocations: 71.56 kB / 458.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.2901, allocations: 0.7637 MB / 459 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.2901, allocations: 8 kB / 459 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.2901, allocations: 0 / 459 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002262/0.2924, allocations: 1.025 MB / 460 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/0.2956, allocations: 1.309 MB / 461.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2956, allocations: 7.938 kB / 461.3 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007531/0.2963, allocations: 123.8 kB / 461.4 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008316/0.2972, allocations: 173.5 kB / 461.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.2972, allocations: 12 kB / 461.6 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005326/0.3025, allocations: 3.519 MB / 465.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3025, allocations: 0 / 465.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/0.3054, allocations: 1.065 MB / 466.2 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.3058, allocations: 123.4 kB / 466.3 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.959e-05/0.3058, allocations: 19.88 kB / 466.3 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/0.3063, allocations: 39.97 kB / 466.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.3065, allocations: 40.41 kB / 466.4 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.3065, allocations: 19.98 kB / 466.4 MB, free: 2.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004537/0.3069, allocations: 362.8 kB / 466.8 MB, free: 1.875 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3069, allocations: 0 / 466.8 MB, free: 1.875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008077/0.3078, allocations: 219.8 kB / 467 MB, free: 1.66 MB / 366.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.0001595/0.3079, allocations: 115.2 kB / 467.1 MB, free: 1.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002404/0.3103, allocations: 1.034 MB / 468.2 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3103, allocations: 0 / 468.2 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.3114, allocations: 0.5158 MB / 468.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008213/0.3122, allocations: 180.6 kB / 468.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.3145, allocations: 1.301 MB / 470.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.3148, allocations: 289.8 kB / 470.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003015/0.3151, allocations: 76.92 kB / 470.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.3152, allocations: 51.42 kB / 470.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3152, allocations: 0 / 470.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of Templates: time 0.0256/0.3408, allocations: 15.41 MB / 486 MB, free: 14.88 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.183595683425665]