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.0008593/0.0008598, allocations: 96.75 kB / 17.3 MB, free: 6.395 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.0008229/0.0008233, allocations: 177.8 kB / 18.2 MB, free: 5.555 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.514/1.514, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005046/0.0005049, allocations: 12.92 kB / 281.4 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 47.58 MB / 328.9 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004377/0.1087, allocations: 3.998 MB / 332.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.1111, allocations: 1.185 MB / 334.1 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.1116, allocations: 4 kB / 334.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.1121, allocations: 107.2 kB / 334.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008904/0.113, allocations: 238.1 kB / 334.5 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.1135, allocations: 163.8 kB / 334.6 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.1147, allocations: 0.8943 MB / 335.5 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003834/0.1151, allocations: 224.8 kB / 335.7 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005352/0.1157, allocations: 326.7 kB / 336.1 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004229/0.1161, allocations: 374.3 kB / 336.4 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-05/0.1162, allocations: 48 kB / 336.5 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1163, allocations: 48 kB / 336.5 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.1165, allocations: 147.4 kB / 336.7 MB, free: 12 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.1168, allocations: 411.8 kB / 337.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007722/0.1176, allocations: 0.8561 MB / 337.9 MB, free: 10.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1176, allocations: 0 / 337.9 MB, free: 10.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1177, allocations: 8 kB / 337.9 MB, free: 10.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.1177, allocations: 0 / 337.9 MB, free: 10.73 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.001854/0.1195, allocations: 0.9926 MB / 338.9 MB, free: 9.672 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.1196, allocations: 8.031 kB / 338.9 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.1198, allocations: 88 kB / 339 MB, free: 9.578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006509/0.1204, allocations: 480.6 kB / 339.5 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.1206, allocations: 100.9 kB / 339.6 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.1207, allocations: 48.38 kB / 339.6 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.1218, allocations: 0.6789 MB / 340.3 MB, free: 8.156 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.1219, allocations: 3.906 kB / 340.3 MB, free: 8.152 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.1219, allocations: 16 kB / 340.3 MB, free: 8.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.122, allocations: 12 kB / 340.3 MB, free: 8.125 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.1231, allocations: 479.7 kB / 340.8 MB, free: 7.66 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.003097/0.1262, allocations: 1.971 MB / 342.8 MB, free: 5.559 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.1282, allocations: 0.7258 MB / 343.5 MB, free: 4.809 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005894/0.1288, allocations: 284.1 kB / 343.8 MB, free: 4.531 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/0.1288, allocations: 8.422 kB / 343.8 MB, free: 4.523 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.1289, allocations: 43 kB / 343.8 MB, free: 4.473 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 2.645e-06/0.1289, allocations: 0 / 343.8 MB, free: 4.473 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.005372/0.1343, allocations: 1.601 MB / 345.4 MB, free: 2.797 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002896/0.1346, allocations: 0.5605 MB / 346 MB, free: 2.102 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/0.1353, allocations: 0.5421 MB / 346.5 MB, free: 1.551 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/0.1354, allocations: 37.7 kB / 346.6 MB, free: 1.508 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.1356, allocations: 284.5 kB / 346.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.1358, allocations: 185.3 kB / 347 MB, free: 1.043 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.1359, allocations: 41.7 kB / 347.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.136, allocations: 378.7 kB / 347.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000532/0.1366, allocations: 209 kB / 347.7 MB, free: 420 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007258/0.1373, allocations: 436.2 kB / 348.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.1384, allocations: 0.5083 MB / 348.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1384, allocations: 0 / 348.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00248/0.1409, allocations: 0.8653 MB / 349.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.141, allocations: 33.7 kB / 349.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.141, allocations: 0 / 349.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.142, allocations: 234.3 kB / 349.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.1428, allocations: 135.8 kB / 349.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007715/0.1505, allocations: 5.242 MB / 355.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.1516, allocations: 83.73 kB / 355.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/0.1516, allocations: 16 kB / 355.2 MB, free: 8.336 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.0005143/0.1522, allocations: 197.7 kB / 355.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.1523, allocations: 71.16 kB / 355.4 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.1547, allocations: 0.828 MB / 356.3 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.1547, allocations: 8 kB / 356.3 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1548, allocations: 0 / 356.3 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002237/0.157, allocations: 1.093 MB / 357.4 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.1603, allocations: 1.553 MB / 358.9 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1603, allocations: 0 / 358.9 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/0.161, allocations: 139.8 kB / 359.1 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008932/0.1619, allocations: 177.6 kB / 359.2 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.162, allocations: 12 kB / 359.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004908/0.1669, allocations: 3.544 MB / 362.8 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1669, allocations: 0 / 362.8 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.1698, allocations: 1.14 MB / 363.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.1701, allocations: 200.2 kB / 364.1 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.061e-05/0.1702, allocations: 12 kB / 364.1 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.1708, allocations: 47.95 kB / 364.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.1709, allocations: 48.44 kB / 364.2 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.1709, allocations: 19.94 kB / 364.3 MB, free: 14.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004564/0.1714, allocations: 386.8 kB / 364.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1714, allocations: 0 / 364.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007351/0.1721, allocations: 223.7 kB / 364.9 MB, free: 14.14 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.0001649/0.1723, allocations: 111.4 kB / 365 MB, free: 14.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002341/0.1747, allocations: 1.073 MB / 366 MB, free: 12.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1747, allocations: 3.938 kB / 366 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009837/0.1757, allocations: 0.5474 MB / 366.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008958/0.1766, allocations: 174.8 kB / 366.8 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.1788, allocations: 1.602 MB / 368.4 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.1792, allocations: 0.8879 MB / 369.2 MB, free: 9.617 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003174/0.1796, allocations: 77.12 kB / 369.3 MB, free: 9.543 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.1797, allocations: 47.44 kB / 369.4 MB, free: 9.496 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.1797, allocations: 0 / 369.4 MB, free: 9.496 MB / 318.1 MB Notification: Performance of Templates: time 0.182/0.3617, allocations: 12.94 MB / 382.3 MB, free: 49.69 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches