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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 164.4 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 250.3 MB, free: 7.855 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.418e-05, allocations: 2.312 kB / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006201/0.006225, allocations: 3.961 MB / 254.3 MB, free: 3.867 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.008714, allocations: 1.204 MB / 255.5 MB, free: 2.652 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002602/0.008974, allocations: 11.94 kB / 255.5 MB, free: 2.641 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.009369, allocations: 138.8 kB / 255.7 MB, free: 2.504 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.01, allocations: 281.5 kB / 255.9 MB, free: 2.227 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.01046, allocations: 199.6 kB / 256.1 MB, free: 2.031 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.01163, allocations: 0.971 MB / 257.1 MB, free: 1.055 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.01195, allocations: 161 kB / 257.3 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007364/0.01269, allocations: 0.5379 MB / 257.8 MB, free: 360 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004769/0.01317, allocations: 299.2 kB / 258.1 MB, free: 60 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.01331, allocations: 76.05 kB / 258.2 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.01346, allocations: 76 kB / 258.2 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.01365, allocations: 175.3 kB / 258.4 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003802/0.01403, allocations: 295.4 kB / 258.7 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.01525, allocations: 0.9579 MB / 259.7 MB, free: 14.49 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01525, allocations: 0 / 259.7 MB, free: 14.49 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01525, allocations: 4 kB / 259.7 MB, free: 14.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.01526, allocations: 0 / 259.7 MB, free: 14.48 MB / 250.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.002504/0.01776, allocations: 1.053 MB / 260.7 MB, free: 13.39 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.0178, allocations: 11.98 kB / 260.7 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.01805, allocations: 128.4 kB / 260.8 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008681/0.01892, allocations: 438.4 kB / 261.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.01913, allocations: 148.4 kB / 261.4 MB, free: 12.63 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.01925, allocations: 56.38 kB / 261.5 MB, free: 12.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.02099, allocations: 1.158 MB / 262.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.02101, allocations: 0 / 262.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/0.02108, allocations: 20 kB / 262.7 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.02109, allocations: 12 kB / 262.7 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.02229, allocations: 447.7 kB / 263.1 MB, free: 10.75 MB / 250.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.003391/0.02568, allocations: 1.488 MB / 264.6 MB, free: 9.203 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.02781, allocations: 0.5693 MB / 265.2 MB, free: 8.629 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/0.02845, allocations: 234.2 kB / 265.4 MB, free: 8.398 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/0.02851, allocations: 16.44 kB / 265.4 MB, free: 8.379 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.02856, allocations: 43.06 kB / 265.4 MB, free: 8.328 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 2.495e-06/0.02857, allocations: 0 / 265.4 MB, free: 8.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.005652/0.03422, allocations: 1.272 MB / 266.7 MB, free: 7.043 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006428/0.03486, allocations: 0.5683 MB / 267.3 MB, free: 6.336 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007428/0.0356, allocations: 0.4911 MB / 267.8 MB, free: 5.832 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.672e-05/0.03568, allocations: 41.7 kB / 267.8 MB, free: 5.785 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.03597, allocations: 293.7 kB / 268.1 MB, free: 5.492 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.03619, allocations: 194.3 kB / 268.3 MB, free: 5.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.03641, allocations: 110.3 kB / 268.4 MB, free: 5.188 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.03665, allocations: 370.8 kB / 268.8 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/0.03725, allocations: 214.9 kB / 269 MB, free: 4.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.0385, allocations: 0.9674 MB / 269.9 MB, free: 3.418 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.03972, allocations: 487.8 kB / 270.4 MB, free: 2.922 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.03972, allocations: 4 kB / 270.4 MB, free: 2.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002746/0.04247, allocations: 0.854 MB / 271.3 MB, free: 2.035 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.04252, allocations: 33.7 kB / 271.3 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.04252, allocations: 0 / 271.3 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/0.04416, allocations: 270.3 kB / 271.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.04499, allocations: 135.8 kB / 271.7 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009239/0.05422, allocations: 5.197 MB / 276.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007207/0.05495, allocations: 75.84 kB / 277 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.055, allocations: 23.94 kB / 277 MB, free: 11.99 MB / 266.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.0003516/0.05535, allocations: 189.8 kB / 277.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.05553, allocations: 87.58 kB / 277.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.05813, allocations: 0.7714 MB / 278 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.05814, allocations: 8.109 kB / 278.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.05814, allocations: 8 kB / 278.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002541/0.06068, allocations: 1.025 MB / 279.1 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/0.0641, allocations: 1.293 MB / 280.4 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.0641, allocations: 0 / 280.4 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007904/0.06489, allocations: 135.8 kB / 280.5 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.06627, allocations: 213.5 kB / 280.7 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.06631, allocations: 15.98 kB / 280.7 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006259/0.07257, allocations: 3.534 MB / 284.3 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.07258, allocations: 3.938 kB / 284.3 MB, free: 4.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/0.07574, allocations: 1.081 MB / 285.4 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/0.07606, allocations: 127.5 kB / 285.5 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.395e-05/0.07616, allocations: 12 kB / 285.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/0.07667, allocations: 35.97 kB / 285.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.07681, allocations: 48.34 kB / 285.6 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.07685, allocations: 24 kB / 285.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005112/0.07737, allocations: 358.9 kB / 285.9 MB, free: 2.625 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.07737, allocations: 0 / 285.9 MB, free: 2.625 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000827/0.07819, allocations: 215.8 kB / 286.2 MB, free: 2.414 MB / 266.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.0001784/0.07837, allocations: 115.2 kB / 286.3 MB, free: 2.289 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.08097, allocations: 1.045 MB / 287.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.08098, allocations: 4 kB / 287.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.08212, allocations: 0.5076 MB / 287.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008702/0.08299, allocations: 201.8 kB / 288 MB, free: 472 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.08557, allocations: 1.191 MB / 289.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.08591, allocations: 289.9 kB / 289.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003232/0.08623, allocations: 76.92 kB / 289.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.08638, allocations: 52.48 kB / 289.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.08638, allocations: 0 / 289.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of Templates: time 0.02729/0.1137, allocations: 14.47 MB / 304.1 MB, free: 360 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.19643058301881]