Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 109.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.452/1.452, allocations: 227.7 MB / 247.7 MB, free: 10.37 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 58.73 kB / 307.9 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1106, allocations: 50.53 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006571/0.1172, allocations: 4.381 MB / 362.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003602/0.1208, allocations: 1.246 MB / 364 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005246/0.1214, allocations: 11.94 kB / 364.1 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.1221, allocations: 138.8 kB / 364.2 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009089/0.123, allocations: 257.8 kB / 364.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008337/0.1238, allocations: 199.7 kB / 364.6 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.1255, allocations: 0.9259 MB / 365.6 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006994/0.1262, allocations: 252.8 kB / 365.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008276/0.127, allocations: 362.6 kB / 366.2 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007007/0.1277, allocations: 406.3 kB / 366.6 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.1279, allocations: 76 kB / 366.6 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.1282, allocations: 80 kB / 366.7 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.1285, allocations: 171.4 kB / 366.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005982/0.1291, allocations: 414.1 kB / 367.3 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.1305, allocations: 0.911 MB / 368.2 MB, free: 4.121 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1305, allocations: 4 kB / 368.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1305, allocations: 0 / 368.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.1305, allocations: 0 / 368.2 MB, free: 4.117 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.003124/0.1337, allocations: 1.105 MB / 369.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.1337, allocations: 8.031 kB / 369.3 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.1342, allocations: 95.98 kB / 369.4 MB, free: 2.844 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.1354, allocations: 480.6 kB / 369.9 MB, free: 2.332 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.1356, allocations: 101 kB / 370 MB, free: 2.223 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.1358, allocations: 48.38 kB / 370 MB, free: 2.176 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.1375, allocations: 0.6477 MB / 370.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.1376, allocations: 3.938 kB / 370.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.452e-05/0.1377, allocations: 24 kB / 370.7 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.1377, allocations: 8 kB / 370.7 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.1395, allocations: 455.7 kB / 371.2 MB, free: 0.9727 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.25/0.3895, allocations: 1.943 MB / 373.1 MB, free: 19.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.3929, allocations: 0.6882 MB / 373.8 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.3939, allocations: 263 kB / 374 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.884e-05/0.394, allocations: 10.88 kB / 374.1 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.3941, allocations: 44.98 kB / 374.1 MB, free: 19.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 4.428e-06/0.3941, allocations: 0 / 374.1 MB, free: 19.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.009064/0.4032, allocations: 1.484 MB / 375.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.4034, allocations: 0.5716 MB / 376.2 MB, free: 17.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.4045, allocations: 0.541 MB / 376.7 MB, free: 17.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.4046, allocations: 39.05 kB / 376.7 MB, free: 17.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.4049, allocations: 284.5 kB / 377 MB, free: 17.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.4052, allocations: 187.4 kB / 377.2 MB, free: 17.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002962/0.4055, allocations: 112.1 kB / 377.3 MB, free: 17.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4056, allocations: 372.5 kB / 377.7 MB, free: 16.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000785/0.4064, allocations: 196.6 kB / 377.9 MB, free: 16.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009626/0.4074, allocations: 416.3 kB / 378.3 MB, free: 16.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.4092, allocations: 489.3 kB / 378.7 MB, free: 16.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4092, allocations: 5.281 kB / 378.7 MB, free: 16.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004107/0.4133, allocations: 0.809 MB / 379.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.4134, allocations: 34.47 kB / 379.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.4134, allocations: 1.703 kB / 379.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.4152, allocations: 224.3 kB / 379.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.4166, allocations: 125.8 kB / 379.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.4279, allocations: 5.612 MB / 385.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.4292, allocations: 77.62 kB / 385.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.902e-05/0.4293, allocations: 18.89 kB / 385.6 MB, free: 10.93 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.0004263/0.4298, allocations: 197.9 kB / 385.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.43, allocations: 72.69 kB / 385.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004065/0.4341, allocations: 0.7769 MB / 386.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.4342, allocations: 5.891 kB / 386.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4342, allocations: 1.344 kB / 386.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00374/0.4379, allocations: 1.033 MB / 387.7 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/0.4425, allocations: 1.503 MB / 389.2 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.4426, allocations: 1.953 kB / 389.2 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/0.4433, allocations: 130.9 kB / 389.4 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009118/0.4443, allocations: 179.5 kB / 389.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.4443, allocations: 9.422 kB / 389.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00477/0.4491, allocations: 3.807 MB / 393.3 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4491, allocations: 0 / 393.3 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/0.4521, allocations: 1.069 MB / 394.4 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.4525, allocations: 201 kB / 394.6 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.4526, allocations: 15.69 kB / 394.6 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005502/0.4532, allocations: 32.22 kB / 394.7 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.4533, allocations: 58.27 kB / 394.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.4534, allocations: 18.83 kB / 394.7 MB, free: 4.844 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004804/0.4539, allocations: 388.8 kB / 395.1 MB, free: 4.664 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4539, allocations: 0 / 395.1 MB, free: 4.664 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008771/0.4548, allocations: 222.4 kB / 395.3 MB, free: 4.629 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.0001634/0.4549, allocations: 112.6 kB / 395.4 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.4574, allocations: 1.047 MB / 396.5 MB, free: 3.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.4574, allocations: 2.344 kB / 396.5 MB, free: 3.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009727/0.4584, allocations: 0.5344 MB / 397 MB, free: 3.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.4595, allocations: 190.3 kB / 397.2 MB, free: 3.371 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.4619, allocations: 1.314 MB / 398.5 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.4622, allocations: 0.8863 MB / 399.4 MB, free: 1.758 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.4624, allocations: 59.42 kB / 399.5 MB, free: 1.742 MB / 302.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4624, allocations: 4 kB / 399.5 MB, free: 1.738 MB / 302.1 MB Notification: Performance of Templates: time 0.02232/0.4847, allocations: 15.39 MB / 414.9 MB, free: 4.871 MB / 318.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches