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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.159/1.159, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008872/0.0008869, allocations: 98.05 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007678/0.0007679, allocations: 39.94 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1839, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003984/0.188, allocations: 4.385 MB / 378.2 MB, free: 42.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1894, allocations: 1.241 MB / 379.4 MB, free: 41.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.1896, allocations: 11.03 kB / 379.4 MB, free: 41.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.1899, allocations: 105.5 kB / 379.6 MB, free: 41.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.1903, allocations: 233.8 kB / 379.8 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1906, allocations: 168.5 kB / 379.9 MB, free: 40.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006014/0.1912, allocations: 0.8987 MB / 380.8 MB, free: 40.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.1915, allocations: 227.9 kB / 381.1 MB, free: 40.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.1918, allocations: 347.7 kB / 381.4 MB, free: 40.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.1921, allocations: 377.9 kB / 381.8 MB, free: 39.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.23e-05/0.1922, allocations: 63.25 kB / 381.8 MB, free: 39.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1923, allocations: 55.31 kB / 381.9 MB, free: 39.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.809e-05/0.1924, allocations: 146.9 kB / 382 MB, free: 39.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.1927, allocations: 396.6 kB / 382.4 MB, free: 39.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.1932, allocations: 0.8819 MB / 383.3 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1932, allocations: 5.5 kB / 383.3 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1932, allocations: 0 / 383.3 MB, free: 38.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1932, allocations: 0 / 383.3 MB, free: 38.74 MB / 298.7 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.001586/0.1948, allocations: 1.114 MB / 384.4 MB, free: 37.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1948, allocations: 9.312 kB / 384.4 MB, free: 37.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.195, allocations: 86.28 kB / 384.5 MB, free: 37.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.1955, allocations: 480.5 kB / 385 MB, free: 37.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.1956, allocations: 102.1 kB / 385.1 MB, free: 37.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.1957, allocations: 46.66 kB / 385.1 MB, free: 37.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008848/0.1966, allocations: 0.6521 MB / 385.8 MB, free: 36.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1966, allocations: 1.188 kB / 385.8 MB, free: 36.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.1966, allocations: 21.88 kB / 385.8 MB, free: 36.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1966, allocations: 10.81 kB / 385.8 MB, free: 36.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009152/0.1976, allocations: 454.1 kB / 386.3 MB, free: 36.56 MB / 298.7 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.002292/0.1999, allocations: 1.959 MB / 388.2 MB, free: 34.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.2014, allocations: 0.6904 MB / 388.9 MB, free: 34.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/0.2019, allocations: 262 kB / 389.2 MB, free: 33.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.2019, allocations: 12.44 kB / 389.2 MB, free: 33.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.202, allocations: 46.98 kB / 389.2 MB, free: 33.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 2.144e-06/0.202, allocations: 0 / 389.2 MB, free: 33.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.004147/0.2061, allocations: 1.48 MB / 390.7 MB, free: 32.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/0.2062, allocations: 0.5683 MB / 391.3 MB, free: 31.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.2067, allocations: 0.5342 MB / 391.8 MB, free: 30.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.2067, allocations: 41.7 kB / 391.8 MB, free: 30.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.2069, allocations: 280.6 kB / 392.1 MB, free: 30.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.081e-05/0.207, allocations: 189.2 kB / 392.3 MB, free: 30.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.2071, allocations: 110.2 kB / 392.4 MB, free: 30.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.2072, allocations: 378.7 kB / 392.8 MB, free: 29.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.2076, allocations: 197 kB / 393 MB, free: 29.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.2081, allocations: 412.3 kB / 393.4 MB, free: 29.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/0.2089, allocations: 0.4887 MB / 393.9 MB, free: 28.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2089, allocations: 0 / 393.9 MB, free: 28.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001862/0.2108, allocations: 0.8029 MB / 394.7 MB, free: 27.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.2108, allocations: 35.72 kB / 394.7 MB, free: 27.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.2109, allocations: 4 kB / 394.7 MB, free: 27.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008429/0.2117, allocations: 226.3 kB / 394.9 MB, free: 27.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.2123, allocations: 131.8 kB / 395.1 MB, free: 27.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005187/0.2175, allocations: 5.148 MB / 400.2 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/0.2182, allocations: 79.53 kB / 400.3 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.2183, allocations: 16 kB / 400.3 MB, free: 21.86 MB / 298.7 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.000219/0.2185, allocations: 190.7 kB / 400.5 MB, free: 21.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-05/0.2186, allocations: 75.34 kB / 400.6 MB, free: 21.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.2205, allocations: 0.7811 MB / 401.3 MB, free: 20.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2205, allocations: 7.938 kB / 401.3 MB, free: 20.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.2205, allocations: 4 kB / 401.4 MB, free: 20.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001716/0.2222, allocations: 1.035 MB / 402.4 MB, free: 19.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.2248, allocations: 1.506 MB / 403.9 MB, free: 18.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.2248, allocations: 0 / 403.9 MB, free: 18.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/0.2255, allocations: 131.8 kB / 404 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007123/0.2262, allocations: 177.5 kB / 404.2 MB, free: 17.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.2263, allocations: 12 kB / 404.2 MB, free: 17.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003624/0.2299, allocations: 3.47 MB / 407.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2299, allocations: 8.016 kB / 407.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/0.2462, allocations: 8.948 MB / 416.6 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.2465, allocations: 200.2 kB / 416.8 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.327e-05/0.2466, allocations: 12 kB / 416.8 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.2471, allocations: 44.02 kB / 416.9 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.2472, allocations: 52.42 kB / 416.9 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.2472, allocations: 15.98 kB / 416.9 MB, free: 4.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003228/0.2475, allocations: 386.8 kB / 417.3 MB, free: 3.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2475, allocations: 0 / 417.3 MB, free: 3.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008127/0.2484, allocations: 315.7 kB / 417.6 MB, free: 3.59 MB / 298.7 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.0001095/0.2485, allocations: 119.2 kB / 417.8 MB, free: 3.461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.2503, allocations: 1.019 MB / 418.8 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2503, allocations: 4 kB / 418.8 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007646/0.251, allocations: 0.5358 MB / 419.3 MB, free: 1.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.2518, allocations: 178 kB / 419.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.2544, allocations: 2.132 MB / 421.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.2548, allocations: 0.9038 MB / 422.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003431/0.2552, allocations: 89.12 kB / 422.6 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.2553, allocations: 55.42 kB / 422.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2553, allocations: 3.938 kB / 422.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of Templates: time 0.02046/0.2758, allocations: 15.86 MB / 438.5 MB, free: 14.52 MB / 330.7 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@2/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