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.001247/0.001247, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001398/0.001398, allocations: 169.3 kB / 23.02 MB, free: 1.555 MB / 18.57 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.9947/0.9947, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.03737/0.03737, allocations: 8.722 MB / 268.7 MB, free: 4.512 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 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.973e-06/1.973e-06, allocations: 0 / 340.8 MB, free: 8.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.124e-05, allocations: 5.812 kB / 340.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.01262/0.01266, allocations: 2.468 MB / 343.3 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006709/0.01937, allocations: 2.313 MB / 345.6 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.0195, allocations: 7.938 kB / 345.6 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.01987, allocations: 87.39 kB / 345.7 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.02024, allocations: 159 kB / 345.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00382/0.02406, allocations: 446.2 kB / 346.3 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.02432, allocations: 274.6 kB / 346.6 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.02443, allocations: 36.55 kB / 346.6 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.02464, allocations: 143.6 kB / 346.8 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.02477, allocations: 91.73 kB / 346.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.02479, allocations: 12 kB / 346.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.02507, allocations: 211.7 kB / 347.1 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.02513, allocations: 43.77 kB / 347.1 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.02519, allocations: 71.77 kB / 347.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.0256, allocations: 342.9 kB / 347.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.02561, allocations: 3.938 kB / 347.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02561, allocations: 4 kB / 347.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.02561, allocations: 0 / 347.5 MB, free: 1.359 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.0005392/0.02615, allocations: 0.5847 MB / 348.1 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.02618, allocations: 12.03 kB / 348.1 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.02624, allocations: 32.8 kB / 348.2 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.02644, allocations: 207.6 kB / 348.4 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.02645, allocations: 8.375 kB / 348.4 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.02647, allocations: 20.12 kB / 348.4 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.02667, allocations: 114.3 kB / 348.5 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.02669, allocations: 0 / 348.5 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.02671, allocations: 8 kB / 348.5 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.02672, allocations: 4 kB / 348.5 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.02688, allocations: 67.95 kB / 348.6 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008031/0.02768, allocations: 495.1 kB / 349.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.02784, allocations: 71 kB / 349.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/0.0279, allocations: 31.81 kB / 349.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.713e-05/0.02794, allocations: 4 kB / 349.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.02797, allocations: 41.39 kB / 349.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.02797, allocations: 0 / 349.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006571/0.02863, allocations: 249.1 kB / 349.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.02866, allocations: 51.41 kB / 349.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.02888, allocations: 292.3 kB / 349.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.0289, allocations: 29.7 kB / 349.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.029, allocations: 206.9 kB / 350 MB, free: 14.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.02903, allocations: 39.67 kB / 350 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.02909, allocations: 39.36 kB / 350.1 MB, free: 14.6 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.02922, allocations: 0.5118 MB / 350.6 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.273e-05/0.02927, allocations: 19.92 kB / 350.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.02935, allocations: 69.66 kB / 350.7 MB, free: 13.97 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.02947, allocations: 94.36 kB / 350.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.02947, allocations: 0 / 350.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.003247/0.03272, allocations: 141.4 kB / 350.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.03274, allocations: 7.984 kB / 350.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.03274, allocations: 0 / 350.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.03276, allocations: 4 kB / 350.9 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.03292, allocations: 35.98 kB / 351 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.03293, allocations: 3.938 kB / 351 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.508e-05/0.03301, allocations: 11.98 kB / 351 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.03302, allocations: 4 kB / 351 MB, free: 13.65 MB / 282.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: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 9.388e-05/0.03311, allocations: 168.5 kB / 351.1 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.03315, allocations: 27.89 kB / 351.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.03341, allocations: 146.6 kB / 351.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.03341, allocations: 4 kB / 351.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.03342, allocations: 0 / 351.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.03342, allocations: 4 kB / 351.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.03383, allocations: 424.6 kB / 351.7 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.03383, allocations: 4 kB / 351.7 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.003e-05/0.03391, allocations: 27.98 kB / 351.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.03391, allocations: 0 / 351.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.03392, allocations: 4 kB / 351.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.03392, allocations: 0 / 351.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.03393, allocations: 0 / 351.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.03413, allocations: 271.7 kB / 352 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.03418, allocations: 23.89 kB / 352.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.0342, allocations: 8 kB / 352.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.02e-05/0.03429, allocations: 4 kB / 352.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.03434, allocations: 15.86 kB / 352.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.03435, allocations: 15.98 kB / 352.1 MB, free: 12.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001488/0.0345, allocations: 205.1 kB / 352.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0345, allocations: 0 / 352.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003535/0.03485, allocations: 83.8 kB / 352.4 MB, free: 12.14 MB / 282.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 (9): * Single equations (assignments): 9 * 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.004069/0.03892, allocations: 403.6 kB / 352.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.03915, allocations: 79.52 kB / 352.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.03915, allocations: 0 / 352.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.777e-05/0.03922, allocations: 35.61 kB / 352.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.03967, allocations: 60.12 kB / 353 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.04082, allocations: 390.7 kB / 353.3 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.916e-05/0.04088, allocations: 75.98 kB / 353.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.041, allocations: 33.62 kB / 353.4 MB, free: 11.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.04108, allocations: 24.48 kB / 353.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.04108, allocations: 0 / 353.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of Templates: time 0.008377/0.04946, allocations: 3.748 MB / 357.2 MB, free: 7.426 MB / 282.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.9880735338665545]