Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00078/0.00078, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003111/0.003111, allocations: 143.5 kB / 24.68 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8249/0.8249, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.217e-05, allocations: 2.281 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003578/0.0036, allocations: 3.937 MB / 323.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.005281, allocations: 1.172 MB / 324.8 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.005499, allocations: 15.88 kB / 324.8 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.005793, allocations: 138.7 kB / 324.9 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.006174, allocations: 281.6 kB / 325.2 MB, free: 284 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.006497, allocations: 199.5 kB / 325.4 MB, free: 84 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007357/0.007233, allocations: 0.9713 MB / 326.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.007457, allocations: 157 kB / 326.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.007947, allocations: 0.5379 MB / 327.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.008209, allocations: 299.1 kB / 327.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.166e-05/0.008281, allocations: 76 kB / 327.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.026e-05/0.008351, allocations: 80 kB / 327.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.769e-05/0.008439, allocations: 171.4 kB / 327.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.008639, allocations: 299.3 kB / 328 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006264/0.009265, allocations: 0.9463 MB / 328.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.009269, allocations: 4 kB / 328.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00927, allocations: 0 / 328.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.009276, allocations: 4 kB / 328.9 MB, free: 12.55 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.001151/0.01043, allocations: 1.044 MB / 330 MB, free: 11.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.01046, allocations: 12.92 kB / 330 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.998e-05/0.01056, allocations: 92.41 kB / 330.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.01109, allocations: 426.4 kB / 330.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.01121, allocations: 156.3 kB / 330.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.01126, allocations: 52.38 kB / 330.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.01212, allocations: 1.158 MB / 331.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.01214, allocations: 0 / 331.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.01217, allocations: 24 kB / 331.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.01218, allocations: 12 kB / 331.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.01282, allocations: 443.7 kB / 332.3 MB, free: 8.863 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.001766/0.01459, allocations: 1.472 MB / 333.8 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.01562, allocations: 0.5732 MB / 334.4 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.01594, allocations: 238.2 kB / 334.6 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.01597, allocations: 8.5 kB / 334.6 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.01599, allocations: 43.06 kB / 334.7 MB, free: 6.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 1.523e-06/0.016, allocations: 0 / 334.7 MB, free: 6.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.002432/0.01843, allocations: 1.252 MB / 335.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.0186, allocations: 0.5644 MB / 336.5 MB, free: 4.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.01896, allocations: 0.4989 MB / 337 MB, free: 3.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.01899, allocations: 41.7 kB / 337 MB, free: 3.934 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.01914, allocations: 285.7 kB / 337.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.965e-05/0.01924, allocations: 206.3 kB / 337.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.01935, allocations: 114.3 kB / 337.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.01946, allocations: 370.7 kB / 338 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.01976, allocations: 214.9 kB / 338.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.02033, allocations: 0.9635 MB / 339.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.02094, allocations: 491.8 kB / 339.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.02094, allocations: 0 / 339.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001205/0.02215, allocations: 0.8307 MB / 340.5 MB, free: 196 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.02218, allocations: 29.7 kB / 340.5 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.02218, allocations: 4 kB / 340.5 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.02274, allocations: 218.4 kB / 340.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.02308, allocations: 131.8 kB / 340.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004447/0.02753, allocations: 5.193 MB / 346 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.02782, allocations: 67.94 kB / 346.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.02784, allocations: 16 kB / 346.1 MB, free: 10.21 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.0001761/0.02802, allocations: 200.7 kB / 346.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.02808, allocations: 67.62 kB / 346.4 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.02939, allocations: 0.7793 MB / 347.1 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.02939, allocations: 4 kB / 347.1 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.02939, allocations: 0 / 347.1 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/0.0305, allocations: 1.033 MB / 348.2 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.0321, allocations: 1.301 MB / 349.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.03211, allocations: 0 / 349.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.03246, allocations: 131.8 kB / 349.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003928/0.03285, allocations: 173.5 kB / 349.8 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.03287, allocations: 12 kB / 349.8 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002857/0.03573, allocations: 3.523 MB / 353.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.03573, allocations: 0 / 353.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.03715, allocations: 1.057 MB / 354.4 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.03731, allocations: 127.4 kB / 354.5 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.03735, allocations: 12 kB / 354.5 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.03757, allocations: 35.97 kB / 354.5 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.03765, allocations: 52.34 kB / 354.6 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.03767, allocations: 19.98 kB / 354.6 MB, free: 1.289 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002515/0.03792, allocations: 354.9 kB / 355 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03792, allocations: 192 / 355 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004581/0.03838, allocations: 223.8 kB / 355.2 MB, free: 0.7266 MB / 314.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.0001105/0.03849, allocations: 115.1 kB / 355.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.0397, allocations: 1.042 MB / 356.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.03971, allocations: 0 / 356.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004914/0.0402, allocations: 0.5119 MB / 356.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.04067, allocations: 178.2 kB / 357 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.04224, allocations: 1.19 MB / 358.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.0424, allocations: 293.8 kB / 358.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.04251, allocations: 56.5 kB / 358.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.04251, allocations: 3.938 kB / 358.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of Templates: time 0.01049/0.053, allocations: 15.57 MB / 374.1 MB, free: 13.7 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.573747372254729]