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.0008044/0.0008044, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003334/0.003334, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8592/0.8592, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.623e-06/1.623e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.73e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003635/0.003662, allocations: 3.986 MB / 329.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.005571, allocations: 1.191 MB / 331 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.005828, allocations: 15.88 kB / 331 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.006125, allocations: 134.8 kB / 331.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004519/0.006576, allocations: 281.5 kB / 331.4 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.00695, allocations: 207.5 kB / 331.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006426/0.007592, allocations: 0.9794 MB / 332.6 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.007819, allocations: 161 kB / 332.8 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004939/0.008313, allocations: 0.5418 MB / 333.3 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.008587, allocations: 295.2 kB / 333.6 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.816e-05/0.008655, allocations: 76 kB / 333.7 MB, free: 7.551 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.008753, allocations: 80 kB / 333.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.836e-05/0.008842, allocations: 179.3 kB / 333.9 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.009026, allocations: 299.4 kB / 334.2 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006947/0.00972, allocations: 0.958 MB / 335.2 MB, free: 6.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.009725, allocations: 3.938 kB / 335.2 MB, free: 6.039 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.009726, allocations: 0 / 335.2 MB, free: 6.039 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.009733, allocations: 0 / 335.2 MB, free: 6.039 MB / 298.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.001329/0.01106, allocations: 1.052 MB / 336.2 MB, free: 4.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.01111, allocations: 8.031 kB / 336.2 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.0113, allocations: 92.45 kB / 336.3 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.01186, allocations: 434.5 kB / 336.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.012, allocations: 152.3 kB / 336.9 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.01205, allocations: 48.38 kB / 336.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009102/0.01296, allocations: 1.15 MB / 338.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.01299, allocations: 4 kB / 338.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.01302, allocations: 24 kB / 338.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.01303, allocations: 12 kB / 338.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006629/0.0137, allocations: 439.7 kB / 338.6 MB, free: 2.359 MB / 298.7 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.002125/0.01582, allocations: 1.472 MB / 340 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.017, allocations: 0.5817 MB / 340.6 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.01737, allocations: 242.3 kB / 340.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.01741, allocations: 4.5 kB / 340.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.01745, allocations: 47.06 kB / 340.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 3.837e-06/0.01745, allocations: 0 / 340.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=54): time 0.002792/0.02024, allocations: 1.248 MB / 342.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002472/0.02049, allocations: 0.5683 MB / 342.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.02099, allocations: 0.4989 MB / 343.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.02104, allocations: 41.64 kB / 343.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.02123, allocations: 285.7 kB / 343.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.02136, allocations: 202.2 kB / 343.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.0215, allocations: 110.3 kB / 343.8 MB, free: 12.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.02163, allocations: 366.8 kB / 344.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.02195, allocations: 218.9 kB / 344.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/0.02258, allocations: 0.9674 MB / 345.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.02324, allocations: 487.8 kB / 345.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.02324, allocations: 0 / 345.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001341/0.02458, allocations: 0.8346 MB / 346.7 MB, free: 9.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.02463, allocations: 29.7 kB / 346.7 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.02464, allocations: 4 kB / 346.7 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.02526, allocations: 230.3 kB / 346.9 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.02565, allocations: 123.8 kB / 347.1 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00515/0.0308, allocations: 5.19 MB / 352.3 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/0.03136, allocations: 67.75 kB / 352.3 MB, free: 3.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.03139, allocations: 16 kB / 352.3 MB, free: 3.707 MB / 314.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.0003012/0.03169, allocations: 197.8 kB / 352.5 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.03178, allocations: 67.62 kB / 352.6 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.03317, allocations: 0.7637 MB / 353.4 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.03317, allocations: 8 kB / 353.4 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.03318, allocations: 4 kB / 353.4 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/0.03442, allocations: 1.025 MB / 354.4 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.0364, allocations: 1.313 MB / 355.7 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.03641, allocations: 0 / 355.7 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.03679, allocations: 127.8 kB / 355.8 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.03726, allocations: 173.6 kB / 356 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.03729, allocations: 16 kB / 356 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003084/0.04037, allocations: 3.52 MB / 359.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.04037, allocations: 0 / 359.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.0421, allocations: 1.057 MB / 360.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.04234, allocations: 127.4 kB / 360.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.04239, allocations: 12 kB / 360.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.04263, allocations: 35.97 kB / 360.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.04274, allocations: 48.34 kB / 360.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.04276, allocations: 19.98 kB / 360.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000313/0.04308, allocations: 354.9 kB / 361.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04308, allocations: 0 / 361.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005537/0.04363, allocations: 227.8 kB / 361.4 MB, free: 10.23 MB / 330.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.000135/0.04377, allocations: 111.2 kB / 361.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.04516, allocations: 1.034 MB / 362.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.04516, allocations: 192 / 362.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005563/0.04572, allocations: 0.5155 MB / 363.1 MB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.04628, allocations: 182.2 kB / 363.2 MB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.04789, allocations: 1.216 MB / 364.5 MB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.0481, allocations: 289.9 kB / 364.7 MB, free: 6.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.04821, allocations: 52.48 kB / 364.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.04821, allocations: 0 / 364.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of Templates: time 0.01372/0.06193, allocations: 15.57 MB / 380.4 MB, free: 7.195 MB / 346.7 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.379691659472883]