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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 108.8 kB / 21.18 MB, free: 0.7148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 189.2 kB / 24.47 MB, free: 4.086 MB / 14.72 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.556/1.556, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 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.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=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: 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.001775/0.001775, allocations: 55.92 kB / 347.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3045, allocations: 49.16 MB / 396.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005454/0.31, allocations: 4.395 MB / 401.2 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.3127, allocations: 1.274 MB / 402.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004531/0.3132, allocations: 14.41 kB / 402.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004744/0.3137, allocations: 140.5 kB / 402.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007142/0.3144, allocations: 268.1 kB / 402.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.3149, allocations: 197.8 kB / 403.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.3159, allocations: 0.9275 MB / 404 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.3163, allocations: 174.1 kB / 404.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006697/0.3169, allocations: 376.6 kB / 404.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005723/0.3175, allocations: 403.2 kB / 404.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.3177, allocations: 76.28 kB / 405 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.3178, allocations: 77.41 kB / 405.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.318, allocations: 173.1 kB / 405.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.3184, allocations: 423.4 kB / 405.7 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.3196, allocations: 0.9177 MB / 406.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3197, allocations: 0 / 406.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3197, allocations: 0 / 406.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.3197, allocations: 0 / 406.6 MB, free: 3.426 MB / 318.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.002079/0.3218, allocations: 1.059 MB / 407.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3218, allocations: 22.31 kB / 407.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.322, allocations: 91.52 kB / 407.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007568/0.3227, allocations: 421 kB / 408.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.3228, allocations: 93.11 kB / 408.3 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.633e-05/0.3229, allocations: 47.92 kB / 408.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.3241, allocations: 0.6543 MB / 409 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3241, allocations: 3.953 kB / 409 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/0.3242, allocations: 23.11 kB / 409 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.3242, allocations: 10.47 kB / 409 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.3253, allocations: 454.2 kB / 409.4 MB, free: 1.688 MB / 318.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.003147/0.3284, allocations: 1.879 MB / 411.3 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.3304, allocations: 0.5835 MB / 411.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.331, allocations: 232.5 kB / 412.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.3311, allocations: 16.05 kB / 412.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.3311, allocations: 47.27 kB / 412.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.735e-06/0.3311, allocations: 0.7188 kB / 412.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.005544/0.3367, allocations: 1.248 MB / 413.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003174/0.337, allocations: 0.5653 MB / 414 MB, free: 14.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007573/0.3378, allocations: 0.5352 MB / 414.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.3379, allocations: 39.2 kB / 414.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.3381, allocations: 290.1 kB / 414.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.3384, allocations: 201.1 kB / 415.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.3386, allocations: 108.7 kB / 415.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3388, allocations: 373.4 kB / 415.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.3393, allocations: 193.5 kB / 415.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007964/0.3401, allocations: 413.5 kB / 416.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.3413, allocations: 495.4 kB / 416.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.3413, allocations: 1 kB / 416.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002887/0.3441, allocations: 0.8083 MB / 417.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.3442, allocations: 32.23 kB / 417.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3442, allocations: 1.406 kB / 417.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.3454, allocations: 224.9 kB / 417.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000845/0.3462, allocations: 125 kB / 417.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009381/0.3556, allocations: 5.306 MB / 423.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009788/0.3566, allocations: 77.36 kB / 423.2 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.3567, allocations: 20.17 kB / 423.2 MB, free: 7.016 MB / 334.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.0005197/0.3572, allocations: 198.4 kB / 423.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.3573, allocations: 72.23 kB / 423.5 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.3598, allocations: 0.7724 MB / 424.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.3598, allocations: 6.125 kB / 424.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.3598, allocations: 0 / 424.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002517/0.3624, allocations: 1.036 MB / 425.3 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/0.3664, allocations: 1.457 MB / 426.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3664, allocations: 3.938 kB / 426.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007838/0.3672, allocations: 131.8 kB / 426.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000873/0.368, allocations: 173.5 kB / 427 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.3681, allocations: 12 kB / 427 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00652/0.3746, allocations: 3.6 MB / 430.6 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3746, allocations: 0 / 430.6 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/0.3781, allocations: 1.073 MB / 431.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/0.3786, allocations: 123.4 kB / 431.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.3788, allocations: 15.98 kB / 431.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/0.3795, allocations: 39.97 kB / 431.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.3796, allocations: 44.59 kB / 431.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.3797, allocations: 15.94 kB / 431.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006019/0.3803, allocations: 390.8 kB / 432.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3803, allocations: 3.938 kB / 432.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001047/0.3813, allocations: 219.8 kB / 432.5 MB, free: 14.27 MB / 350.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.000254/0.3816, allocations: 115.2 kB / 432.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002785/0.3844, allocations: 1.005 MB / 433.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/0.3844, allocations: 3.953 kB / 433.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.3856, allocations: 0.5119 MB / 434.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3867, allocations: 186.5 kB / 434.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.3896, allocations: 1.306 MB / 435.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.3903, allocations: 0.8917 MB / 436.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004169/0.3907, allocations: 77.12 kB / 436.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.3909, allocations: 55.44 kB / 436.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3909, allocations: 0 / 436.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of Templates: time 0.03004/0.4209, allocations: 14.67 MB / 451.4 MB, free: 11.28 MB / 366.1 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.405361677519977]