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.0009772/0.0009772, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.0009509/0.0009509, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.894/0.894, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.03404/0.03404, allocations: 8.703 MB / 268.6 MB, free: 4.77 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 1.313e-06/1.313e-06, allocations: 0 / 395.4 MB, free: 1.566 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.172e-05, allocations: 10.22 kB / 395.4 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.002146/0.002168, allocations: 2.036 MB / 397.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006984/0.002866, allocations: 0.5765 MB / 398 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.002946, allocations: 4 kB / 398 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.016e-05/0.002997, allocations: 15.84 kB / 398.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.003285, allocations: 83.34 kB / 398.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.839e-05/0.003374, allocations: 27.95 kB / 398.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.003556, allocations: 155.1 kB / 398.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.003668, allocations: 21.3 kB / 398.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.003833, allocations: 91.72 kB / 398.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.003904, allocations: 39.91 kB / 398.5 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.003922, allocations: 12 kB / 398.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.173e-05/0.003973, allocations: 19.94 kB / 398.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.003992, allocations: 23.91 kB / 398.5 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.004035, allocations: 39.86 kB / 398.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.004198, allocations: 119.6 kB / 398.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004199, allocations: 0 / 398.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.0042, allocations: 0 / 398.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004204, allocations: 0 / 398.7 MB, free: 14.28 MB / 330.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.000438/0.004642, allocations: 371.4 kB / 399 MB, free: 13.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.004678, allocations: 16.03 kB / 399.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.004717, allocations: 8.891 kB / 399.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.004883, allocations: 149.5 kB / 399.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.004893, allocations: 4.375 kB / 399.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.004908, allocations: 12.38 kB / 399.2 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.005102, allocations: 129 kB / 399.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005111, allocations: 3.938 kB / 399.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.005123, allocations: 8 kB / 399.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.005127, allocations: 0 / 399.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.005274, allocations: 109.6 kB / 399.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.005714, allocations: 332.1 kB / 399.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.005868, allocations: 108.2 kB / 399.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.005943, allocations: 70.53 kB / 400 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.005959, allocations: 4 kB / 400 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.005992, allocations: 42.67 kB / 400 MB, free: 12.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.005993, allocations: 0 / 400 MB, free: 12.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008092/0.006802, allocations: 448.7 kB / 400.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.006839, allocations: 85.11 kB / 400.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.006919, allocations: 133 kB / 400.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.006933, allocations: 33.8 kB / 400.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.006978, allocations: 108.2 kB / 400.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.007005, allocations: 31.7 kB / 400.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.00704, allocations: 25.7 kB / 400.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.007111, allocations: 322.8 kB / 401.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.696e-05/0.007208, allocations: 77.59 kB / 401.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.007309, allocations: 87.38 kB / 401.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.007497, allocations: 173 kB / 401.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.007498, allocations: 0 / 401.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002286/0.007727, allocations: 204.8 kB / 401.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.007749, allocations: 29.7 kB / 401.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.007753, allocations: 0 / 401.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.007762, allocations: 0 / 401.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.007863, allocations: 35.94 kB / 401.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.007869, allocations: 3.938 kB / 401.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.007924, allocations: 15.98 kB / 401.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.007933, allocations: 7.984 kB / 401.8 MB, free: 10.87 MB / 330.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 7.14e-05/0.008004, allocations: 143.5 kB / 401.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.008025, allocations: 11.95 kB / 401.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.008315, allocations: 253.8 kB / 402.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.008317, allocations: 4 kB / 402.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.00832, allocations: 0 / 402.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.008324, allocations: 3.938 kB / 402.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.008445, allocations: 149.3 kB / 402.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.008446, allocations: 4 kB / 402.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.442e-05/0.008521, allocations: 27.97 kB / 402.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.008522, allocations: 0 / 402.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.00853, allocations: 4 kB / 402.4 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.008531, allocations: 0 / 402.4 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008532, allocations: 4 kB / 402.4 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.008787, allocations: 318.7 kB / 402.7 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.008823, allocations: 19.89 kB / 402.7 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.008836, allocations: 0 / 402.7 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.008906, allocations: 15.98 kB / 402.7 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.008951, allocations: 11.97 kB / 402.7 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.008958, allocations: 12 kB / 402.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.876e-05/0.009007, allocations: 110 kB / 402.9 MB, free: 9.707 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009007, allocations: 0 / 402.9 MB, free: 9.707 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.009174, allocations: 28 kB / 402.9 MB, free: 9.68 MB / 330.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.0001087/0.009283, allocations: 111.2 kB / 403 MB, free: 9.562 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.009569, allocations: 230.6 kB / 403.2 MB, free: 9.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.00957, allocations: 4.25 kB / 403.2 MB, free: 9.309 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.009752, allocations: 148 kB / 403.4 MB, free: 9.148 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.01003, allocations: 35.77 kB / 403.4 MB, free: 9.113 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.01047, allocations: 317 kB / 403.7 MB, free: 8.762 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.339e-05/0.01054, allocations: 93.25 kB / 403.8 MB, free: 8.652 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.01058, allocations: 16.5 kB / 403.8 MB, free: 8.637 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01058, allocations: 0 / 403.8 MB, free: 8.637 MB / 330.7 MB Notification: Performance of Templates: time 0.002579/0.01316, allocations: 1.86 MB / 405.7 MB, free: 6.789 MB / 330.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 > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.312340209959075]