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.001057/0.001057, allocations: 98.11 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.7 MB / 246.4 MB, free: 9.781 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002289/0.000229, allocations: 8 kB / 307.1 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09166/0.09191, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003657/0.09559, allocations: 3.814 MB / 362.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.09724, allocations: 1.114 MB / 363.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.09745, allocations: 15.94 kB / 363.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.09769, allocations: 91.28 kB / 363.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.09812, allocations: 226.2 kB / 363.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.09845, allocations: 147.8 kB / 364 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006978/0.09916, allocations: 0.8205 MB / 364.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.09945, allocations: 200.7 kB / 365 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.09981, allocations: 330.7 kB / 365.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.1002, allocations: 354.6 kB / 365.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.769e-05/0.1003, allocations: 48 kB / 365.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1004, allocations: 56 kB / 365.8 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1005, allocations: 139.5 kB / 365.9 MB, free: 6.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.1006, allocations: 165.3 kB / 366.1 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005243/0.1012, allocations: 0.6741 MB / 366.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1012, allocations: 0 / 366.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1012, allocations: 0 / 366.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1012, allocations: 0 / 366.8 MB, free: 5.215 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.001575/0.1028, allocations: 0.9963 MB / 367.8 MB, free: 4.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1028, allocations: 15.97 kB / 367.8 MB, free: 4.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.103, allocations: 87.06 kB / 367.9 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005606/0.1036, allocations: 459.8 kB / 368.3 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.1038, allocations: 96.39 kB / 368.4 MB, free: 3.461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.536e-05/0.1039, allocations: 51.95 kB / 368.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.105, allocations: 0.66 MB / 369.1 MB, free: 2.676 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.105, allocations: 0 / 369.1 MB, free: 2.676 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/0.105, allocations: 20 kB / 369.2 MB, free: 2.656 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.1051, allocations: 12 kB / 369.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1062, allocations: 483.7 kB / 369.6 MB, free: 2.172 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.00291/0.1091, allocations: 1.979 MB / 371.6 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1592/0.2683, allocations: 0.7048 MB / 372.3 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006691/0.269, allocations: 278.8 kB / 372.6 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.441e-05/0.269, allocations: 14.12 kB / 372.6 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.2691, allocations: 45.53 kB / 372.7 MB, free: 18.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.675e-06/0.2691, allocations: 0 / 372.7 MB, free: 18.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005296/0.2744, allocations: 1.593 MB / 374.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.2746, allocations: 0.5656 MB / 374.8 MB, free: 17.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008511/0.2754, allocations: 0.5321 MB / 375.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.2755, allocations: 37.83 kB / 375.4 MB, free: 17.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.2757, allocations: 290.4 kB / 375.7 MB, free: 17.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.2758, allocations: 186.7 kB / 375.8 MB, free: 17.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.2759, allocations: 10.12 kB / 375.9 MB, free: 17.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.276, allocations: 374.2 kB / 376.2 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/0.2765, allocations: 211.3 kB / 376.4 MB, free: 17.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.2771, allocations: 424 kB / 376.8 MB, free: 16.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/0.2777, allocations: 273.2 kB / 377.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2777, allocations: 1.375 kB / 377.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002216/0.2799, allocations: 0.8499 MB / 378 MB, free: 16.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.28, allocations: 38.44 kB / 378 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.28, allocations: 1.188 kB / 378 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009377/0.2809, allocations: 230.2 kB / 378.2 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007097/0.2816, allocations: 140.7 kB / 378.4 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006047/0.2877, allocations: 5.225 MB / 383.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006561/0.2884, allocations: 83.59 kB / 383.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.2884, allocations: 19.14 kB / 383.7 MB, free: 11.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002488/0.2887, allocations: 204.3 kB / 383.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.567e-05/0.2888, allocations: 67.77 kB / 384 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.291, allocations: 0.834 MB / 384.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.291, allocations: 6.906 kB / 384.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.291, allocations: 0 / 384.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002152/0.2932, allocations: 1.083 MB / 385.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.2961, allocations: 1.544 MB / 387.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2962, allocations: 1.438 kB / 387.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/0.2969, allocations: 132 kB / 387.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007697/0.2977, allocations: 187.5 kB / 387.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.2977, allocations: 17 kB / 387.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004049/0.3018, allocations: 3.536 MB / 391.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3018, allocations: 0 / 391.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.3044, allocations: 1.125 MB / 392.4 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.3046, allocations: 210.3 kB / 392.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/0.3047, allocations: 18.23 kB / 392.6 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/0.3052, allocations: 46.38 kB / 392.7 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.3053, allocations: 45.73 kB / 392.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.3053, allocations: 14.66 kB / 392.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004314/0.3058, allocations: 381.9 kB / 393.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3058, allocations: 0 / 393.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007546/0.3065, allocations: 218.2 kB / 393.3 MB, free: 5.781 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001288/0.3067, allocations: 117 kB / 393.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.3087, allocations: 1.072 MB / 394.5 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3087, allocations: 1.156 kB / 394.5 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008987/0.3096, allocations: 0.547 MB / 395.1 MB, free: 4.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008447/0.3105, allocations: 186.9 kB / 395.2 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.3125, allocations: 1.534 MB / 396.8 MB, free: 3.742 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.3128, allocations: 0.8898 MB / 397.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003548/0.3132, allocations: 79.75 kB / 397.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3133, allocations: 56.69 kB / 397.8 MB, free: 2.906 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3133, allocations: 0 / 397.8 MB, free: 2.906 MB / 302.1 MB Notification: Performance of Templates: time 0.01799/0.3313, allocations: 12.45 MB / 410.2 MB, free: 9.07 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