Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.0006634/0.0006634, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008732/0.001537, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001049/0.001049, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002414, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9426/0.9426, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08828/1.031, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.03366/0.03366, allocations: 8.723 MB / 252.9 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004262/0.03793, allocations: 3.01 MB / 255.9 MB, free: 3.281 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.32e-07/9.32e-07, allocations: 0 / 257.2 MB, free: 1.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.695e-06/8.627e-06, allocations: 2.312 kB / 257.2 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.002569/0.002578, allocations: 2.912 MB / 260.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.00515, allocations: 2.523 MB / 262.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.005269, allocations: 0 / 262.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.005515, allocations: 111.2 kB / 262.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.005886, allocations: 226.4 kB / 263 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006837/0.006569, allocations: 461.9 kB / 263.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.006894, allocations: 410 kB / 263.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.006996, allocations: 38.88 kB / 263.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.007303, allocations: 245.5 kB / 264.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.00749, allocations: 119.6 kB / 264.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.007523, allocations: 24 kB / 264.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.007943, allocations: 311.4 kB / 264.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.799e-05/0.008021, allocations: 55.8 kB / 264.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.886e-05/0.00809, allocations: 79.81 kB / 264.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.00854, allocations: 438.5 kB / 265.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.00855, allocations: 0 / 265.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.008551, allocations: 0 / 265.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.008561, allocations: 0 / 265.1 MB, free: 10.02 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006379/0.009199, allocations: 0.6351 MB / 265.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.009229, allocations: 16.02 kB / 265.7 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.00937, allocations: 126 kB / 265.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.009602, allocations: 225.7 kB / 266.1 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.009615, allocations: 16.88 kB / 266.1 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.009638, allocations: 28.12 kB / 266.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.009827, allocations: 175.5 kB / 266.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.009834, allocations: 0 / 266.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.009846, allocations: 4 kB / 266.3 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.009852, allocations: 8 kB / 266.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.009968, allocations: 93.44 kB / 266.4 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.01062, allocations: 463.6 kB / 266.9 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.01086, allocations: 118 kB / 267 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.01091, allocations: 31.97 kB / 267 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.652e-05/0.01097, allocations: 19.98 kB / 267 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.01099, allocations: 42.45 kB / 267.1 MB, free: 7.941 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.01099, allocations: 0 / 267.1 MB, free: 7.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.001771/0.01276, allocations: 0.6657 MB / 267.7 MB, free: 7.266 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.01279, allocations: 55.41 kB / 267.8 MB, free: 7.199 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.01296, allocations: 288.4 kB / 268.1 MB, free: 6.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.01298, allocations: 29.7 kB / 268.1 MB, free: 6.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.01305, allocations: 157 kB / 268.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.01308, allocations: 63.45 kB / 268.3 MB, free: 6.648 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.01314, allocations: 53.64 kB / 268.4 MB, free: 6.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.844e-05/0.01322, allocations: 342.8 kB / 268.7 MB, free: 6.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.01326, allocations: 23.98 kB / 268.7 MB, free: 6.223 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.01333, allocations: 82.53 kB / 268.8 MB, free: 6.129 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.01343, allocations: 96.27 kB / 268.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01344, allocations: 0 / 268.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001642/0.0136, allocations: 146.4 kB / 269 MB, free: 5.875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01361, allocations: 4 kB / 269 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01362, allocations: 4 kB / 269 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/0.01378, allocations: 56.75 kB / 269.1 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.01387, allocations: 39.97 kB / 269.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002719/0.01414, allocations: 0.5679 MB / 269.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.571e-05/0.0142, allocations: 19.92 kB / 269.7 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.01421, allocations: 8 kB / 269.7 MB, free: 5.148 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 7.482e-05/0.01429, allocations: 120.7 kB / 269.8 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.01433, allocations: 23.92 kB / 269.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.01455, allocations: 187.9 kB / 270.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.01456, allocations: 4.062 kB / 270.1 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01456, allocations: 7.938 kB / 270.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01456, allocations: 0 / 270.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.01497, allocations: 404.1 kB / 270.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.01498, allocations: 0 / 270.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.362e-05/0.01505, allocations: 31.98 kB / 270.5 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.0151, allocations: 39.73 kB / 270.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/0.0152, allocations: 60.77 kB / 270.6 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.01521, allocations: 4 kB / 270.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002571/0.01547, allocations: 0.5641 MB / 271.2 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01547, allocations: 0 / 271.2 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.01564, allocations: 233.1 kB / 271.4 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.01567, allocations: 11.92 kB / 271.4 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.01573, allocations: 8 kB / 271.4 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.01576, allocations: 16 kB / 271.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01576, allocations: 7.938 kB / 271.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.124e-05/0.01584, allocations: 107.5 kB / 271.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01585, allocations: 0 / 271.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.01609, allocations: 147.5 kB / 271.7 MB, free: 3.09 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/0.01717, allocations: 0.5647 MB / 272.2 MB, free: 2.672 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.01738, allocations: 106 kB / 272.3 MB, free: 2.562 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/0.01738, allocations: 12 kB / 272.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.677e-05/0.01748, allocations: 73.02 kB / 272.4 MB, free: 2.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.01786, allocations: 0.5825 MB / 273 MB, free: 1.789 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.02146, allocations: 0.5244 MB / 273.5 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.943e-05/0.02151, allocations: 96.31 kB / 273.6 MB, free: 1.121 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.396e-05/0.02158, allocations: 26.28 kB / 273.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.0217, allocations: 107.3 kB / 273.8 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.0217, allocations: 3.938 kB / 273.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of Templates: time 0.104/0.1257, allocations: 6.467 MB / 280.2 MB, free: 11.44 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.781565483659506]