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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=4000,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=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009853/0.0009853, allocations: 90.19 kB / 16.65 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.001181, allocations: 186.8 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002535/0.0002535, allocations: 11.94 kB / 301.4 MB, free: 6.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08525/0.08552, allocations: 50.41 MB / 351.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004016/0.08957, allocations: 3.997 MB / 355.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.09131, allocations: 1.137 MB / 357 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.09152, allocations: 8 kB / 357 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.09182, allocations: 107.3 kB / 357.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004694/0.09231, allocations: 234.1 kB / 357.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.09266, allocations: 175.8 kB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007973/0.09346, allocations: 0.8903 MB / 358.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.09377, allocations: 225 kB / 358.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.09412, allocations: 326.6 kB / 358.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.0945, allocations: 366.4 kB / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.561e-05/0.09459, allocations: 48 kB / 359.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.0947, allocations: 55.94 kB / 359.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.09482, allocations: 139.4 kB / 359.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.09516, allocations: 407.8 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007172/0.09588, allocations: 0.864 MB / 360.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.09589, allocations: 0 / 360.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.0959, allocations: 4 kB / 360.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.09592, allocations: 3.938 kB / 360.8 MB, free: 10.73 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.001704/0.09763, allocations: 0.9964 MB / 361.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.09767, allocations: 8.031 kB / 361.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.09782, allocations: 88 kB / 361.9 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006326/0.09846, allocations: 480.6 kB / 362.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.09861, allocations: 96.97 kB / 362.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.052e-05/0.09871, allocations: 52.31 kB / 362.5 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.09984, allocations: 0.6633 MB / 363.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.09987, allocations: 0 / 363.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.603e-05/0.09993, allocations: 24 kB / 363.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.09995, allocations: 12 kB / 363.2 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.1011, allocations: 479.7 kB / 363.6 MB, free: 7.672 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.002872/0.1039, allocations: 1.979 MB / 365.6 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.1059, allocations: 0.7219 MB / 366.3 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006004/0.1065, allocations: 278 kB / 366.6 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.1066, allocations: 12.44 kB / 366.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1066, allocations: 39 kB / 366.7 MB, free: 4.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 1.773e-06/0.1066, allocations: 0 / 366.7 MB, free: 4.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005238/0.1119, allocations: 1.605 MB / 368.3 MB, free: 2.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002007/0.1121, allocations: 0.5683 MB / 368.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006063/0.1127, allocations: 0.542 MB / 369.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.1128, allocations: 41.7 kB / 369.4 MB, free: 1.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.113, allocations: 284.5 kB / 369.7 MB, free: 1.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.1131, allocations: 185.2 kB / 369.9 MB, free: 1.039 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-05/0.1132, allocations: 49.69 kB / 369.9 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1133, allocations: 370.8 kB / 370.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.1139, allocations: 209 kB / 370.5 MB, free: 420 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1662/0.28, allocations: 434 kB / 370.9 MB, free: 24.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.2816, allocations: 0.5047 MB / 371.4 MB, free: 24.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2816, allocations: 6.062 kB / 371.4 MB, free: 24.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002702/0.2843, allocations: 0.8579 MB / 372.3 MB, free: 24.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.2844, allocations: 33.34 kB / 372.3 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.2844, allocations: 2 kB / 372.3 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.2855, allocations: 231.1 kB / 372.5 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/0.2863, allocations: 128.6 kB / 372.7 MB, free: 24.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006898/0.2932, allocations: 5.241 MB / 377.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007885/0.294, allocations: 90.06 kB / 378 MB, free: 20.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.294, allocations: 20.05 kB / 378 MB, free: 20.2 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.0002696/0.2943, allocations: 201.9 kB / 378.2 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.2944, allocations: 79.81 kB / 378.3 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.2969, allocations: 0.8189 MB / 379.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2969, allocations: 5.797 kB / 379.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2969, allocations: 1.531 kB / 379.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002121/0.2991, allocations: 1.089 MB / 380.2 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.3024, allocations: 1.553 MB / 381.8 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3024, allocations: 0 / 381.8 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007634/0.3032, allocations: 136 kB / 381.9 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008638/0.3041, allocations: 182.5 kB / 382.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.3041, allocations: 14.05 kB / 382.1 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004533/0.3087, allocations: 3.542 MB / 385.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3087, allocations: 0 / 385.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/0.3117, allocations: 1.133 MB / 386.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.312, allocations: 202.7 kB / 387 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.387e-05/0.3121, allocations: 17.28 kB / 387 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/0.3126, allocations: 43.08 kB / 387 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.3128, allocations: 49.34 kB / 387.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.3128, allocations: 15.81 kB / 387.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005091/0.3133, allocations: 391.1 kB / 387.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3134, allocations: 0 / 387.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008181/0.3142, allocations: 219 kB / 387.7 MB, free: 14.2 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.0001319/0.3143, allocations: 120.6 kB / 387.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.3167, allocations: 1.062 MB / 388.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.3167, allocations: 2 kB / 388.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009909/0.3177, allocations: 0.5522 MB / 389.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008914/0.3186, allocations: 180.7 kB / 389.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3207, allocations: 1.602 MB / 391.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.3211, allocations: 0.8888 MB / 392.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003636/0.3215, allocations: 85.61 kB / 392.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.3217, allocations: 50.73 kB / 392.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3217, allocations: 0 / 392.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of Templates: time 0.01821/0.3399, allocations: 12.93 MB / 405.1 MB, free: 2.074 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches