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.001094/0.001094, allocations: 108.7 kB / 16.92 MB, free: 6.145 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.001104/0.001104, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.294/1.294, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 43.56 kB / 300.6 MB, free: 5.938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09333/0.09439, allocations: 49.45 MB / 350 MB, free: 4.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005884/0.1003, allocations: 4.357 MB / 354.4 MB, free: 100 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.1027, allocations: 1.223 MB / 355.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004186/0.1031, allocations: 7.938 kB / 355.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.1036, allocations: 138.8 kB / 355.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006779/0.1043, allocations: 261.8 kB / 356 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.1048, allocations: 203.6 kB / 356.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009938/0.1058, allocations: 0.918 MB / 357.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.1062, allocations: 244.8 kB / 357.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004706/0.1066, allocations: 358.7 kB / 357.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.1071, allocations: 398.3 kB / 358.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.1073, allocations: 76 kB / 358.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.1074, allocations: 76 kB / 358.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1076, allocations: 179.4 kB / 358.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003949/0.108, allocations: 418.1 kB / 358.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007809/0.1088, allocations: 0.9032 MB / 359.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1088, allocations: 0 / 359.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1088, allocations: 0 / 359.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.178e-05/0.1088, allocations: 0 / 359.8 MB, free: 10.71 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.002012/0.1109, allocations: 1.121 MB / 360.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1109, allocations: 8.031 kB / 360.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.1111, allocations: 92 kB / 361 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006446/0.1118, allocations: 480.6 kB / 361.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.1119, allocations: 96.95 kB / 361.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/0.112, allocations: 48.38 kB / 361.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.1131, allocations: 0.6516 MB / 362.2 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1131, allocations: 0 / 362.2 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.723e-05/0.1132, allocations: 24 kB / 362.3 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.1132, allocations: 12 kB / 362.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.1143, allocations: 451.6 kB / 362.7 MB, free: 7.566 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.002896/0.1172, allocations: 1.959 MB / 364.7 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.1191, allocations: 0.688 MB / 365.4 MB, free: 4.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005481/0.1196, allocations: 262 kB / 365.6 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.1197, allocations: 16.41 kB / 365.6 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1197, allocations: 43 kB / 365.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 1.884e-06/0.1197, allocations: 0 / 365.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.004915/0.1246, allocations: 1.48 MB / 367.2 MB, free: 2.891 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002139/0.1249, allocations: 0.5682 MB / 367.7 MB, free: 2.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/0.1255, allocations: 0.5381 MB / 368.3 MB, free: 1.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.1255, allocations: 41.7 kB / 368.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.1258, allocations: 292.4 kB / 368.6 MB, free: 1.301 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.1259, allocations: 181.3 kB / 368.8 MB, free: 1.121 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.1261, allocations: 114.1 kB / 368.9 MB, free: 1.004 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1262, allocations: 382.7 kB / 369.2 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.1268, allocations: 193 kB / 369.4 MB, free: 444 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1562/0.283, allocations: 411.1 kB / 369.8 MB, free: 25.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.2842, allocations: 487 kB / 370.3 MB, free: 25.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2843, allocations: 1.656 kB / 370.3 MB, free: 25.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002422/0.2867, allocations: 0.8044 MB / 371.1 MB, free: 25.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.2867, allocations: 35.88 kB / 371.2 MB, free: 24.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2867, allocations: 2.141 kB / 371.2 MB, free: 24.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.2878, allocations: 220.7 kB / 371.4 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.2885, allocations: 123.8 kB / 371.5 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006916/0.2954, allocations: 5.616 MB / 377.1 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007467/0.2962, allocations: 75.73 kB / 377.2 MB, free: 20.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.2963, allocations: 21.55 kB / 377.2 MB, free: 20.37 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.0002762/0.2966, allocations: 195.4 kB / 377.4 MB, free: 20.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.2967, allocations: 71.47 kB / 377.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.2988, allocations: 0.7809 MB / 378.2 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2989, allocations: 9.312 kB / 378.3 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2989, allocations: 0.5625 kB / 378.3 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002067/0.3009, allocations: 1.037 MB / 379.3 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.3041, allocations: 1.497 MB / 380.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3042, allocations: 0.75 kB / 380.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007737/0.3049, allocations: 128.3 kB / 380.9 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008751/0.3058, allocations: 176.9 kB / 381.1 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.3059, allocations: 13.16 kB / 381.1 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004638/0.3105, allocations: 3.804 MB / 384.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3106, allocations: 3.938 kB / 384.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.3134, allocations: 1.061 MB / 386 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.3138, allocations: 206.8 kB / 386.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/0.3138, allocations: 14.3 kB / 386.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.3144, allocations: 38.39 kB / 386.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.3145, allocations: 48.03 kB / 386.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.3146, allocations: 18.97 kB / 386.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004815/0.315, allocations: 386 kB / 386.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.315, allocations: 1.125 kB / 386.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007961/0.3159, allocations: 214.3 kB / 386.9 MB, free: 14.12 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.0001543/0.316, allocations: 118.5 kB / 387 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002327/0.3183, allocations: 1.056 MB / 388 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.3184, allocations: 1.062 kB / 388 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009279/0.3193, allocations: 0.5347 MB / 388.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.3202, allocations: 185 kB / 388.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.3223, allocations: 1.282 MB / 390 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.3227, allocations: 0.8865 MB / 390.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003778/0.323, allocations: 81.73 kB / 391 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.3232, allocations: 54.42 kB / 391.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3232, allocations: 3.062 kB / 391.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Templates: time 0.01979/0.343, allocations: 14.06 MB / 405.1 MB, free: 1.77 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