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.001308/0.001308, allocations: 75.73 kB / 21.24 MB, free: 400 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.00139/0.00139, allocations: 169.5 kB / 24.5 MB, free: 3.453 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.427/1.427, allocations: 177.2 MB / 204.9 MB, free: 8.957 MB / 190.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.001601/0.001601, allocations: 50.95 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.09107, allocations: 53.34 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005665/0.09674, allocations: 3.962 MB / 382.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.09919, allocations: 1.195 MB / 384.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.09951, allocations: 15.88 kB / 384.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.0999, allocations: 130.8 kB / 384.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006193/0.1005, allocations: 269.8 kB / 384.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.101, allocations: 195.7 kB / 384.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.102, allocations: 0.9336 MB / 385.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.1023, allocations: 165.1 kB / 385.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004732/0.1027, allocations: 374.6 kB / 386.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004785/0.1032, allocations: 350.3 kB / 386.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.1033, allocations: 80 kB / 386.5 MB, free: 8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.1035, allocations: 80 kB / 386.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.1037, allocations: 183.3 kB / 386.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.1041, allocations: 342.5 kB / 387.1 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009861/0.105, allocations: 0.9377 MB / 388.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.105, allocations: 0 / 388.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1051, allocations: 0 / 388.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1051, allocations: 0 / 388.1 MB, free: 6.465 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.002014/0.1071, allocations: 1.053 MB / 389.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.1071, allocations: 16.02 kB / 389.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.1074, allocations: 92.42 kB / 389.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007439/0.1081, allocations: 439.1 kB / 389.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.1083, allocations: 144.4 kB / 389.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.299e-05/0.1084, allocations: 48.38 kB / 389.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.1098, allocations: 1.157 MB / 391 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.1098, allocations: 4 kB / 391 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.1099, allocations: 16 kB / 391 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.1099, allocations: 15.98 kB / 391 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.111, allocations: 447.6 kB / 391.5 MB, free: 2.762 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.002878/0.1139, allocations: 1.468 MB / 392.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.1158, allocations: 0.5733 MB / 393.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005648/0.1163, allocations: 241.4 kB / 393.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.59e-05/0.1164, allocations: 16.42 kB / 393.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.1164, allocations: 47 kB / 393.8 MB, free: 356 kB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.723e-06/0.1164, allocations: 0 / 393.8 MB, free: 356 kB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004986/0.1214, allocations: 1.248 MB / 395.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00033/0.1217, allocations: 0.5683 MB / 395.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/0.1224, allocations: 0.4911 MB / 396.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/0.1224, allocations: 41.7 kB / 396.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.1226, allocations: 289.7 kB / 396.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.1228, allocations: 202.2 kB / 396.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.123, allocations: 110.3 kB / 396.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1232, allocations: 370.8 kB / 397.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.1237, allocations: 222.9 kB / 397.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.1247, allocations: 0.9591 MB / 398.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.1259, allocations: 499.7 kB / 398.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.1259, allocations: 4 kB / 398.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002369/0.1282, allocations: 0.8307 MB / 399.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.1283, allocations: 37.64 kB / 399.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1283, allocations: 0 / 399.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.1293, allocations: 222.4 kB / 399.9 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007441/0.13, allocations: 127.8 kB / 400 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007684/0.1377, allocations: 5.189 MB / 405.2 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/0.1384, allocations: 71.88 kB / 405.3 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.1384, allocations: 16 kB / 405.3 MB, free: 4.109 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.0002827/0.1387, allocations: 194.4 kB / 405.5 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.1388, allocations: 71.73 kB / 405.5 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/0.1412, allocations: 0.7638 MB / 406.3 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.1412, allocations: 11.94 kB / 406.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1412, allocations: 4 kB / 406.3 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002296/0.1435, allocations: 1.025 MB / 407.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.1466, allocations: 1.309 MB / 408.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1466, allocations: 0 / 408.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007851/0.1474, allocations: 135.8 kB / 408.8 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008432/0.1482, allocations: 169.6 kB / 408.9 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.1482, allocations: 12 kB / 409 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005352/0.1536, allocations: 3.515 MB / 412.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1536, allocations: 3.938 kB / 412.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.1565, allocations: 1.058 MB / 413.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.1567, allocations: 123.6 kB / 413.6 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.1568, allocations: 15.94 kB / 413.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.1573, allocations: 43.95 kB / 413.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.1574, allocations: 40.41 kB / 413.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.1575, allocations: 31.92 kB / 413.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004246/0.1579, allocations: 358.9 kB / 414.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1579, allocations: 0 / 414.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006887/0.1586, allocations: 219.8 kB / 414.3 MB, free: 10.62 MB / 382.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.0001401/0.1587, allocations: 115.2 kB / 414.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002374/0.1611, allocations: 1.042 MB / 415.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1611, allocations: 0 / 415.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.1621, allocations: 0.5155 MB / 416 MB, free: 8.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007591/0.1629, allocations: 174.7 kB / 416.2 MB, free: 8.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.1651, allocations: 1.287 MB / 417.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.1654, allocations: 289.9 kB / 417.8 MB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002673/0.1656, allocations: 76.92 kB / 417.8 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.1658, allocations: 48.5 kB / 417.9 MB, free: 6.934 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1658, allocations: 0 / 417.9 MB, free: 6.934 MB / 382.1 MB Notification: Performance of Templates: time 0.02419/0.19, allocations: 14.56 MB / 432.4 MB, free: 8.645 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/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: 4.863742616958916]