Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.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.0006714/0.0006714, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009868/0.001658, 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.0006944/0.0006944, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009059/0.0016, 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.9252/0.9252, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07543/1.001, 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.0333/0.0333, allocations: 8.729 MB / 252.9 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005112/0.03841, allocations: 3.009 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.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 257.2 MB, free: 1.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.239e-05, allocations: 2.312 kB / 257.2 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.004004/0.004026, allocations: 2.512 MB / 259.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003614/0.00764, allocations: 2.344 MB / 262 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.007794, allocations: 4 kB / 262.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.008064, allocations: 83.34 kB / 262.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.008412, allocations: 166.9 kB / 262.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008462/0.009258, allocations: 422 kB / 262.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.009584, allocations: 270.7 kB / 263 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.009715, allocations: 30.48 kB / 263 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003631/0.01008, allocations: 172.2 kB / 263.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.01024, allocations: 91.72 kB / 263.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.01026, allocations: 12 kB / 263.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004947/0.01076, allocations: 227.7 kB / 263.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.01087, allocations: 39.8 kB / 263.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/0.01095, allocations: 51.88 kB / 263.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005994/0.01155, allocations: 318.9 kB / 263.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.524e-05/0.01156, allocations: 0 / 263.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.01157, allocations: 0 / 263.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.01158, allocations: 0 / 263.9 MB, free: 11.22 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006739/0.01225, allocations: 0.5144 MB / 264.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.01229, allocations: 8.031 kB / 264.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.01234, allocations: 28.86 kB / 264.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.01256, allocations: 184.8 kB / 264.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.01257, allocations: 8.375 kB / 264.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.01259, allocations: 16.12 kB / 264.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.01279, allocations: 129.6 kB / 264.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.01279, allocations: 0 / 264.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.0128, allocations: 4 kB / 264.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.01281, allocations: 7.984 kB / 264.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.01289, allocations: 55.95 kB / 264.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.01343, allocations: 325.4 kB / 265.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.01354, allocations: 61.31 kB / 265.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.01357, allocations: 20.8 kB / 265.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.01361, allocations: 11.98 kB / 265.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.01363, allocations: 34.56 kB / 265.3 MB, free: 9.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.01363, allocations: 4 kB / 265.3 MB, free: 9.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007263/0.01436, allocations: 342.6 kB / 265.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.01439, allocations: 59.41 kB / 265.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.01456, allocations: 238.6 kB / 265.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.01458, allocations: 29.7 kB / 265.9 MB, free: 9.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.01464, allocations: 132.3 kB / 266.1 MB, free: 8.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.01466, allocations: 35.67 kB / 266.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.01471, allocations: 37.69 kB / 266.1 MB, free: 8.801 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.0148, allocations: 326.8 kB / 266.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.154e-05/0.01483, allocations: 15.98 kB / 266.5 MB, free: 8.457 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.563e-05/0.01488, allocations: 50.8 kB / 266.5 MB, free: 8.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.93e-05/0.01496, allocations: 74.17 kB / 266.6 MB, free: 8.312 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01496, allocations: 0 / 266.6 MB, free: 8.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001195/0.01508, allocations: 93.47 kB / 266.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.0151, allocations: 11.12 kB / 266.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.0151, allocations: 0 / 266.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.01511, allocations: 0 / 266.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.01523, allocations: 39.97 kB / 266.7 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.01524, allocations: 3.938 kB / 266.7 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.01529, allocations: 16.05 kB / 266.8 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.0153, allocations: 4 kB / 266.8 MB, free: 8.145 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/0.01538, allocations: 120.6 kB / 266.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.01541, allocations: 23.92 kB / 266.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.01556, allocations: 113 kB / 267 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01557, allocations: 4 kB / 267 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01557, allocations: 0 / 267 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.01557, allocations: 0 / 267 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.01582, allocations: 284.3 kB / 267.3 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01582, allocations: 0 / 267.3 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.01587, allocations: 16 kB / 267.3 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.01591, allocations: 23.84 kB / 267.3 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.01592, allocations: 4 kB / 267.3 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.01592, allocations: 0 / 267.3 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01593, allocations: 0 / 267.3 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.01593, allocations: 4 kB / 267.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.01606, allocations: 197.2 kB / 267.5 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.01608, allocations: 3.938 kB / 267.5 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-05/0.01614, allocations: 4 kB / 267.5 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.01618, allocations: 11.98 kB / 267.6 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.01618, allocations: 0 / 267.6 MB, free: 7.277 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.745e-05/0.01626, allocations: 89.59 kB / 267.6 MB, free: 7.188 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01626, allocations: 0 / 267.6 MB, free: 7.188 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002691/0.01653, allocations: 87.75 kB / 267.7 MB, free: 7.102 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.01777, allocations: 0.5415 MB / 268.3 MB, free: 6.711 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.01793, allocations: 56.77 kB / 268.3 MB, free: 6.652 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/0.01794, allocations: 4 kB / 268.3 MB, free: 6.648 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.242e-05/0.018, allocations: 44.75 kB / 268.4 MB, free: 6.602 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.0184, allocations: 424.8 kB / 268.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.02122, allocations: 404.6 kB / 269.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.224e-05/0.02129, allocations: 75.98 kB / 269.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.02142, allocations: 29.47 kB / 269.3 MB, free: 5.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.02157, allocations: 83.34 kB / 269.4 MB, free: 5.465 MB / 266.7 MB Notification: Performance of SimCode: time 1.503e-06/0.02157, allocations: 0 / 269.4 MB, free: 5.465 MB / 266.7 MB Notification: Performance of Templates: time 0.006447/0.02801, allocations: 4.164 MB / 273.5 MB, free: 1.348 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6406348003074527]