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.0009106/0.0009106, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001019/0.001019, allocations: 169 kB / 23.28 MB, free: 1.223 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.951/0.951, allocations: 177.1 MB / 203.7 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.0342/0.0342, allocations: 8.718 MB / 269 MB, free: 4.375 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.463e-06/1.463e-06, allocations: 0 / 341.3 MB, free: 8.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.784e-05, allocations: 6.312 kB / 341.3 MB, free: 8.855 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.002605/0.002623, allocations: 2.156 MB / 343.4 MB, free: 6.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007467/0.00337, allocations: 0.6037 MB / 344 MB, free: 6.074 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.003449, allocations: 4 kB / 344 MB, free: 6.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.752e-05/0.003497, allocations: 19.84 kB / 344.1 MB, free: 6.051 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.003775, allocations: 79.34 kB / 344.1 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.335e-05/0.003868, allocations: 19.97 kB / 344.2 MB, free: 5.953 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.004049, allocations: 155.1 kB / 344.3 MB, free: 5.801 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.459e-05/0.004143, allocations: 29.14 kB / 344.3 MB, free: 5.773 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.004318, allocations: 99.66 kB / 344.4 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.004397, allocations: 43.84 kB / 344.5 MB, free: 5.633 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.004415, allocations: 8 kB / 344.5 MB, free: 5.625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.955e-05/0.004464, allocations: 20 kB / 344.5 MB, free: 5.605 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.004484, allocations: 19.91 kB / 344.5 MB, free: 5.586 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.004517, allocations: 39.92 kB / 344.6 MB, free: 5.547 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.004664, allocations: 91.61 kB / 344.7 MB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004665, allocations: 0 / 344.7 MB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.004667, allocations: 4 kB / 344.7 MB, free: 5.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.00467, allocations: 0 / 344.7 MB, free: 5.453 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.0003786/0.005049, allocations: 465.8 kB / 345.1 MB, free: 4.957 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.005083, allocations: 16.03 kB / 345.1 MB, free: 4.941 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.005116, allocations: 12.89 kB / 345.1 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.005269, allocations: 156.4 kB / 345.3 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.005278, allocations: 8.375 kB / 345.3 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.005289, allocations: 4.375 kB / 345.3 MB, free: 4.738 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.005425, allocations: 123.2 kB / 345.4 MB, free: 4.605 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.005434, allocations: 3.938 kB / 345.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.005442, allocations: 4 kB / 345.4 MB, free: 4.598 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.005447, allocations: 4 kB / 345.4 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.718e-05/0.005494, allocations: 53.62 kB / 345.5 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.005843, allocations: 348 kB / 345.8 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.252e-05/0.005935, allocations: 100.7 kB / 345.9 MB, free: 4.051 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.005966, allocations: 41.39 kB / 346 MB, free: 4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.00598, allocations: 4 kB / 346 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.006002, allocations: 37.38 kB / 346 MB, free: 3.949 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.006003, allocations: 0 / 346 MB, free: 3.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004455/0.006449, allocations: 284.5 kB / 346.3 MB, free: 3.641 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.00648, allocations: 81.11 kB / 346.4 MB, free: 3.543 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.006563, allocations: 188.1 kB / 346.6 MB, free: 3.344 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.006574, allocations: 29.7 kB / 346.6 MB, free: 3.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.006623, allocations: 155 kB / 346.7 MB, free: 3.148 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.006648, allocations: 31.69 kB / 346.8 MB, free: 3.117 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.006681, allocations: 31.36 kB / 346.8 MB, free: 3.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.006783, allocations: 0.4922 MB / 347.3 MB, free: 2.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.006812, allocations: 41.69 kB / 347.3 MB, free: 2.527 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.595e-05/0.006848, allocations: 60.94 kB / 347.4 MB, free: 2.453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.312e-05/0.006911, allocations: 106.8 kB / 347.5 MB, free: 2.328 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.006912, allocations: 0 / 347.5 MB, free: 2.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001052/0.007017, allocations: 133.8 kB / 347.6 MB, free: 2.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.007039, allocations: 33.7 kB / 347.7 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.007043, allocations: 0 / 347.7 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.007051, allocations: 4 kB / 347.7 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.007131, allocations: 23.92 kB / 347.7 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.007134, allocations: 0 / 347.7 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.007169, allocations: 7.984 kB / 347.7 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.007177, allocations: 11.97 kB / 347.7 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.359e-05/0.00725, allocations: 182.3 kB / 347.9 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.00727, allocations: 11.95 kB / 347.9 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.007419, allocations: 177.7 kB / 348.1 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.007421, allocations: 0 / 348.1 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.007422, allocations: 4 kB / 348.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007425, allocations: 0 / 348.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.007544, allocations: 133.1 kB / 348.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.007544, allocations: 0 / 348.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.007605, allocations: 27.98 kB / 348.2 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007606, allocations: 0 / 348.2 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.007613, allocations: 4 kB / 348.2 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007616, allocations: 4 kB / 348.2 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.007617, allocations: 0 / 348.2 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.007773, allocations: 303.1 kB / 348.5 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.007807, allocations: 23.88 kB / 348.6 MB, free: 1.145 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.007818, allocations: 0 / 348.6 MB, free: 1.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.942e-05/0.007867, allocations: 11.98 kB / 348.6 MB, free: 1.133 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.007898, allocations: 7.984 kB / 348.6 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.007904, allocations: 8 kB / 348.6 MB, free: 1.117 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.606e-05/0.00795, allocations: 143.2 kB / 348.7 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.00795, allocations: 0 / 348.7 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000165/0.008115, allocations: 32 kB / 348.8 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 9.578e-05/0.008211, allocations: 103.2 kB / 348.9 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004635/0.008674, allocations: 166.3 kB / 349 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.008675, allocations: 0 / 349 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.903e-05/0.008734, allocations: 124.3 kB / 349.1 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.008942, allocations: 39.02 kB / 349.2 MB, free: 480 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.009536, allocations: 303.9 kB / 349.5 MB, free: 144 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.474e-05/0.009571, allocations: 63.34 kB / 349.5 MB, free: 60 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.00962, allocations: 21.08 kB / 349.6 MB, free: 32 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.009725, allocations: 106.2 kB / 349.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.009726, allocations: 0 / 349.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of Templates: time 0.003788/0.01351, allocations: 2.222 MB / 351.9 MB, free: 13.77 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.529144860804081]