Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.001872/0.001872, allocations: 88.16 kB / 19.44 MB, free: 192 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.002015/0.002015, allocations: 165.3 kB / 22.76 MB, free: 1.523 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 1.528/1.528, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.06283/0.06283, allocations: 8.713 MB / 268.3 MB, free: 4.574 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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 340.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.673e-05, allocations: 2.312 kB / 340.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.004369/0.004395, allocations: 2.122 MB / 342.2 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.005846, allocations: 0.6036 MB / 342.8 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.005972, allocations: 4 kB / 342.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.728e-05/0.006039, allocations: 11.86 kB / 342.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004414/0.006481, allocations: 79.39 kB / 342.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.006631, allocations: 31.95 kB / 343 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.006899, allocations: 159 kB / 343.1 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.007023, allocations: 21.3 kB / 343.1 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.007297, allocations: 83.8 kB / 343.2 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.007439, allocations: 43.89 kB / 343.3 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.007471, allocations: 8 kB / 343.3 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.007573, allocations: 23.92 kB / 343.3 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.007602, allocations: 23.86 kB / 343.3 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.696e-05/0.007679, allocations: 35.92 kB / 343.4 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.007931, allocations: 119.6 kB / 343.5 MB, free: 5.027 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.007934, allocations: 0 / 343.5 MB, free: 5.027 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007935, allocations: 0 / 343.5 MB, free: 5.027 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.007941, allocations: 0 / 343.5 MB, free: 5.027 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000636/0.008577, allocations: 485.3 kB / 344 MB, free: 4.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.008616, allocations: 8.031 kB / 344 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.008702, allocations: 20.89 kB / 344 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.008935, allocations: 148.4 kB / 344.1 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.008956, allocations: 8.375 kB / 344.1 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.008977, allocations: 4.375 kB / 344.1 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.009282, allocations: 127.8 kB / 344.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.009297, allocations: 3.938 kB / 344.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.009316, allocations: 8 kB / 344.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.009321, allocations: 0 / 344.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.009635, allocations: 93.66 kB / 344.4 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000791/0.01043, allocations: 391.4 kB / 344.7 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.01071, allocations: 120.7 kB / 344.9 MB, free: 3.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.01087, allocations: 69.38 kB / 344.9 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.0109, allocations: 192 / 344.9 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.01092, allocations: 41.33 kB / 345 MB, free: 3.371 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.01092, allocations: 0 / 345 MB, free: 3.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.001578/0.0125, allocations: 376.2 kB / 345.3 MB, free: 2.973 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.01253, allocations: 85.11 kB / 345.4 MB, free: 2.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.01267, allocations: 204.8 kB / 345.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.01268, allocations: 29.7 kB / 345.7 MB, free: 2.621 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.01273, allocations: 151.1 kB / 345.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.01278, allocations: 43.61 kB / 345.8 MB, free: 2.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.01285, allocations: 35.31 kB / 345.9 MB, free: 2.379 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.01292, allocations: 0.4923 MB / 346.4 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.01312, allocations: 61.67 kB / 346.4 MB, free: 1.809 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.01334, allocations: 89.05 kB / 346.5 MB, free: 1.707 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.01373, allocations: 151.5 kB / 346.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01373, allocations: 0 / 346.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005315/0.01426, allocations: 192.9 kB / 346.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.01429, allocations: 29.7 kB / 346.9 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.0143, allocations: 0 / 346.9 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.01432, allocations: 0 / 346.9 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.01455, allocations: 23.97 kB / 346.9 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.01456, allocations: 8.031 kB / 346.9 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.0147, allocations: 11.88 kB / 346.9 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.01472, allocations: 4 kB / 346.9 MB, free: 1.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.795e-05/0.01482, allocations: 198.2 kB / 347.1 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.01489, allocations: 11.95 kB / 347.1 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005975/0.01548, allocations: 221.1 kB / 347.4 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01549, allocations: 0 / 347.4 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01549, allocations: 0 / 347.4 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.0155, allocations: 7.938 kB / 347.4 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.01576, allocations: 160.6 kB / 347.5 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01576, allocations: 0 / 347.5 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.01598, allocations: 27.98 kB / 347.5 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01599, allocations: 3.938 kB / 347.5 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.01601, allocations: 3.984 kB / 347.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01601, allocations: 8 kB / 347.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01601, allocations: 0 / 347.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.01656, allocations: 343.2 kB / 347.9 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.552e-05/0.01663, allocations: 31.88 kB / 347.9 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.01667, allocations: 0 / 347.9 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.01687, allocations: 8 kB / 347.9 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.01694, allocations: 7.984 kB / 347.9 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.01696, allocations: 4 kB / 347.9 MB, free: 140 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.0171, allocations: 159.2 kB / 348.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.0171, allocations: 0 / 348.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004944/0.0176, allocations: 35.88 kB / 348.1 MB, free: 15.95 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * 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.0002461/0.01784, allocations: 111.2 kB / 348.2 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007323/0.01857, allocations: 218.4 kB / 348.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01858, allocations: 0 / 348.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.01899, allocations: 148.7 kB / 348.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.01954, allocations: 31 kB / 348.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008689/0.02041, allocations: 305.7 kB / 348.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.02057, allocations: 89.31 kB / 349 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.02071, allocations: 24.89 kB / 349 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.895e-05/0.02081, allocations: 24.44 kB / 349.1 MB, free: 14.9 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02081, allocations: 0 / 349.1 MB, free: 14.9 MB / 282.7 MB Notification: Performance of Templates: time 0.008526/0.02933, allocations: 2.006 MB / 351.1 MB, free: 12.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.564183517009951]