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.0008525/0.0008526, allocations: 86.62 kB / 17.3 MB, free: 5.949 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.0007803/0.0007803, allocations: 174.6 kB / 18.2 MB, free: 5.43 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.322/1.322, allocations: 223.3 MB / 242.3 MB, free: 16 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002645, allocations: 8.141 kB / 302.1 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.09015, allocations: 50.42 MB / 352.5 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003956/0.09414, allocations: 3.989 MB / 356.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.09625, allocations: 1.145 MB / 357.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003746/0.09665, allocations: 11.94 kB / 357.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.097, allocations: 103.3 kB / 357.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007776/0.09779, allocations: 234.2 kB / 358 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.09836, allocations: 163.8 kB / 358.1 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.09956, allocations: 0.8906 MB / 359 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003899/0.09996, allocations: 217.1 kB / 359.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.1005, allocations: 326.7 kB / 359.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.101, allocations: 370.3 kB / 359.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.1012, allocations: 52 kB / 360 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1013, allocations: 48 kB / 360 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1015, allocations: 143.4 kB / 360.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.1018, allocations: 415.7 kB / 360.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.1024, allocations: 0.6661 MB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1024, allocations: 0 / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1024, allocations: 0 / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.417e-05/0.1024, allocations: 0 / 361.2 MB, free: 10.88 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.001793/0.1042, allocations: 0.9925 MB / 362.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1043, allocations: 8.031 kB / 362.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.1045, allocations: 88 kB / 362.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006792/0.1052, allocations: 488.5 kB / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.1053, allocations: 101 kB / 362.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.442e-05/0.1054, allocations: 40.38 kB / 362.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1066, allocations: 0.6711 MB / 363.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1066, allocations: 0 / 363.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-05/0.1067, allocations: 27.98 kB / 363.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.1067, allocations: 12 kB / 363.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.1078, allocations: 479.6 kB / 364.1 MB, free: 7.805 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.003108/0.111, allocations: 1.987 MB / 366.1 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.1129, allocations: 0.7168 MB / 366.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/0.1135, allocations: 274 kB / 367.1 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.1136, allocations: 17.06 kB / 367.1 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.1136, allocations: 47 kB / 367.1 MB, free: 4.605 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 1.943e-06/0.1136, allocations: 3.938 kB / 367.1 MB, free: 4.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005248/0.1189, allocations: 1.585 MB / 368.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002211/0.1191, allocations: 0.5722 MB / 369.3 MB, free: 2.238 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000679/0.1198, allocations: 0.542 MB / 369.8 MB, free: 1.688 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.292e-05/0.1199, allocations: 41.7 kB / 369.9 MB, free: 1.641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.1201, allocations: 284.6 kB / 370.2 MB, free: 1.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.1203, allocations: 185.2 kB / 370.3 MB, free: 1.172 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/0.1204, allocations: 45.7 kB / 370.4 MB, free: 1.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1205, allocations: 370.7 kB / 370.7 MB, free: 0.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.121, allocations: 213 kB / 371 MB, free: 0.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007032/0.1218, allocations: 432.3 kB / 371.4 MB, free: 44 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1692/0.291, allocations: 0.499 MB / 371.9 MB, free: 24.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.291, allocations: 1.438 kB / 371.9 MB, free: 24.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002959/0.294, allocations: 0.8598 MB / 372.7 MB, free: 24.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.2941, allocations: 31.11 kB / 372.8 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.2941, allocations: 2.656 kB / 372.8 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.2952, allocations: 232.8 kB / 373 MB, free: 24.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/0.296, allocations: 130.2 kB / 373.1 MB, free: 24.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/0.3027, allocations: 5.248 MB / 378.4 MB, free: 20.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007937/0.3035, allocations: 86.39 kB / 378.5 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.255e-05/0.3036, allocations: 18.06 kB / 378.5 MB, free: 20.43 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.0003343/0.304, allocations: 202.5 kB / 378.7 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.3041, allocations: 74 kB / 378.7 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.3066, allocations: 0.824 MB / 379.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.3066, allocations: 8.281 kB / 379.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3066, allocations: 0 / 379.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00217/0.3088, allocations: 1.086 MB / 380.7 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.3122, allocations: 1.56 MB / 382.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3122, allocations: 0 / 382.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007804/0.313, allocations: 140 kB / 382.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008918/0.3139, allocations: 177.6 kB / 382.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.314, allocations: 13.8 kB / 382.5 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004665/0.3187, allocations: 3.548 MB / 386.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3187, allocations: 0 / 386.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.3217, allocations: 1.137 MB / 387.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.3221, allocations: 201.2 kB / 387.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.3223, allocations: 13.92 kB / 387.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005779/0.3229, allocations: 42.61 kB / 387.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.323, allocations: 48.69 kB / 387.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.323, allocations: 15.61 kB / 387.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005751/0.3236, allocations: 389.8 kB / 387.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.3236, allocations: 1.031 kB / 387.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009579/0.3246, allocations: 223.5 kB / 388.1 MB, free: 14.42 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.0001658/0.3248, allocations: 117.9 kB / 388.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002434/0.3272, allocations: 1.066 MB / 389.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3272, allocations: 1.281 kB / 389.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009914/0.3282, allocations: 0.5471 MB / 389.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000967/0.3292, allocations: 176.9 kB / 390 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.3316, allocations: 1.625 MB / 391.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.332, allocations: 0.8945 MB / 392.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.3322, allocations: 52.95 kB / 392.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3322, allocations: 0 / 392.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Templates: time 0.01733/0.3496, allocations: 15.3 MB / 407.9 MB, free: 15.82 MB / 318.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/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