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.000944/0.000944, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009519/0.0009519, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9632/0.9632, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.0348/0.0348, allocations: 8.714 MB / 269.7 MB, free: 4.379 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.523e-06/1.523e-06, allocations: 0 / 342.1 MB, free: 8.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.557e-05, allocations: 5.406 kB / 342.1 MB, free: 8.848 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003202/0.003228, allocations: 2.156 MB / 344.2 MB, free: 6.672 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009685/0.004196, allocations: 0.6076 MB / 344.8 MB, free: 6.062 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.674e-05/0.004293, allocations: 0 / 344.8 MB, free: 6.062 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.97e-05/0.004343, allocations: 11.86 kB / 344.8 MB, free: 6.051 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.004649, allocations: 83.34 kB / 344.9 MB, free: 5.969 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.898e-05/0.004748, allocations: 27.95 kB / 345 MB, free: 5.941 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.004968, allocations: 163.1 kB / 345.1 MB, free: 5.781 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.005079, allocations: 21.16 kB / 345.1 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.005309, allocations: 87.73 kB / 345.2 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.005421, allocations: 51.88 kB / 345.3 MB, free: 5.625 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.005443, allocations: 8 kB / 345.3 MB, free: 5.617 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.603e-05/0.005499, allocations: 12 kB / 345.3 MB, free: 5.605 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.005526, allocations: 23.86 kB / 345.3 MB, free: 5.582 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.005574, allocations: 47.84 kB / 345.4 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.005752, allocations: 87.67 kB / 345.4 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005754, allocations: 4 kB / 345.5 MB, free: 5.445 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005755, allocations: 0 / 345.5 MB, free: 5.445 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.00576, allocations: 0 / 345.5 MB, free: 5.445 MB / 314.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.0004253/0.006185, allocations: 469.8 kB / 345.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.006217, allocations: 8.031 kB / 345.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.006258, allocations: 20.89 kB / 345.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.006393, allocations: 148.3 kB / 346.1 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.006402, allocations: 8.375 kB / 346.1 MB, free: 4.738 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.006413, allocations: 8.375 kB / 346.1 MB, free: 4.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.006551, allocations: 119 kB / 346.2 MB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.006558, allocations: 3.938 kB / 346.2 MB, free: 4.598 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.00657, allocations: 4 kB / 346.2 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.006574, allocations: 0 / 346.2 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.238e-05/0.006626, allocations: 57.62 kB / 346.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.007012, allocations: 348 kB / 346.6 MB, free: 4.164 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.007121, allocations: 92.66 kB / 346.7 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.007155, allocations: 49.38 kB / 346.8 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.007168, allocations: 0 / 346.8 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.00719, allocations: 45.39 kB / 346.8 MB, free: 3.941 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.007191, allocations: 0 / 346.8 MB, free: 3.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004548/0.007646, allocations: 284.5 kB / 347.1 MB, free: 3.633 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.007676, allocations: 77.11 kB / 347.2 MB, free: 3.539 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.007754, allocations: 188.4 kB / 347.3 MB, free: 3.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.007763, allocations: 25.7 kB / 347.4 MB, free: 3.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.007812, allocations: 155 kB / 347.5 MB, free: 3.148 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.00784, allocations: 39.69 kB / 347.6 MB, free: 3.109 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.007876, allocations: 31.36 kB / 347.6 MB, free: 3.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.007984, allocations: 0.4961 MB / 348.1 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.008019, allocations: 33.69 kB / 348.1 MB, free: 2.523 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/0.008058, allocations: 61.05 kB / 348.2 MB, free: 2.449 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.819e-05/0.008126, allocations: 98.72 kB / 348.3 MB, free: 2.332 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.008128, allocations: 0 / 348.3 MB, free: 2.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001177/0.008245, allocations: 133.8 kB / 348.4 MB, free: 2.184 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.008271, allocations: 37.69 kB / 348.4 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.008275, allocations: 0 / 348.4 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.008282, allocations: 4.031 kB / 348.4 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.008359, allocations: 19.98 kB / 348.5 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.008362, allocations: 0 / 348.5 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.54e-05/0.008397, allocations: 11.94 kB / 348.5 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.008407, allocations: 11.92 kB / 348.5 MB, free: 2.094 MB / 314.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.567e-05/0.008483, allocations: 182.3 kB / 348.7 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.008508, allocations: 19.89 kB / 348.7 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.00866, allocations: 165.8 kB / 348.8 MB, free: 1.695 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008662, allocations: 0 / 348.8 MB, free: 1.695 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.008665, allocations: 8 kB / 348.9 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.008668, allocations: 0 / 348.9 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.008783, allocations: 137.1 kB / 349 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008785, allocations: 0 / 349 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.008846, allocations: 27.92 kB / 349 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.008847, allocations: 0 / 349 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.008856, allocations: 4 kB / 349 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008857, allocations: 0 / 349 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008858, allocations: 0 / 349 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.009026, allocations: 303 kB / 349.3 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.009062, allocations: 27.86 kB / 349.3 MB, free: 1.145 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.009076, allocations: 8 kB / 349.3 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.845e-05/0.009124, allocations: 4 kB / 349.4 MB, free: 1.133 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.009158, allocations: 11.98 kB / 349.4 MB, free: 1.121 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.009164, allocations: 3.938 kB / 349.4 MB, free: 1.117 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.059e-05/0.009214, allocations: 143.7 kB / 349.5 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009214, allocations: 4 kB / 349.5 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001617/0.009376, allocations: 28 kB / 349.5 MB, free: 0.9453 MB / 314.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.0001054/0.009482, allocations: 103.2 kB / 349.6 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.009618, allocations: 166.4 kB / 349.8 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009619, allocations: 0 / 349.8 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.013e-05/0.00969, allocations: 124.8 kB / 349.9 MB, free: 0.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.009887, allocations: 34.61 kB / 350 MB, free: 480 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.01044, allocations: 303.9 kB / 350.3 MB, free: 144 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.517e-05/0.01048, allocations: 63.34 kB / 350.3 MB, free: 60 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.053e-05/0.01053, allocations: 25.08 kB / 350.3 MB, free: 28 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.01063, allocations: 106.2 kB / 350.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01063, allocations: 0 / 350.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of Templates: time 0.003467/0.0141, allocations: 2.248 MB / 352.7 MB, free: 13.73 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6609789822250605]