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.001044/0.001044, allocations: 107.2 kB / 18.34 MB, free: 4.676 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.001122/0.001122, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.297/1.297, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001319/0.00132, allocations: 47.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07991/0.08124, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005307/0.08658, allocations: 4.365 MB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.08857, allocations: 1.262 MB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.08879, allocations: 8 kB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.08915, allocations: 134.8 kB / 334.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004596/0.08962, allocations: 265.8 kB / 334.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.08999, allocations: 199.6 kB / 334.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000846/0.09084, allocations: 0.9258 MB / 335.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.09119, allocations: 244.5 kB / 336.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003574/0.09155, allocations: 366.7 kB / 336.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00045/0.09201, allocations: 394.4 kB / 336.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.09212, allocations: 76 kB / 336.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.09224, allocations: 76 kB / 337 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.09238, allocations: 183.3 kB / 337.2 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.09272, allocations: 418.2 kB / 337.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007248/0.09345, allocations: 0.9187 MB / 338.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.09347, allocations: 0 / 338.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09347, allocations: 0 / 338.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.09349, allocations: 0 / 338.5 MB, free: 9.91 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.001849/0.09535, allocations: 1.113 MB / 339.6 MB, free: 8.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.09539, allocations: 8.031 kB / 339.6 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.09554, allocations: 84.09 kB / 339.7 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.09622, allocations: 492.5 kB / 340.2 MB, free: 8.121 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.09637, allocations: 101 kB / 340.3 MB, free: 8.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.313e-05/0.09646, allocations: 48.38 kB / 340.3 MB, free: 7.965 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.09764, allocations: 0.6516 MB / 341 MB, free: 7.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.09768, allocations: 0 / 341 MB, free: 7.238 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.09774, allocations: 20 kB / 341 MB, free: 7.219 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.09776, allocations: 8 kB / 341 MB, free: 7.211 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.09879, allocations: 463.6 kB / 341.5 MB, free: 6.758 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.002957/0.1018, allocations: 1.936 MB / 343.4 MB, free: 4.695 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.1036, allocations: 0.686 MB / 344.1 MB, free: 3.984 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/0.1041, allocations: 258.7 kB / 344.3 MB, free: 3.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.976e-05/0.1042, allocations: 16.42 kB / 344.4 MB, free: 3.715 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1042, allocations: 46.88 kB / 344.4 MB, free: 3.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.803e-06/0.1042, allocations: 4 kB / 344.4 MB, free: 3.656 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.004732/0.109, allocations: 1.476 MB / 345.9 MB, free: 2.105 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002763/0.1092, allocations: 0.5683 MB / 346.4 MB, free: 1.402 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/0.1099, allocations: 0.5381 MB / 347 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.11, allocations: 41.7 kB / 347 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.1102, allocations: 288.8 kB / 347.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.1103, allocations: 189.2 kB / 347.5 MB, free: 340 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.1105, allocations: 106.2 kB / 347.6 MB, free: 224 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1107, allocations: 374.8 kB / 348 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004834/0.1112, allocations: 193 kB / 348.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/0.1118, allocations: 412.3 kB / 348.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009697/0.1128, allocations: 492.5 kB / 349 MB, free: 14.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1128, allocations: 4 kB / 349 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00217/0.115, allocations: 0.8106 MB / 349.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.1151, allocations: 37.64 kB / 349.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1151, allocations: 4.031 kB / 349.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000983/0.1161, allocations: 226.3 kB / 350.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.1168, allocations: 123.8 kB / 350.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007139/0.1239, allocations: 5.611 MB / 355.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006063/0.1246, allocations: 75.55 kB / 355.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.1246, allocations: 16 kB / 355.9 MB, free: 7.316 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.0002613/0.1249, allocations: 197.7 kB / 356.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.125, allocations: 71.25 kB / 356.2 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.1272, allocations: 0.7734 MB / 357 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1272, allocations: 4 kB / 357 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1272, allocations: 0 / 357 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002087/0.1293, allocations: 1.039 MB / 358 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.1324, allocations: 1.505 MB / 359.5 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1324, allocations: 3.938 kB / 359.5 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/0.1332, allocations: 127.8 kB / 359.6 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008428/0.134, allocations: 173.5 kB / 359.8 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.1341, allocations: 12 kB / 359.8 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005001/0.1391, allocations: 3.799 MB / 363.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1391, allocations: 3.938 kB / 363.6 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.1419, allocations: 1.067 MB / 364.7 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.1422, allocations: 212 kB / 364.9 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.753e-05/0.1423, allocations: 12 kB / 364.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.1428, allocations: 31.97 kB / 364.9 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.1429, allocations: 48.5 kB / 365 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.143, allocations: 28.09 kB / 365 MB, free: 13.69 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004365/0.1434, allocations: 382.8 kB / 365.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1434, allocations: 0 / 365.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007215/0.1442, allocations: 215.8 kB / 365.6 MB, free: 13.11 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.000138/0.1443, allocations: 115.2 kB / 365.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.1465, allocations: 1.042 MB / 366.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1466, allocations: 0 / 366.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00095/0.1475, allocations: 0.5318 MB / 367.3 MB, free: 11.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.1483, allocations: 178.4 kB / 367.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.1504, allocations: 1.282 MB / 368.7 MB, free: 9.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.1509, allocations: 0.8879 MB / 369.6 MB, free: 8.938 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.1512, allocations: 81.12 kB / 369.7 MB, free: 8.859 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.1513, allocations: 55.42 kB / 369.8 MB, free: 8.805 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1513, allocations: 0 / 369.8 MB, free: 8.805 MB / 318.1 MB Notification: Performance of Templates: time 0.1634/0.3147, allocations: 14.05 MB / 383.8 MB, free: 51.16 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches