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.0008344/0.0008344, allocations: 97.31 kB / 16.95 MB, free: 6.074 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.0007718/0.0007718, allocations: 174.9 kB / 17.83 MB, free: 5.703 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.631/1.631, allocations: 205.4 MB / 224 MB, free: 13.01 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.0005226/0.0005226, allocations: 14.97 kB / 280.8 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.107, allocations: 47.58 MB / 328.3 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004344/0.1114, allocations: 3.806 MB / 332.2 MB, free: 240 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.1135, allocations: 1.123 MB / 333.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00035/0.1139, allocations: 8 kB / 333.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.1143, allocations: 95.22 kB / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005879/0.1149, allocations: 230.2 kB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.1153, allocations: 143.8 kB / 333.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008766/0.1162, allocations: 0.8358 MB / 334.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.1165, allocations: 208.6 kB / 334.8 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.117, allocations: 314.8 kB / 335.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004117/0.1174, allocations: 358.5 kB / 335.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.625e-05/0.1175, allocations: 48 kB / 335.5 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1176, allocations: 55.94 kB / 335.5 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1178, allocations: 139.5 kB / 335.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1179, allocations: 165.3 kB / 335.8 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005646/0.1185, allocations: 0.6661 MB / 336.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1185, allocations: 4 kB / 336.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1185, allocations: 0 / 336.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1185, allocations: 0 / 336.5 MB, free: 11.84 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.001641/0.1202, allocations: 0.9963 MB / 337.5 MB, free: 10.78 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1202, allocations: 8.031 kB / 337.5 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.1204, allocations: 87.06 kB / 337.6 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.121, allocations: 463.7 kB / 338.1 MB, free: 10.19 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.1212, allocations: 96.39 kB / 338.1 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-05/0.1213, allocations: 48 kB / 338.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1224, allocations: 0.66 MB / 338.9 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.1224, allocations: 0 / 338.9 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.1225, allocations: 20 kB / 338.9 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.1225, allocations: 12 kB / 338.9 MB, free: 9.273 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.1236, allocations: 479.6 kB / 339.4 MB, free: 8.809 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.003196/0.1268, allocations: 1.987 MB / 341.3 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.1286, allocations: 0.7104 MB / 342 MB, free: 5.957 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.1291, allocations: 270.1 kB / 342.3 MB, free: 5.691 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-05/0.1292, allocations: 20.34 kB / 342.3 MB, free: 5.672 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.1292, allocations: 43 kB / 342.4 MB, free: 5.621 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.843e-06/0.1292, allocations: 4 kB / 342.4 MB, free: 5.617 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.004672/0.1339, allocations: 1.585 MB / 344 MB, free: 3.957 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002752/0.1342, allocations: 0.5721 MB / 344.5 MB, free: 3.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006692/0.1349, allocations: 0.5342 MB / 345.1 MB, free: 2.707 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.46e-05/0.1349, allocations: 41.7 kB / 345.1 MB, free: 2.66 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.1352, allocations: 288.6 kB / 345.4 MB, free: 2.375 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.1354, allocations: 189.3 kB / 345.6 MB, free: 2.188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.1354, allocations: 8 kB / 345.6 MB, free: 2.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1356, allocations: 374.8 kB / 346 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/0.1361, allocations: 205 kB / 346.2 MB, free: 1.605 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007189/0.1368, allocations: 424.6 kB / 346.6 MB, free: 1.109 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.1374, allocations: 267.8 kB / 346.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1374, allocations: 0 / 346.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002223/0.1396, allocations: 0.8576 MB / 347.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.1397, allocations: 33.7 kB / 347.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1397, allocations: 0 / 347.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009306/0.1406, allocations: 238.3 kB / 347.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/0.1413, allocations: 135.8 kB / 348.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006972/0.1483, allocations: 5.239 MB / 353.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007852/0.1491, allocations: 83.73 kB / 353.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.1492, allocations: 19.98 kB / 353.4 MB, free: 9.812 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003439/0.1495, allocations: 194 kB / 353.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1497, allocations: 67.25 kB / 353.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.1518, allocations: 0.828 MB / 354.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.1518, allocations: 7.953 kB / 354.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1519, allocations: 0 / 354.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001992/0.1539, allocations: 1.082 MB / 355.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.1568, allocations: 1.541 MB / 357.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.1569, allocations: 0 / 357.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006917/0.1576, allocations: 143.7 kB / 357.3 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007639/0.1583, allocations: 181.8 kB / 357.5 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.1584, allocations: 15.92 kB / 357.5 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004756/0.1632, allocations: 3.54 MB / 361 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1632, allocations: 4.062 kB / 361 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.1659, allocations: 1.132 MB / 362.1 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.1664, allocations: 204 kB / 362.3 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.1665, allocations: 16 kB / 362.4 MB, free: 352 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/0.167, allocations: 39.97 kB / 362.4 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.1672, allocations: 40.5 kB / 362.4 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.1672, allocations: 19.92 kB / 362.5 MB, free: 252 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005166/0.1677, allocations: 386.8 kB / 362.8 MB, free: 15.87 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1678, allocations: 4 kB / 362.8 MB, free: 15.87 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007826/0.1685, allocations: 211.8 kB / 363 MB, free: 15.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/0.1687, allocations: 111.2 kB / 363.2 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00227/0.171, allocations: 1.069 MB / 364.2 MB, free: 14.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.171, allocations: 0 / 364.2 MB, free: 14.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009903/0.172, allocations: 0.5512 MB / 364.8 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008969/0.1729, allocations: 182.5 kB / 365 MB, free: 13.67 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.1753, allocations: 1.534 MB / 366.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.1758, allocations: 0.8956 MB / 367.4 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003855/0.1762, allocations: 81.12 kB / 367.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1764, allocations: 51.42 kB / 367.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1764, allocations: 0 / 367.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of Templates: time 0.2016/0.3779, allocations: 12.42 MB / 379.9 MB, free: 52.45 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