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.00131/0.00131, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009827/0.0009827, allocations: 173.7 kB / 23.27 MB, free: 1.223 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.9282/0.9282, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.03345/0.03345, allocations: 8.711 MB / 269 MB, free: 4.391 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.223e-06/1.223e-06, allocations: 0 / 341.3 MB, free: 8.859 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.413e-05, allocations: 2.312 kB / 341.3 MB, free: 8.855 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.002435/0.002449, allocations: 2.46 MB / 343.7 MB, free: 6.375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.00494, allocations: 2.278 MB / 346 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.005063, allocations: 7.938 kB / 346 MB, free: 4.082 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.005366, allocations: 83.39 kB / 346.1 MB, free: 4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.005711, allocations: 174.9 kB / 346.3 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007585/0.006469, allocations: 450 kB / 346.7 MB, free: 3.387 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.006751, allocations: 266.7 kB / 347 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.006845, allocations: 32.56 kB / 347 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.007048, allocations: 139.6 kB / 347.2 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.007185, allocations: 83.73 kB / 347.2 MB, free: 2.875 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.00721, allocations: 16 kB / 347.3 MB, free: 2.859 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.007539, allocations: 211.7 kB / 347.5 MB, free: 2.652 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.007617, allocations: 47.77 kB / 347.5 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.854e-05/0.007686, allocations: 67.78 kB / 347.6 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.008174, allocations: 354.8 kB / 347.9 MB, free: 2.191 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.008176, allocations: 4 kB / 347.9 MB, free: 2.188 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.008177, allocations: 0 / 347.9 MB, free: 2.188 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.008183, allocations: 0 / 347.9 MB, free: 2.188 MB / 314.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.0005922/0.008775, allocations: 0.5808 MB / 348.5 MB, free: 1.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.008809, allocations: 12.03 kB / 348.5 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.008857, allocations: 32.8 kB / 348.5 MB, free: 1.527 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.00904, allocations: 211.6 kB / 348.8 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.00905, allocations: 8.375 kB / 348.8 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.009066, allocations: 16.12 kB / 348.8 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.009226, allocations: 118.3 kB / 348.9 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.009233, allocations: 0 / 348.9 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.009245, allocations: 7.984 kB / 348.9 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.009252, allocations: 8 kB / 348.9 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.009329, allocations: 51.89 kB / 349 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.009855, allocations: 451.8 kB / 349.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.438e-05/0.00995, allocations: 67.08 kB / 349.5 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.009981, allocations: 35.66 kB / 349.5 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.01002, allocations: 11.98 kB / 349.5 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.01003, allocations: 33.39 kB / 349.5 MB, free: 448 kB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 9.41e-07/0.01004, allocations: 0 / 349.5 MB, free: 448 kB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004661/0.0105, allocations: 197.4 kB / 349.7 MB, free: 244 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.01054, allocations: 55.41 kB / 349.8 MB, free: 176 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.01074, allocations: 292.2 kB / 350.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.01076, allocations: 29.64 kB / 350.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.01086, allocations: 210.8 kB / 350.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.01089, allocations: 35.69 kB / 350.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.01095, allocations: 39.34 kB / 350.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.0111, allocations: 0.5118 MB / 350.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.431e-05/0.01113, allocations: 8 kB / 350.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.0112, allocations: 69.5 kB / 351 MB, free: 14.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.0113, allocations: 98.33 kB / 351.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.0113, allocations: 3.938 kB / 351.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001547/0.01146, allocations: 125.4 kB / 351.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.01147, allocations: 4.938 kB / 351.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01148, allocations: 4 kB / 351.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.01149, allocations: 0 / 351.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.0116, allocations: 36.05 kB / 351.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.0116, allocations: 7.984 kB / 351.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/0.01165, allocations: 12 kB / 351.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.01166, allocations: 4 kB / 351.3 MB, free: 14.61 MB / 330.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 7.816e-05/0.01174, allocations: 164.5 kB / 351.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.01177, allocations: 27.86 kB / 351.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.01192, allocations: 130.6 kB / 351.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01193, allocations: 4 kB / 351.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.01193, allocations: 4 kB / 351.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.01193, allocations: 0 / 351.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.01219, allocations: 393.1 kB / 352 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01219, allocations: 0 / 352 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.01224, allocations: 27.92 kB / 352 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01225, allocations: 0 / 352 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.01225, allocations: 4 kB / 352 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01225, allocations: 0 / 352 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01226, allocations: 7.984 kB / 352 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.01265, allocations: 259.1 kB / 352.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.01269, allocations: 27.89 kB / 352.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.01271, allocations: 4 kB / 352.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.805e-05/0.01277, allocations: 7.984 kB / 352.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.0128, allocations: 11.98 kB / 352.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.0128, allocations: 4 kB / 352.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.946e-05/0.01289, allocations: 201.1 kB / 352.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01289, allocations: 0 / 352.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.01313, allocations: 79.8 kB / 352.6 MB, free: 13.18 MB / 330.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.0007655/0.0139, allocations: 408.9 kB / 353 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.01403, allocations: 74.94 kB / 353.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01403, allocations: 0 / 353.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.385e-05/0.01406, allocations: 27.88 kB / 353.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.01434, allocations: 67.56 kB / 353.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007227/0.01506, allocations: 394.5 kB / 353.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.683e-05/0.01511, allocations: 71.98 kB / 353.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.49e-05/0.01518, allocations: 37.55 kB / 353.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.01529, allocations: 114.2 kB / 353.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01529, allocations: 0 / 353.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of Templates: time 0.005434/0.02073, allocations: 4.211 MB / 358 MB, free: 7.914 MB / 330.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.6511638541705906]