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.001874/0.001874, allocations: 73.56 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002219/0.002219, allocations: 153.4 kB / 24.49 MB, free: 3.723 MB / 14.72 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 1.431/1.431, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001567/0.001567, allocations: 50.77 kB / 319.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08741/0.08898, allocations: 52.16 MB / 371.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005538/0.09452, allocations: 3.965 MB / 375.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.09688, allocations: 1.153 MB / 376.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.09716, allocations: 11.94 kB / 376.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.09756, allocations: 134.8 kB / 376.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.09814, allocations: 269.8 kB / 377.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.0986, allocations: 191.7 kB / 377.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.09967, allocations: 0.9298 MB / 378.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.09997, allocations: 161 kB / 378.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005437/0.1005, allocations: 378.7 kB / 378.7 MB, free: 124 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/0.1011, allocations: 350.4 kB / 379.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.1012, allocations: 76 kB / 379.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.1013, allocations: 76 kB / 379.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.1015, allocations: 175.4 kB / 379.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00037/0.1019, allocations: 354.5 kB / 379.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009894/0.1029, allocations: 0.926 MB / 380.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1029, allocations: 0 / 380.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1029, allocations: 3.938 kB / 380.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1029, allocations: 4 kB / 380.7 MB, free: 14.17 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.002133/0.105, allocations: 1.053 MB / 381.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1051, allocations: 8.922 kB / 381.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.1052, allocations: 92.42 kB / 381.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007735/0.106, allocations: 427.2 kB / 382.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.1062, allocations: 152.4 kB / 382.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.1063, allocations: 44.33 kB / 382.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.1078, allocations: 1.165 MB / 383.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.1078, allocations: 0 / 383.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/0.1078, allocations: 27.98 kB / 383.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1078, allocations: 12 kB / 383.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.109, allocations: 447.7 kB / 384.1 MB, free: 10.48 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.002995/0.112, allocations: 1.468 MB / 385.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.1139, allocations: 0.581 MB / 386.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/0.1145, allocations: 233 kB / 386.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.561e-05/0.1146, allocations: 12.44 kB / 386.4 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.1146, allocations: 43.06 kB / 386.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.044e-06/0.1146, allocations: 4 kB / 386.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005145/0.1198, allocations: 1.244 MB / 387.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000316/0.1201, allocations: 0.5722 MB / 388.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006534/0.1207, allocations: 0.4988 MB / 388.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.1208, allocations: 41.7 kB / 388.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.121, allocations: 289.7 kB / 389.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.1212, allocations: 194.3 kB / 389.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.1214, allocations: 118.3 kB / 389.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1216, allocations: 362.8 kB / 389.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.1222, allocations: 226.9 kB / 389.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.1234, allocations: 0.9635 MB / 390.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.1245, allocations: 487.8 kB / 391.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1245, allocations: 0 / 391.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002497/0.127, allocations: 0.8308 MB / 392.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.1271, allocations: 29.7 kB / 392.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1271, allocations: 7.984 kB / 392.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.1281, allocations: 222.3 kB / 392.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007578/0.1289, allocations: 131.8 kB / 392.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008006/0.1369, allocations: 5.181 MB / 397.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007095/0.1376, allocations: 75.84 kB / 397.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.1377, allocations: 19.98 kB / 397.9 MB, free: 11.82 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.0003035/0.138, allocations: 193.7 kB / 398.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.1381, allocations: 75.52 kB / 398.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/0.1406, allocations: 0.7715 MB / 398.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.1406, allocations: 4 kB / 398.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1406, allocations: 0 / 398.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002396/0.143, allocations: 1.037 MB / 399.9 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.1462, allocations: 1.293 MB / 401.2 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1462, allocations: 0 / 401.2 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/0.1471, allocations: 127.8 kB / 401.4 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000882/0.1479, allocations: 181.5 kB / 401.5 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.148, allocations: 8 kB / 401.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/0.1535, allocations: 3.531 MB / 405.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1535, allocations: 0 / 405.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.1566, allocations: 1.061 MB / 406.1 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003831/0.157, allocations: 127.6 kB / 406.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/0.1571, allocations: 16.12 kB / 406.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005198/0.1576, allocations: 35.97 kB / 406.3 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.1577, allocations: 56.33 kB / 406.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.1577, allocations: 12 kB / 406.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004883/0.1582, allocations: 362.8 kB / 406.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1582, allocations: 0 / 406.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007928/0.159, allocations: 219.8 kB / 407 MB, free: 2.328 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.0001489/0.1592, allocations: 111.2 kB / 407.1 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002494/0.1617, allocations: 1.042 MB / 408.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1617, allocations: 0 / 408.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.1628, allocations: 0.5119 MB / 408.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008022/0.1636, allocations: 170.1 kB / 408.8 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.1659, allocations: 1.275 MB / 410.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1663, allocations: 293.8 kB / 410.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003232/0.1666, allocations: 76.92 kB / 410.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.1667, allocations: 56.48 kB / 410.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1667, allocations: 4 kB / 410.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of Templates: time 0.02561/0.1923, allocations: 14.54 MB / 425 MB, free: 388 kB / 382.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/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.080860620015301]