Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001066/0.001066, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001022/0.001022, allocations: 192.1 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 51.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08752/0.08877, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005413/0.09422, allocations: 4.376 MB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.09611, allocations: 1.243 MB / 334.3 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.09636, allocations: 11.94 kB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.09674, allocations: 138.8 kB / 334.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004625/0.09722, allocations: 261.7 kB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.09761, allocations: 199.7 kB / 334.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008599/0.09848, allocations: 0.9297 MB / 335.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.09882, allocations: 248.5 kB / 336.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.0992, allocations: 358.7 kB / 336.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.09966, allocations: 402.3 kB / 336.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.09977, allocations: 79.94 kB / 336.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.0999, allocations: 80 kB / 337 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.1001, allocations: 163.5 kB / 337.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.1004, allocations: 426 kB / 337.6 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008178/0.1012, allocations: 0.9187 MB / 338.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1013, allocations: 0 / 338.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1013, allocations: 0 / 338.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.1013, allocations: 0 / 338.5 MB, free: 9.914 MB / 286.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.001945/0.1032, allocations: 1.117 MB / 339.6 MB, free: 8.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1033, allocations: 8.031 kB / 339.6 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.1034, allocations: 80.09 kB / 339.7 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.1042, allocations: 496.5 kB / 340.2 MB, free: 8.121 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.1043, allocations: 92.95 kB / 340.3 MB, free: 8.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.76e-05/0.1044, allocations: 48.38 kB / 340.3 MB, free: 7.973 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.1055, allocations: 0.6515 MB / 341 MB, free: 7.246 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.1055, allocations: 0 / 341 MB, free: 7.246 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.1056, allocations: 24 kB / 341 MB, free: 7.223 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.1056, allocations: 12 kB / 341 MB, free: 7.211 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.1066, allocations: 447.7 kB / 341.4 MB, free: 6.773 MB / 286.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.002909/0.1095, allocations: 1.944 MB / 343.4 MB, free: 4.703 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.1114, allocations: 0.6942 MB / 344.1 MB, free: 3.984 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/0.112, allocations: 266 kB / 344.3 MB, free: 3.723 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/0.1121, allocations: 12.42 kB / 344.4 MB, free: 3.711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.1121, allocations: 47 kB / 344.4 MB, free: 3.656 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.694e-06/0.1121, allocations: 0 / 344.4 MB, free: 3.656 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.004811/0.1169, allocations: 1.476 MB / 345.9 MB, free: 2.105 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002219/0.1172, allocations: 0.5722 MB / 346.4 MB, free: 1.398 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005768/0.1177, allocations: 0.5381 MB / 347 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.1178, allocations: 37.7 kB / 347 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.118, allocations: 284.8 kB / 347.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.1181, allocations: 185.3 kB / 347.5 MB, free: 348 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.1183, allocations: 114.2 kB / 347.6 MB, free: 224 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1185, allocations: 366.8 kB / 348 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.119, allocations: 197 kB / 348.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/0.1197, allocations: 420.2 kB / 348.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/0.1207, allocations: 496.5 kB / 349 MB, free: 14.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1207, allocations: 4 kB / 349 MB, free: 14.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002178/0.1229, allocations: 0.8028 MB / 349.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.1229, allocations: 33.72 kB / 349.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1229, allocations: 4 kB / 349.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.124, allocations: 218.3 kB / 350.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007148/0.1247, allocations: 131.8 kB / 350.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007429/0.1321, allocations: 5.607 MB / 355.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006682/0.1328, allocations: 75.55 kB / 355.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.1329, allocations: 16 kB / 355.9 MB, free: 7.324 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.0002841/0.1332, allocations: 201.7 kB / 356.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.1333, allocations: 71.19 kB / 356.2 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.1355, allocations: 0.7695 MB / 357 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.1355, allocations: 11.98 kB / 357 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1355, allocations: 0 / 357 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002191/0.1377, allocations: 1.039 MB / 358 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.1407, allocations: 1.498 MB / 359.5 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1408, allocations: 3.938 kB / 359.5 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007504/0.1415, allocations: 135.8 kB / 359.6 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008171/0.1423, allocations: 173.5 kB / 359.8 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.1424, allocations: 15.98 kB / 359.8 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005003/0.1474, allocations: 3.795 MB / 363.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1474, allocations: 0 / 363.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/0.1501, allocations: 1.075 MB / 364.7 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.1504, allocations: 200.1 kB / 364.9 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.63e-05/0.1505, allocations: 19.94 kB / 364.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.151, allocations: 39.95 kB / 365 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.1511, allocations: 48.5 kB / 365 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.1511, allocations: 11.94 kB / 365 MB, free: 13.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004278/0.1516, allocations: 390.8 kB / 365.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1516, allocations: 0 / 365.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007204/0.1523, allocations: 215.8 kB / 365.6 MB, free: 13.11 MB / 318.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.0001376/0.1524, allocations: 115.2 kB / 365.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002253/0.1547, allocations: 1.034 MB / 366.7 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.1547, allocations: 4 kB / 366.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009746/0.1557, allocations: 0.5357 MB / 367.3 MB, free: 11.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007908/0.1565, allocations: 189.9 kB / 367.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.1586, allocations: 1.271 MB / 368.7 MB, free: 9.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.1591, allocations: 0.8879 MB / 369.6 MB, free: 8.938 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002948/0.1594, allocations: 81.12 kB / 369.7 MB, free: 8.859 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.1596, allocations: 47.44 kB / 369.8 MB, free: 8.812 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1596, allocations: 0 / 369.8 MB, free: 8.812 MB / 318.1 MB Notification: Performance of Templates: time 0.1563/0.3159, allocations: 14.06 MB / 383.8 MB, free: 51.25 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches