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.00117/0.00117, allocations: 92.22 kB / 19.65 MB, free: 276 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.001679/0.001679, allocations: 169 kB / 23.02 MB, free: 1.551 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.9871/0.9871, 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.03401/0.03401, allocations: 8.715 MB / 268.7 MB, free: 4.531 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.743e-06/1.743e-06, allocations: 0 / 340.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.926e-05, allocations: 5.812 kB / 340.9 MB, free: 8.059 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.002262/0.002292, allocations: 2.159 MB / 343 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007435/0.003035, allocations: 0.5999 MB / 343.6 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.00312, allocations: 0 / 343.6 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.452e-05/0.003175, allocations: 15.86 kB / 343.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.003488, allocations: 83.34 kB / 343.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.003595, allocations: 27.95 kB / 343.7 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.003784, allocations: 159.1 kB / 343.9 MB, free: 5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.003898, allocations: 17.3 kB / 343.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.004074, allocations: 87.73 kB / 344 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.166e-05/0.004166, allocations: 47.84 kB / 344 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.004187, allocations: 8 kB / 344.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.104e-05/0.004248, allocations: 27.91 kB / 344.1 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.004267, allocations: 19.92 kB / 344.1 MB, free: 4.797 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.004311, allocations: 39.92 kB / 344.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.004474, allocations: 95.61 kB / 344.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004476, allocations: 0 / 344.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004477, allocations: 0 / 344.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004481, 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.0003839/0.004865, allocations: 469.8 kB / 344.7 MB, free: 4.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.004901, allocations: 8.031 kB / 344.7 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.00495, allocations: 16.89 kB / 344.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.0051, allocations: 148.4 kB / 344.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.005113, allocations: 16.36 kB / 344.9 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.005129, allocations: 4.375 kB / 344.9 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.00528, allocations: 120.6 kB / 345 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.005291, allocations: 3.938 kB / 345 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.005307, allocations: 4 kB / 345 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.005317, allocations: 4 kB / 345 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.43e-05/0.005381, allocations: 58.36 kB / 345.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.005793, allocations: 375.4 kB / 345.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.005911, allocations: 100.7 kB / 345.5 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.005954, allocations: 53.38 kB / 345.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.005975, allocations: 4 kB / 345.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.005994, allocations: 33.39 kB / 345.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.005995, allocations: 0 / 345.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005463/0.006542, allocations: 300.4 kB / 345.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.006561, allocations: 85.11 kB / 346 MB, free: 2.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.591e-05/0.006627, allocations: 196.5 kB / 346.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.006634, allocations: 25.7 kB / 346.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.006664, allocations: 151 kB / 346.4 MB, free: 2.293 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.006688, allocations: 35.69 kB / 346.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.006721, allocations: 35.36 kB / 346.4 MB, free: 2.215 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.006762, allocations: 496.1 kB / 346.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.006793, allocations: 41.69 kB / 347 MB, free: 1.672 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.006831, allocations: 61 kB / 347 MB, free: 1.598 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.575e-05/0.006897, allocations: 110.7 kB / 347.1 MB, free: 1.469 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.006898, allocations: 0 / 347.1 MB, free: 1.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001022/0.007, allocations: 141.8 kB / 347.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.007018, allocations: 37.7 kB / 347.3 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.007023, allocations: 0 / 347.3 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.007038, allocations: 0 / 347.3 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.007132, allocations: 23.98 kB / 347.3 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007136, allocations: 3.938 kB / 347.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.633e-05/0.007172, allocations: 11.92 kB / 347.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.007179, allocations: 4 kB / 347.3 MB, free: 1.227 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.585e-05/0.007235, allocations: 186.3 kB / 347.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.007259, allocations: 23.97 kB / 347.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.007422, allocations: 172.7 kB / 347.7 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.007424, allocations: 4 kB / 347.7 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.007428, allocations: 0 / 347.7 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.007432, allocations: 3.938 kB / 347.7 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.007532, allocations: 152.6 kB / 347.9 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.007534, allocations: 3.984 kB / 347.9 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.007594, allocations: 27.92 kB / 347.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.007596, allocations: 0 / 347.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.007606, allocations: 8 kB / 347.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007607, allocations: 4 kB / 347.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.007607, allocations: 0 / 347.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.007728, allocations: 299.2 kB / 348.2 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.00776, allocations: 27.83 kB / 348.2 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.007773, allocations: 0 / 348.2 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.007822, allocations: 8 kB / 348.2 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.007868, allocations: 15.91 kB / 348.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.007875, allocations: 7.984 kB / 348.3 MB, free: 208 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.666e-05/0.007912, allocations: 150.1 kB / 348.4 MB, free: 60 kB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007912, allocations: 0 / 348.4 MB, free: 60 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000167/0.008079, allocations: 31.94 kB / 348.4 MB, free: 28 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.0001271/0.008206, allocations: 107.2 kB / 348.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.008377, allocations: 174.3 kB / 348.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.008378, allocations: 0 / 348.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.00845, 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.0002151/0.008665, allocations: 35.91 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.0006552/0.00932, allocations: 307.9 kB / 349.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.108e-05/0.009361, allocations: 67.34 kB / 349.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.871e-05/0.00941, allocations: 17.09 kB / 349.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.00945, allocations: 20.5 kB / 349.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009451, allocations: 0 / 349.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of Templates: time 0.003497/0.01295, allocations: 2.006 MB / 351.3 MB, free: 13.12 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.854001716710627]