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.0006481/0.0006481, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.001796, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006582/0.0006582, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008087/0.001467, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9012/0.9012, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07706/0.9783, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.03386/0.03386, allocations: 8.739 MB / 252.7 MB, free: 6.375 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004978/0.03883, allocations: 2.994 MB / 255.7 MB, free: 3.375 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.302e-06/1.302e-06, allocations: 0 / 257 MB, free: 2.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.699e-05, allocations: 5.828 kB / 257 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.002586/0.002603, allocations: 2.519 MB / 259.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.004976, allocations: 2.344 MB / 261.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.005085, allocations: 4 kB / 261.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.005327, allocations: 83.45 kB / 261.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.005615, allocations: 170.9 kB / 262.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006531/0.006268, allocations: 414.1 kB / 262.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.006524, allocations: 274.6 kB / 262.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.00662, allocations: 30.53 kB / 262.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.006867, allocations: 176.2 kB / 263 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.006985, allocations: 79.78 kB / 263 MB, free: 12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.007006, allocations: 19.88 kB / 263.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.007316, allocations: 227.7 kB / 263.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.007373, allocations: 35.88 kB / 263.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.007429, allocations: 55.81 kB / 263.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006228/0.008051, allocations: 311 kB / 263.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.52e-05/0.008067, allocations: 0 / 263.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.008068, allocations: 0 / 263.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.008081, allocations: 0 / 263.7 MB, free: 11.36 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.0005434/0.008624, allocations: 0.5221 MB / 264.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.008654, allocations: 8.031 kB / 264.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.008697, allocations: 24.92 kB / 264.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.008883, allocations: 188.8 kB / 264.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.008894, allocations: 8.375 kB / 264.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.008909, allocations: 16.12 kB / 264.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.00908, allocations: 125.1 kB / 264.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.00909, allocations: 0 / 264.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.0091, allocations: 4 kB / 264.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.009106, allocations: 8 kB / 264.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.81e-05/0.009184, allocations: 48.48 kB / 264.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.00968, allocations: 329.4 kB / 264.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.693e-05/0.009777, allocations: 53.38 kB / 265 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.009806, allocations: 24.78 kB / 265 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.009844, allocations: 8 kB / 265 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.009863, allocations: 38.56 kB / 265.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.784e-06/0.009865, allocations: 0 / 265.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002859/0.01015, allocations: 141.6 kB / 265.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.01018, allocations: 55.41 kB / 265.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.01032, allocations: 238.6 kB / 265.5 MB, free: 9.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.01033, allocations: 25.7 kB / 265.5 MB, free: 9.379 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.01039, allocations: 136.3 kB / 265.6 MB, free: 9.242 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.01041, allocations: 39.67 kB / 265.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.01045, allocations: 37.64 kB / 265.7 MB, free: 9.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.01052, allocations: 338.8 kB / 266.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.01055, allocations: 8 kB / 266.1 MB, free: 8.812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.01058, allocations: 43.41 kB / 266.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.939e-05/0.01065, allocations: 62.17 kB / 266.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01065, allocations: 0 / 266.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001049/0.01076, allocations: 105.5 kB / 266.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.01077, allocations: 12.09 kB / 266.3 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01077, allocations: 0 / 266.3 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.01078, allocations: 0 / 266.3 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.0109, allocations: 35.97 kB / 266.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.0109, allocations: 0 / 266.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.01095, allocations: 19.89 kB / 266.3 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.01096, allocations: 4 kB / 266.3 MB, free: 8.504 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 6.627e-05/0.01103, allocations: 120.6 kB / 266.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.01105, allocations: 19.92 kB / 266.5 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.0112, allocations: 117 kB / 266.6 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.0112, allocations: 7.938 kB / 266.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.0112, allocations: 0 / 266.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01121, allocations: 0 / 266.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.01143, allocations: 280.3 kB / 266.9 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01143, allocations: 0 / 266.9 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/0.01148, allocations: 19.94 kB / 266.9 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.01151, allocations: 27.91 kB / 266.9 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.01152, allocations: 8 kB / 266.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.01152, allocations: 0 / 266.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01152, allocations: 0 / 266.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.01153, allocations: 4 kB / 266.9 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.01163, allocations: 177.1 kB / 267.1 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.01165, allocations: 4 kB / 267.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.456e-05/0.0117, allocations: 4 kB / 267.1 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.01173, allocations: 7.984 kB / 267.1 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.01173, allocations: 4 kB / 267.1 MB, free: 7.645 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.879e-05/0.0118, allocations: 93.58 kB / 267.2 MB, free: 7.551 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0118, allocations: 4 kB / 267.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.01202, allocations: 87.69 kB / 267.3 MB, free: 7.461 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.001093/0.01311, allocations: 0.5377 MB / 267.8 MB, free: 7.082 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.01322, allocations: 52.77 kB / 267.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.01323, allocations: 4 kB / 267.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.727e-05/0.01326, allocations: 24.78 kB / 267.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.0135, allocations: 84.7 kB / 268 MB, free: 6.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.0162, allocations: 408.1 kB / 268.4 MB, free: 6.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.528e-05/0.01624, allocations: 79.97 kB / 268.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.647e-05/0.01632, allocations: 21.47 kB / 268.5 MB, free: 6.355 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.01642, allocations: 91.34 kB / 268.6 MB, free: 6.266 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01642, allocations: 4 kB / 268.6 MB, free: 6.262 MB / 266.7 MB Notification: Performance of Templates: time 0.005877/0.0223, allocations: 4.104 MB / 272.7 MB, free: 2.211 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.4474161388352513]