Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.0009986/0.0009986, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0008688/0.0008688, allocations: 148.6 kB / 24.9 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9302/0.9302, allocations: 173.4 MB / 201.5 MB, free: 8.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 268.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.791e-05, allocations: 6.109 kB / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005678/0.005696, allocations: 4.36 MB / 272.9 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.00812, allocations: 1.242 MB / 274.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.00839, allocations: 11.94 kB / 274.1 MB, free: 348 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.008759, allocations: 142.8 kB / 274.3 MB, free: 204 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005904/0.00935, allocations: 281.5 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.009773, allocations: 203.5 kB / 274.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000961/0.01073, allocations: 0.9605 MB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.01103, allocations: 170.9 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007106/0.01174, allocations: 0.5418 MB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.01218, allocations: 291.2 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.0123, allocations: 76 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.01243, allocations: 76 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.01257, allocations: 183.3 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.01287, allocations: 295.4 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006699/0.01354, allocations: 0.6033 MB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01354, allocations: 0 / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01354, allocations: 0 / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.01355, allocations: 0 / 277.9 MB, free: 12.53 MB / 266.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.001434/0.01499, allocations: 1.001 MB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.01502, allocations: 8.922 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.01518, allocations: 104.8 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.01572, allocations: 329.6 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.01588, allocations: 148.4 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.725e-05/0.01596, allocations: 56.36 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.01713, allocations: 1.01 MB / 280.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.01715, allocations: 0 / 280.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.01719, allocations: 20 kB / 280.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.0172, allocations: 8 kB / 280.6 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.01757, allocations: 162.8 kB / 280.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.01918, allocations: 1.047 MB / 281.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.01983, allocations: 341.5 kB / 282.1 MB, free: 7.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.01995, allocations: 101.3 kB / 282.2 MB, free: 7.879 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.01999, allocations: 16.5 kB / 282.2 MB, free: 7.863 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.02001, allocations: 46.98 kB / 282.3 MB, free: 7.809 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.874e-06/0.02001, allocations: 4 kB / 282.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.001609/0.02162, allocations: 0.7575 MB / 283 MB, free: 7.031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001751/0.0218, allocations: 0.5644 MB / 283.6 MB, free: 6.332 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.02207, allocations: 431.2 kB / 284 MB, free: 5.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.02211, allocations: 45.64 kB / 284.1 MB, free: 5.848 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.02223, allocations: 230.9 kB / 284.3 MB, free: 5.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.804e-05/0.02233, allocations: 194.3 kB / 284.5 MB, free: 5.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.02244, allocations: 114.2 kB / 284.6 MB, free: 5.305 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.02254, allocations: 370.7 kB / 285 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.732e-05/0.02263, allocations: 82.98 kB / 285 MB, free: 4.844 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.02297, allocations: 0.8112 MB / 285.8 MB, free: 3.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.02321, allocations: 255.8 kB / 286.1 MB, free: 3.551 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02322, allocations: 0 / 286.1 MB, free: 3.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008985/0.02412, allocations: 480 kB / 286.6 MB, free: 3.051 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.02415, allocations: 37.7 kB / 286.6 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.02415, allocations: 0 / 286.6 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005328/0.02468, allocations: 194.3 kB / 286.8 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.02507, allocations: 147.8 kB / 286.9 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1056/0.1306, allocations: 4.277 MB / 291.2 MB, free: 27.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.1311, allocations: 60.33 kB / 291.3 MB, free: 27.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.1311, allocations: 14.41 kB / 291.3 MB, free: 27.53 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.0001758/0.1313, allocations: 150.4 kB / 291.4 MB, free: 27.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-05/0.1314, allocations: 62.42 kB / 291.5 MB, free: 27.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008037/0.1322, allocations: 437 kB / 291.9 MB, free: 27.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1322, allocations: 5.531 kB / 291.9 MB, free: 27.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1322, allocations: 2.375 kB / 291.9 MB, free: 27.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006529/0.1328, allocations: 0.7148 MB / 292.6 MB, free: 26.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.134, allocations: 0.8107 MB / 293.5 MB, free: 26.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.134, allocations: 1.094 kB / 293.5 MB, free: 26.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.1345, allocations: 147.4 kB / 293.6 MB, free: 26.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004894/0.135, allocations: 160.7 kB / 293.8 MB, free: 26.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.135, allocations: 12.41 kB / 293.8 MB, free: 26.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.1368, allocations: 2.901 MB / 296.7 MB, free: 24.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1368, allocations: 4.562 kB / 296.7 MB, free: 24.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000826/0.1376, allocations: 0.5729 MB / 297.2 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.1377, allocations: 74.83 kB / 297.3 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.1378, allocations: 15.88 kB / 297.3 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.138, allocations: 29.91 kB / 297.4 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.1381, allocations: 45.16 kB / 297.4 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1381, allocations: 10.75 kB / 297.4 MB, free: 23.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.1383, allocations: 197.8 kB / 297.6 MB, free: 23.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1383, allocations: 0 / 297.6 MB, free: 23.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005031/0.1388, allocations: 228.6 kB / 297.8 MB, free: 23.93 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 9.536e-05/0.1389, allocations: 97.11 kB / 297.9 MB, free: 23.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007923/0.1397, allocations: 0.7933 MB / 298.7 MB, free: 23.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.1397, allocations: 9.031 kB / 298.7 MB, free: 23.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.14, allocations: 421.3 kB / 299.1 MB, free: 23.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.1405, allocations: 199 kB / 299.3 MB, free: 23.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.1419, allocations: 1.108 MB / 300.4 MB, free: 22.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.142, allocations: 143.8 kB / 300.6 MB, free: 22.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002236/0.1423, allocations: 76.58 kB / 300.7 MB, free: 22.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000445/0.1427, allocations: 296.9 kB / 301 MB, free: 22.44 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1427, allocations: 1.094 kB / 301 MB, free: 22.44 MB / 266.7 MB Notification: Performance of Templates: time 0.01443/0.1571, allocations: 15.71 MB / 316.7 MB, free: 11.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.995312730781734]