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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=4000,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=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007787/0.0007787, allocations: 92.59 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009382/0.0009382, allocations: 204.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002086/0.0002086, allocations: 4 kB / 307.7 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.08313, allocations: 51.52 MB / 359.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004173/0.08733, allocations: 4.006 MB / 363.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.08951, allocations: 1.176 MB / 364.4 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.08991, allocations: 4 kB / 364.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.09028, allocations: 119.2 kB / 364.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006504/0.09094, allocations: 230.2 kB / 364.8 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.09139, allocations: 167.8 kB / 364.9 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009772/0.09237, allocations: 0.8945 MB / 365.8 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003536/0.09274, allocations: 221.1 kB / 366.1 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005019/0.09325, allocations: 326.7 kB / 366.4 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.09368, allocations: 370.3 kB / 366.7 MB, free: 5.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.455e-05/0.09377, allocations: 52 kB / 366.8 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.09391, allocations: 60 kB / 366.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.09404, allocations: 143.4 kB / 367 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.09441, allocations: 411.8 kB / 367.4 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007306/0.09514, allocations: 0.8561 MB / 368.2 MB, free: 4.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.09516, allocations: 0 / 368.2 MB, free: 4.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.09516, allocations: 0 / 368.2 MB, free: 4.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.09518, allocations: 0 / 368.2 MB, free: 4.27 MB / 302.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.001701/0.09688, allocations: 0.9965 MB / 369.2 MB, free: 3.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.09692, allocations: 12.03 kB / 369.3 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.09716, allocations: 88 kB / 369.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006025/0.09777, allocations: 488.5 kB / 369.8 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.09792, allocations: 92.97 kB / 369.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.161e-05/0.09801, allocations: 48.38 kB / 370 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.09917, allocations: 0.675 MB / 370.6 MB, free: 1.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.0992, allocations: 0 / 370.6 MB, free: 1.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/0.09926, allocations: 20 kB / 370.7 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.09928, allocations: 12 kB / 370.7 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.1004, allocations: 487.6 kB / 371.1 MB, free: 1.191 MB / 302.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.1524/0.2528, allocations: 1.959 MB / 373.1 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.2548, allocations: 0.7169 MB / 373.8 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/0.2554, allocations: 276.4 kB / 374.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.901e-05/0.2555, allocations: 12.5 kB / 374.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2555, allocations: 51.27 kB / 374.1 MB, free: 18.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.685e-06/0.2555, allocations: 0 / 374.1 MB, free: 18.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005382/0.2609, allocations: 1.604 MB / 375.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/0.261, allocations: 0.5627 MB / 376.3 MB, free: 17.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.2617, allocations: 0.5395 MB / 376.9 MB, free: 17.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.2617, allocations: 38.7 kB / 376.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.2619, allocations: 284.3 kB / 377.2 MB, free: 16.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.262, allocations: 195.8 kB / 377.4 MB, free: 16.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.2621, allocations: 48.09 kB / 377.4 MB, free: 16.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.173e-05/0.2622, allocations: 371.3 kB / 377.8 MB, free: 16.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.2627, allocations: 211.3 kB / 378 MB, free: 16.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.2634, allocations: 428.9 kB / 378.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.2644, allocations: 0.5083 MB / 378.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2644, allocations: 0.6562 kB / 378.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002333/0.2668, allocations: 0.8547 MB / 379.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.2668, allocations: 31.97 kB / 379.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2668, allocations: 1.562 kB / 379.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.2679, allocations: 236.5 kB / 380 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.2686, allocations: 131 kB / 380.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006292/0.2749, allocations: 5.243 MB / 385.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.2756, allocations: 88.27 kB / 385.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.2756, allocations: 17.92 kB / 385.5 MB, free: 10.73 MB / 302.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.000241/0.2759, allocations: 200.4 kB / 385.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.276, allocations: 66.78 kB / 385.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.2784, allocations: 0.8311 MB / 386.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2784, allocations: 5.625 kB / 386.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.2784, allocations: 0 / 386.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002226/0.2806, allocations: 1.09 MB / 387.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.284, allocations: 1.547 MB / 389.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.284, allocations: 5.344 kB / 389.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/0.2847, allocations: 135.4 kB / 389.4 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008861/0.2856, allocations: 190.2 kB / 389.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.2857, allocations: 18.28 kB / 389.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004589/0.2903, allocations: 3.541 MB / 393.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2903, allocations: 0 / 393.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/0.2932, allocations: 1.139 MB / 394.3 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.2935, allocations: 209.5 kB / 394.5 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.474e-05/0.2936, allocations: 13.47 kB / 394.5 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005362/0.2941, allocations: 47.28 kB / 394.5 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.2943, allocations: 41.47 kB / 394.6 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.2943, allocations: 17.41 kB / 394.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004559/0.2948, allocations: 385.9 kB / 395 MB, free: 4.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2948, allocations: 0 / 395 MB, free: 4.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008924/0.2957, allocations: 223 kB / 395.2 MB, free: 4.684 MB / 302.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.0001524/0.2958, allocations: 114.8 kB / 395.3 MB, free: 4.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.2982, allocations: 1.068 MB / 396.3 MB, free: 3.965 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.2982, allocations: 1.375 kB / 396.3 MB, free: 3.965 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009482/0.2992, allocations: 0.546 MB / 396.9 MB, free: 3.582 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008424/0.3, allocations: 173.9 kB / 397.1 MB, free: 3.496 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.3021, allocations: 1.598 MB / 398.7 MB, free: 2.367 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3024, allocations: 0.8951 MB / 399.6 MB, free: 1.578 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003685/0.3028, allocations: 79.31 kB / 399.6 MB, free: 1.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.303, allocations: 52.34 kB / 399.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.303, allocations: 4 kB / 399.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of Templates: time 0.02042/0.3234, allocations: 12.95 MB / 412.6 MB, free: 6.691 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches