Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001729/0.001729, allocations: 78.88 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001995/0.001995, allocations: 161.1 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 177.1 MB / 204.7 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 62.38 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08636/0.08825, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005381/0.09363, allocations: 3.973 MB / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.09597, allocations: 1.195 MB / 384.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.09621, allocations: 15.88 kB / 384.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.09658, allocations: 122.9 kB / 384.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005408/0.09712, allocations: 277.7 kB / 384.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.09756, allocations: 195.7 kB / 384.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.09856, allocations: 0.9298 MB / 385.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.09885, allocations: 161.1 kB / 385.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004911/0.09934, allocations: 390.5 kB / 386.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/0.09982, allocations: 342.4 kB / 386.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.09994, allocations: 76 kB / 386.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.1001, allocations: 84 kB / 386.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.1003, allocations: 171.4 kB / 386.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.1007, allocations: 350.5 kB / 387.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009867/0.1016, allocations: 0.9376 MB / 388.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1016, allocations: 0 / 388.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1016, allocations: 4 kB / 388.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.1017, allocations: 0 / 388.1 MB, free: 6.254 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.002081/0.1037, allocations: 1.053 MB / 389.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1038, allocations: 15.98 kB / 389.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.104, allocations: 96.41 kB / 389.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000769/0.1048, allocations: 431.2 kB / 389.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.105, allocations: 148.4 kB / 389.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.207e-05/0.1051, allocations: 48.38 kB / 389.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.1065, allocations: 1.154 MB / 391 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.1065, allocations: 0 / 391 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.1066, allocations: 28 kB / 391 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1066, allocations: 8 kB / 391 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.1077, allocations: 451.6 kB / 391.5 MB, free: 2.559 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.002917/0.1106, allocations: 1.476 MB / 393 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.1125, allocations: 0.5744 MB / 393.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.1131, allocations: 242.2 kB / 393.8 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.1131, allocations: 13.09 kB / 393.8 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.1132, allocations: 43 kB / 393.8 MB, free: 144 kB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.274e-06/0.1132, allocations: 0 / 393.8 MB, free: 144 kB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005037/0.1182, allocations: 1.252 MB / 395.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002955/0.1185, allocations: 0.5683 MB / 395.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006357/0.1191, allocations: 0.4951 MB / 396.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.1192, allocations: 37.7 kB / 396.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.1195, allocations: 289.7 kB / 396.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.1197, allocations: 202.2 kB / 396.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.1199, allocations: 114.3 kB / 396.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.12, allocations: 366.8 kB / 397.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005443/0.1206, allocations: 222.9 kB / 397.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000989/0.1216, allocations: 0.9597 MB / 398.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.1227, allocations: 495.7 kB / 398.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.1227, allocations: 0 / 398.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002333/0.125, allocations: 0.8229 MB / 399.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.1251, allocations: 37.69 kB / 399.6 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1251, allocations: 3.938 kB / 399.6 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.1261, allocations: 214.4 kB / 399.9 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.1268, allocations: 135.8 kB / 400 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007743/0.1346, allocations: 5.189 MB / 405.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006787/0.1352, allocations: 71.73 kB / 405.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.1353, allocations: 20 kB / 405.3 MB, free: 3.902 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.0002913/0.1356, allocations: 193.8 kB / 405.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.1357, allocations: 67.56 kB / 405.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.138, allocations: 0.7676 MB / 406.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.138, allocations: 4 kB / 406.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.138, allocations: 4.125 kB / 406.3 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002278/0.1403, allocations: 1.033 MB / 407.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.1434, allocations: 1.305 MB / 408.6 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1434, allocations: 0 / 408.6 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007769/0.1442, allocations: 127.8 kB / 408.8 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008458/0.1451, allocations: 177.5 kB / 408.9 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.1451, allocations: 12 kB / 408.9 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005496/0.1506, allocations: 3.52 MB / 412.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.1506, allocations: 3.938 kB / 412.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.1537, allocations: 1.057 MB / 413.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.154, allocations: 123.4 kB / 413.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.1541, allocations: 27.88 kB / 413.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/0.1547, allocations: 31.97 kB / 413.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.1548, allocations: 48.41 kB / 413.8 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.1548, allocations: 11.98 kB / 413.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004704/0.1553, allocations: 362.8 kB / 414.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1553, allocations: 0 / 414.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007998/0.1561, allocations: 227.8 kB / 414.3 MB, free: 10.41 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.0001622/0.1563, allocations: 115.2 kB / 414.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00249/0.1588, allocations: 1.03 MB / 415.5 MB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.1588, allocations: 4.188 kB / 415.5 MB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.1598, allocations: 0.5156 MB / 416 MB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.1606, allocations: 178.5 kB / 416.2 MB, free: 8.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.1631, allocations: 1.283 MB / 417.5 MB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1634, allocations: 293.9 kB / 417.7 MB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003118/0.1637, allocations: 76.92 kB / 417.8 MB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.1638, allocations: 52.48 kB / 417.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1638, allocations: 0 / 417.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of Templates: time 0.02423/0.1881, allocations: 14.57 MB / 432.4 MB, free: 8.422 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.917633799021132]