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.001022/0.001022, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.001133/0.001133, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.542/1.542, allocations: 205.1 MB / 224 MB, free: 12.44 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.001177/0.001177, allocations: 51.92 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1042, allocations: 46.63 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.0056/0.1098, allocations: 4.387 MB / 331.2 MB, free: 392 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.1124, allocations: 1.239 MB / 332.4 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.1128, allocations: 11.94 kB / 332.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.1132, allocations: 107.3 kB / 332.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.1137, allocations: 238.1 kB / 332.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.1142, allocations: 167.8 kB / 332.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008794/0.115, allocations: 0.9217 MB / 333.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.1154, allocations: 256.5 kB / 334.1 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004437/0.1159, allocations: 366.6 kB / 334.4 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.1163, allocations: 398.3 kB / 334.8 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.1164, allocations: 80 kB / 334.9 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1165, allocations: 79.94 kB / 335 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.1167, allocations: 175.3 kB / 335.2 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.117, allocations: 414.2 kB / 335.6 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008517/0.1179, allocations: 0.8992 MB / 336.5 MB, free: 11.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1179, allocations: 8 kB / 336.5 MB, free: 11.04 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1179, allocations: 0 / 336.5 MB, free: 11.04 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.1179, allocations: 3.938 kB / 336.5 MB, free: 11.04 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.001964/0.1199, allocations: 1.109 MB / 337.6 MB, free: 9.863 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.12, allocations: 8.031 kB / 337.6 MB, free: 9.855 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.1201, allocations: 84.09 kB / 337.7 MB, free: 9.773 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007699/0.1209, allocations: 484.5 kB / 338.1 MB, free: 9.258 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.1211, allocations: 96.97 kB / 338.2 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.844e-05/0.1212, allocations: 52.31 kB / 338.3 MB, free: 9.102 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.1223, allocations: 0.6516 MB / 338.9 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1224, allocations: 0 / 338.9 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.628e-05/0.1224, allocations: 24 kB / 339 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.1225, allocations: 12 kB / 339 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009968/0.1235, allocations: 451.6 kB / 339.4 MB, free: 7.902 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.002926/0.1264, allocations: 1.952 MB / 341.4 MB, free: 5.824 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.1283, allocations: 0.6982 MB / 342.1 MB, free: 5.102 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/0.1288, allocations: 258 kB / 342.3 MB, free: 4.848 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/0.1289, allocations: 12.44 kB / 342.3 MB, free: 4.836 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.1289, allocations: 39 kB / 342.4 MB, free: 4.789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.443e-06/0.1289, allocations: 0 / 342.4 MB, free: 4.789 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.004915/0.1339, allocations: 1.484 MB / 343.9 MB, free: 3.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002199/0.1341, allocations: 0.5683 MB / 344.4 MB, free: 2.527 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.1347, allocations: 0.5459 MB / 345 MB, free: 1.973 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.1348, allocations: 41.69 kB / 345 MB, free: 1.926 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.135, allocations: 284.5 kB / 345.3 MB, free: 1.645 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.1352, allocations: 181.3 kB / 345.5 MB, free: 1.465 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.1354, allocations: 110.2 kB / 345.6 MB, free: 1.348 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1356, allocations: 374.7 kB / 345.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/0.136, allocations: 193 kB / 346.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006325/0.1367, allocations: 416.3 kB / 346.5 MB, free: 304 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009817/0.1377, allocations: 488.5 kB / 347 MB, free: 15.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1377, allocations: 0 / 347 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002215/0.1399, allocations: 0.8145 MB / 347.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.14, allocations: 29.7 kB / 347.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.14, allocations: 0 / 347.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.141, allocations: 234.3 kB / 348.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/0.1418, allocations: 127.8 kB / 348.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007522/0.1493, allocations: 5.61 MB / 353.8 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000925/0.1503, allocations: 79.55 kB / 353.9 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.1503, allocations: 19.94 kB / 353.9 MB, free: 8.438 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.0004158/0.1508, allocations: 197.7 kB / 354.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.1509, allocations: 71.25 kB / 354.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.1533, allocations: 0.7656 MB / 354.9 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1533, allocations: 4 kB / 354.9 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1533, allocations: 3.984 kB / 355 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002121/0.1554, allocations: 1.046 MB / 356 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.1586, allocations: 1.506 MB / 357.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1586, allocations: 0 / 357.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/0.1594, allocations: 135.8 kB / 357.6 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008715/0.1603, allocations: 173.5 kB / 357.8 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.1604, allocations: 15.98 kB / 357.8 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005625/0.166, allocations: 3.795 MB / 361.6 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.166, allocations: 0 / 361.6 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/0.1688, allocations: 1.07 MB / 362.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/0.1692, allocations: 204.1 kB / 362.9 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.1693, allocations: 12 kB / 362.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/0.1698, allocations: 43.95 kB / 362.9 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.17, allocations: 52.42 kB / 363 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.17, allocations: 12 kB / 363 MB, free: 14.81 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000462/0.1705, allocations: 390.8 kB / 363.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1705, allocations: 0 / 363.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007583/0.1713, allocations: 215.8 kB / 363.6 MB, free: 14.22 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.0001688/0.1714, allocations: 119.2 kB / 363.7 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.1738, allocations: 1.05 MB / 364.8 MB, free: 12.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.1739, allocations: 4 kB / 364.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009628/0.1748, allocations: 0.5395 MB / 365.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008215/0.1757, allocations: 194.6 kB / 365.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.1779, allocations: 1.49 MB / 367 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.1784, allocations: 0.8879 MB / 367.9 MB, free: 9.805 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003456/0.1787, allocations: 81.12 kB / 368 MB, free: 9.727 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.1789, allocations: 51.42 kB / 368 MB, free: 9.676 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1789, allocations: 0 / 368 MB, free: 9.676 MB / 318.1 MB Notification: Performance of Templates: time 0.181/0.3598, allocations: 13.81 MB / 381.8 MB, free: 50.71 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