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.0009713/0.0009713, 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.0009194/0.0009194, allocations: 173 kB / 23.03 MB, free: 1.543 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.96/0.96, allocations: 177.2 MB / 203.4 MB, free: 5.629 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.03435/0.03435, allocations: 8.71 MB / 268.7 MB, free: 4.535 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.412e-06/1.412e-06, allocations: 0 / 340.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.712e-05, allocations: 10.25 kB / 340.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.001841/0.001858, allocations: 2.16 MB / 343 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006542/0.002513, allocations: 0.5959 MB / 343.6 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.287e-05/0.002586, allocations: 4 kB / 343.6 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.368e-05/0.002629, allocations: 15.84 kB / 343.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.002898, allocations: 83.33 kB / 343.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.53e-05/0.002983, allocations: 31.95 kB / 343.7 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.003134, allocations: 159.1 kB / 343.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.003228, allocations: 13.31 kB / 343.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.003377, allocations: 91.72 kB / 344 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.003452, allocations: 47.89 kB / 344 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.003469, allocations: 8 kB / 344.1 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.591e-05/0.003515, allocations: 15.94 kB / 344.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.003532, allocations: 23.86 kB / 344.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.003568, allocations: 43.91 kB / 344.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.003707, allocations: 91.67 kB / 344.2 MB, free: 4.668 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.00371, allocations: 0 / 344.2 MB, free: 4.668 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003711, allocations: 4 kB / 344.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.003715, allocations: 0 / 344.2 MB, free: 4.664 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.0003353/0.00405, allocations: 465.8 kB / 344.7 MB, free: 4.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.004082, allocations: 16.02 kB / 344.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.004124, allocations: 12.89 kB / 344.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.004254, allocations: 155 kB / 344.9 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.004264, allocations: 8.375 kB / 344.9 MB, free: 3.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.004275, allocations: 8.375 kB / 344.9 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.004424, allocations: 123.4 kB / 345 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.004432, allocations: 7.938 kB / 345 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.004443, allocations: 4 kB / 345 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.004451, allocations: 0 / 345 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.055e-05/0.004511, allocations: 61.67 kB / 345.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.004889, allocations: 371.4 kB / 345.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.004996, allocations: 96.69 kB / 345.5 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.005035, allocations: 53.38 kB / 345.6 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.005046, allocations: 0 / 345.6 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.005061, allocations: 37.39 kB / 345.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.005062, allocations: 4 kB / 345.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005162/0.005578, allocations: 304.4 kB / 345.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.005603, allocations: 81.11 kB / 346 MB, free: 2.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.005667, allocations: 189.8 kB / 346.2 MB, free: 2.484 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.005674, allocations: 25.7 kB / 346.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.005703, allocations: 151 kB / 346.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.005725, allocations: 43.67 kB / 346.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.005757, allocations: 31.38 kB / 346.4 MB, free: 2.215 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.885e-05/0.005796, allocations: 0.4923 MB / 346.9 MB, free: 1.711 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.005828, allocations: 37.69 kB / 347 MB, free: 1.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.81e-05/0.005866, allocations: 61.06 kB / 347 MB, free: 1.594 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.439e-05/0.00593, allocations: 107.5 kB / 347.1 MB, free: 1.469 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005932, allocations: 4 kB / 347.1 MB, free: 1.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001019/0.006034, allocations: 141 kB / 347.3 MB, free: 1.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.00605, allocations: 29.7 kB / 347.3 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006054, allocations: 0 / 347.3 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.006065, allocations: 4 kB / 347.3 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.006159, allocations: 24.02 kB / 347.3 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.006164, allocations: 3.938 kB / 347.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.0062, allocations: 15.86 kB / 347.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.006208, allocations: 4 kB / 347.3 MB, free: 1.223 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 5.75e-05/0.006265, allocations: 182.3 kB / 347.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.006286, allocations: 15.95 kB / 347.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.006444, allocations: 173.8 kB / 347.7 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006446, allocations: 0 / 347.7 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.006449, allocations: 4 kB / 347.7 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.006453, allocations: 11.92 kB / 347.7 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.419e-05/0.006547, allocations: 148.6 kB / 347.9 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.006548, allocations: 4 kB / 347.9 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.006612, allocations: 27.92 kB / 347.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.006614, allocations: 0 / 347.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.006622, allocations: 4 kB / 347.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006624, allocations: 3.984 kB / 347.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006624, allocations: 0 / 347.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.006739, allocations: 303.2 kB / 348.2 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.006771, allocations: 31.81 kB / 348.2 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.006785, allocations: 8 kB / 348.2 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.006834, allocations: 8 kB / 348.3 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.006872, allocations: 11.92 kB / 348.3 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.006877, allocations: 0 / 348.3 MB, free: 208 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.161e-05/0.006909, allocations: 151.2 kB / 348.4 MB, free: 56 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006909, allocations: 0 / 348.4 MB, free: 56 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.007065, allocations: 31.94 kB / 348.4 MB, free: 24 kB / 266.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.00011/0.007175, allocations: 111.2 kB / 348.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.007381, allocations: 166.4 kB / 348.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.007383, allocations: 4.062 kB / 348.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.007453, allocations: 124.7 kB / 348.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.007667, allocations: 30.84 kB / 348.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.008286, allocations: 302.9 kB / 349.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.658e-05/0.008323, allocations: 67.33 kB / 349.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.081e-05/0.008374, allocations: 21.09 kB / 349.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.008411, allocations: 28.42 kB / 349.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.008412, allocations: 0 / 349.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of Templates: time 0.003647/0.01206, allocations: 2.16 MB / 351.4 MB, free: 12.98 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: 2.6090865056030452]