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.001427/0.001427, allocations: 112.5 kB / 17.7 MB, free: 5.426 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.001523/0.001523, allocations: 183 kB / 18.62 MB, free: 4.5 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.299/1.299, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 43.05 kB / 302.1 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.09179, allocations: 49.45 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005384/0.0972, allocations: 4.357 MB / 355.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.09922, allocations: 1.219 MB / 357.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.09946, allocations: 7.938 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.09982, allocations: 138.8 kB / 357.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004917/0.1003, allocations: 257.8 kB / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.1007, allocations: 195.6 kB / 357.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008217/0.1016, allocations: 0.9325 MB / 358.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.1019, allocations: 252.5 kB / 358.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.1023, allocations: 358.7 kB / 359.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004685/0.1028, allocations: 406.3 kB / 359.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.1029, allocations: 76 kB / 359.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.103, allocations: 79.94 kB / 359.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.1032, allocations: 171.4 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.1035, allocations: 418 kB / 360.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007477/0.1043, allocations: 0.9149 MB / 361.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1043, allocations: 0 / 361.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.1043, allocations: 8 kB / 361.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1043, allocations: 0 / 361.2 MB, free: 9.918 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.001946/0.1063, allocations: 1.113 MB / 362.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1063, allocations: 11.97 kB / 362.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.1065, allocations: 88 kB / 362.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/0.1072, allocations: 488.6 kB / 362.9 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.1074, allocations: 96.97 kB / 363 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.214e-05/0.1075, allocations: 44.36 kB / 363.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.1086, allocations: 0.6516 MB / 363.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1086, allocations: 0 / 363.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.1087, allocations: 20 kB / 363.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.1087, allocations: 15.98 kB / 363.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.1097, allocations: 455.6 kB / 364.2 MB, free: 6.77 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.002866/0.1126, allocations: 1.944 MB / 366.1 MB, free: 4.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.1145, allocations: 0.6874 MB / 366.8 MB, free: 3.988 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.115, allocations: 262 kB / 367.1 MB, free: 3.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.322e-05/0.1151, allocations: 12.42 kB / 367.1 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.1151, allocations: 43 kB / 367.1 MB, free: 3.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 1.643e-06/0.1152, allocations: 0 / 367.1 MB, free: 3.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.004861/0.12, allocations: 1.488 MB / 368.6 MB, free: 2.105 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002561/0.1203, allocations: 0.5683 MB / 369.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006101/0.1209, allocations: 0.5421 MB / 369.7 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.121, allocations: 41.7 kB / 369.8 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.1212, allocations: 276.9 kB / 370 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.1213, allocations: 185.3 kB / 370.2 MB, free: 348 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.1215, allocations: 114.1 kB / 370.3 MB, free: 228 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1861/0.3077, allocations: 370.8 kB / 370.7 MB, free: 25.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007571/0.3085, allocations: 192.4 kB / 370.9 MB, free: 25.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007664/0.3092, allocations: 413.1 kB / 371.3 MB, free: 25.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.3104, allocations: 493.3 kB / 371.8 MB, free: 25.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3104, allocations: 0.9688 kB / 371.8 MB, free: 25.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002481/0.3129, allocations: 0.8058 MB / 372.6 MB, free: 24.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.313, allocations: 40.66 kB / 372.6 MB, free: 24.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.313, allocations: 2 kB / 372.6 MB, free: 24.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000996/0.314, allocations: 221.2 kB / 372.8 MB, free: 24.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/0.3147, allocations: 125.4 kB / 373 MB, free: 24.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/0.3215, allocations: 5.606 MB / 378.6 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.3221, allocations: 74.8 kB / 378.6 MB, free: 20.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-05/0.3222, allocations: 17.92 kB / 378.7 MB, free: 20.17 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.0002535/0.3224, allocations: 195.4 kB / 378.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.3226, allocations: 75.69 kB / 378.9 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.3248, allocations: 0.7744 MB / 379.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.3248, allocations: 10 kB / 379.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.3249, allocations: 0 / 379.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001943/0.3268, allocations: 1.039 MB / 380.7 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.3298, allocations: 1.502 MB / 382.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3299, allocations: 0.6094 kB / 382.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00075/0.3306, allocations: 128.4 kB / 382.4 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008155/0.3314, allocations: 169.5 kB / 382.5 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.3315, allocations: 13.25 kB / 382.6 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004384/0.3359, allocations: 3.812 MB / 386.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3359, allocations: 0 / 386.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.3386, allocations: 1.055 MB / 387.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.3389, allocations: 211.1 kB / 387.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.339, allocations: 14.47 kB / 387.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005024/0.3395, allocations: 42 kB / 387.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.3396, allocations: 48.11 kB / 387.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.3396, allocations: 15.94 kB / 387.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004459/0.3401, allocations: 385.9 kB / 388.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3401, allocations: 0 / 388.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007259/0.3408, allocations: 213.6 kB / 388.3 MB, free: 13.93 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.0001287/0.341, allocations: 122.3 kB / 388.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.3431, allocations: 1.031 MB / 389.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3431, allocations: 1.25 kB / 389.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008965/0.344, allocations: 0.5358 MB / 390 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007696/0.3448, allocations: 197.3 kB / 390.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.3467, allocations: 1.26 MB / 391.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.3471, allocations: 0.8883 MB / 392.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002906/0.3474, allocations: 81.23 kB / 392.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.3475, allocations: 54.41 kB / 392.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3475, allocations: 4 kB / 392.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of Templates: time 0.01815/0.3657, allocations: 14.08 MB / 406.6 MB, free: 1.203 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/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