Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.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.001795/0.001795, allocations: 93.47 kB / 19.44 MB, free: 340 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.002024/0.002024, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.639/1.639, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.06272/0.06272, allocations: 8.697 MB / 268.3 MB, free: 4.578 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.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 340.1 MB, free: 8.422 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.553e-05, allocations: 6.141 kB / 340.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.002801/0.002826, allocations: 2.433 MB / 342.6 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.005325, allocations: 2.297 MB / 344.9 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.005426, allocations: 0 / 344.9 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.005737, allocations: 87.39 kB / 344.9 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.006061, allocations: 162.9 kB / 345.1 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007383/0.006799, allocations: 446.1 kB / 345.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.007029, allocations: 274.6 kB / 345.8 MB, free: 2.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.007131, allocations: 36.55 kB / 345.8 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.007345, allocations: 135.6 kB / 346 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.007485, allocations: 87.73 kB / 346.1 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.007516, allocations: 12 kB / 346.1 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.007797, allocations: 215.7 kB / 346.3 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.007871, allocations: 47.78 kB / 346.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.203e-05/0.007943, allocations: 67.77 kB / 346.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.008417, allocations: 402.8 kB / 346.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.00842, allocations: 0 / 346.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.008421, allocations: 0 / 346.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.008428, allocations: 7.938 kB / 346.8 MB, free: 1.715 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006795/0.009107, allocations: 0.5884 MB / 347.4 MB, free: 1.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.009138, allocations: 16.03 kB / 347.4 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.089e-05/0.009209, allocations: 36.8 kB / 347.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.009456, allocations: 211.6 kB / 347.6 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.009472, allocations: 12.36 kB / 347.7 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.009492, allocations: 16.12 kB / 347.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.00974, allocations: 129.5 kB / 347.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.009753, allocations: 0 / 347.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.00977, allocations: 8 kB / 347.8 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.009775, allocations: 4 kB / 347.8 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.01003, allocations: 115.9 kB / 347.9 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008372/0.01087, allocations: 0.5331 MB / 348.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.01113, allocations: 99.05 kB / 348.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.01127, allocations: 51.7 kB / 348.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-05/0.01135, allocations: 8 kB / 348.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.01139, allocations: 33.39 kB / 348.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.01139, allocations: 4 kB / 348.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.001285/0.01268, allocations: 329.1 kB / 349 MB, free: 15.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.01274, allocations: 51.41 kB / 349 MB, free: 15.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.01314, allocations: 340.3 kB / 349.4 MB, free: 15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.01316, allocations: 29.7 kB / 349.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.01339, allocations: 214.9 kB / 349.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.01343, allocations: 43.62 kB / 349.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.01352, allocations: 47.36 kB / 349.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003122/0.01383, allocations: 0.5196 MB / 350.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.01399, allocations: 43.97 kB / 350.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.01426, allocations: 96.8 kB / 350.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.01462, allocations: 154.3 kB / 350.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01462, allocations: 0 / 350.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004447/0.01506, allocations: 185.3 kB / 350.7 MB, free: 13.6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.01508, allocations: 8 kB / 350.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.01509, allocations: 0 / 350.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.0151, allocations: 4 kB / 350.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.01533, allocations: 36.05 kB / 350.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.01534, allocations: 7.984 kB / 350.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.01546, allocations: 8 kB / 350.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.01548, allocations: 8 kB / 350.7 MB, free: 13.53 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001665/0.01564, allocations: 180.5 kB / 350.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.0157, allocations: 23.86 kB / 350.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/0.01621, allocations: 187.2 kB / 351.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01622, allocations: 7.938 kB / 351.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.01622, allocations: 0 / 351.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01622, allocations: 0 / 351.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007931/0.01702, allocations: 0.5005 MB / 351.6 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01702, allocations: 0 / 351.6 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.01716, allocations: 35.92 kB / 351.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01716, allocations: 0 / 351.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.01717, allocations: 64 / 351.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.01718, allocations: 8 kB / 351.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01718, allocations: 0 / 351.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.01765, allocations: 315 kB / 352 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.01773, allocations: 27.89 kB / 352 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.01777, allocations: 4 kB / 352 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.0179, allocations: 4 kB / 352 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.01795, allocations: 19.86 kB / 352 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.01797, allocations: 4 kB / 352 MB, free: 12.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002571/0.01822, allocations: 237.1 kB / 352.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01822, allocations: 0 / 352.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004059/0.01863, allocations: 91.73 kB / 352.4 MB, free: 11.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.002617/0.02125, allocations: 444.3 kB / 352.8 MB, free: 11.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004147/0.02166, allocations: 127.5 kB / 352.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02166, allocations: 0 / 352.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.02183, allocations: 59.58 kB / 353 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.0223, allocations: 63.69 kB / 353 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007898/0.02309, allocations: 394.4 kB / 353.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.02324, allocations: 124.9 kB / 353.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.02336, allocations: 25.48 kB / 353.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.02343, allocations: 28.48 kB / 353.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02343, allocations: 0 / 353.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of Templates: time 0.009308/0.03274, allocations: 3.743 MB / 357.3 MB, free: 6.957 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.622725118999369]