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.0008047/0.0008047, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001198/0.001198, allocations: 181 kB / 23.36 MB, free: 1.133 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.9137/0.9137, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.03447/0.03447, allocations: 8.727 MB / 269 MB, free: 4.406 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.092e-06/1.092e-06, allocations: 0 / 288 MB, free: 1.355 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.232e-05, allocations: 2.312 kB / 288 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.09722/0.09724, allocations: 2.151 MB / 290.2 MB, free: 18.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007281/0.09796, allocations: 0.6094 MB / 290.8 MB, free: 18.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.09804, allocations: 2.719 kB / 290.8 MB, free: 18.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.09808, allocations: 13.38 kB / 290.8 MB, free: 18.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.09835, allocations: 81.61 kB / 290.9 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.509e-05/0.09843, allocations: 27.59 kB / 290.9 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.09859, allocations: 155 kB / 291.1 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.09867, allocations: 25.89 kB / 291.1 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.09884, allocations: 90.8 kB / 291.2 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.09892, allocations: 43.02 kB / 291.2 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.09893, allocations: 13.31 kB / 291.2 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.453e-05/0.09898, allocations: 13.91 kB / 291.3 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.099, allocations: 24.88 kB / 291.3 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.09903, allocations: 36.75 kB / 291.3 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.09917, allocations: 92.88 kB / 291.4 MB, free: 18.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.09917, allocations: 2.469 kB / 291.4 MB, free: 18.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.09917, allocations: 3.938 kB / 291.4 MB, free: 18.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.09917, allocations: 1.812 kB / 291.4 MB, free: 18.17 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.000298/0.09947, allocations: 342.5 kB / 291.7 MB, free: 17.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.0995, allocations: 10.56 kB / 291.8 MB, free: 17.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.09953, allocations: 16.73 kB / 291.8 MB, free: 17.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.09965, allocations: 136 kB / 291.9 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.09966, allocations: 6.812 kB / 291.9 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.09967, allocations: 9.438 kB / 291.9 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.09979, allocations: 119.1 kB / 292 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.0998, allocations: 4.938 kB / 292 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.09981, allocations: 4.812 kB / 292 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.09981, allocations: 2.25 kB / 292 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.151e-05/0.09985, allocations: 48.36 kB / 292.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.1001, allocations: 247.5 kB / 292.3 MB, free: 17.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.923e-05/0.1002, allocations: 80.31 kB / 292.4 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/0.1003, allocations: 44.28 kB / 292.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.1003, allocations: 2.125 kB / 292.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.1003, allocations: 35.59 kB / 292.5 MB, free: 17.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1003, allocations: 0 / 292.5 MB, free: 17.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002687/0.1005, allocations: 234.2 kB / 292.7 MB, free: 17.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.832e-05/0.1006, allocations: 83.98 kB / 292.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.043e-05/0.1006, allocations: 141.3 kB / 292.9 MB, free: 16.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-06/0.1006, allocations: 25.7 kB / 293 MB, free: 16.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.782e-05/0.1006, allocations: 94.39 kB / 293.1 MB, free: 16.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.1007, allocations: 36.31 kB / 293.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.1007, allocations: 24.33 kB / 293.1 MB, free: 16.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.159e-05/0.1007, allocations: 324.5 kB / 293.4 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.1007, allocations: 33.3 kB / 293.5 MB, free: 16.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.1008, allocations: 38.89 kB / 293.5 MB, free: 16.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.676e-05/0.1008, allocations: 93.98 kB / 293.6 MB, free: 16.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1008, allocations: 0 / 293.6 MB, free: 16.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.374e-05/0.1009, allocations: 116 kB / 293.7 MB, free: 16.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1009, allocations: 31.45 kB / 293.7 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1009, allocations: 4.547 kB / 293.7 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1009, allocations: 1.25 kB / 293.8 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.101, allocations: 19.72 kB / 293.8 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.101, allocations: 2.125 kB / 293.8 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.101, allocations: 9.016 kB / 293.8 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.101, allocations: 5.656 kB / 293.8 MB, free: 16.17 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 8 * 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 4.027e-05/0.101, allocations: 140.5 kB / 293.9 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.1011, allocations: 12.97 kB / 293.9 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.1012, allocations: 143.8 kB / 294.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1012, allocations: 1.734 kB / 294.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.1012, allocations: 0.9062 kB / 294.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1012, allocations: 0.6562 kB / 294.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.576e-05/0.1013, allocations: 106.8 kB / 294.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1013, allocations: 1.219 kB / 294.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.781e-05/0.1013, allocations: 23.36 kB / 294.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1013, allocations: 2.469 kB / 294.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1013, allocations: 4.688 kB / 294.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1013, allocations: 4.688 kB / 294.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1013, allocations: 0.7812 kB / 294.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.555e-05/0.1014, allocations: 231.2 kB / 294.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.1015, allocations: 16.31 kB / 294.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1015, allocations: 2.281 kB / 294.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.156e-05/0.1015, allocations: 8.297 kB / 294.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.1015, allocations: 8.078 kB / 294.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1015, allocations: 10.09 kB / 294.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.334e-05/0.1016, allocations: 28.36 kB / 294.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1016, allocations: 1.281 kB / 294.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000147/0.1017, allocations: 37.66 kB / 294.6 MB, free: 15.6 MB / 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 (12): * Single equations (assignments): 11 * 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 8.325e-05/0.1018, allocations: 82.39 kB / 294.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.286e-05/0.1019, allocations: 154.9 kB / 294.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1019, allocations: 1.188 kB / 294.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.1019, allocations: 111.5 kB / 294.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.1021, allocations: 29.64 kB / 294.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.1026, allocations: 314.2 kB / 295.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.676e-05/0.1026, allocations: 69.66 kB / 295.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.1027, allocations: 15.53 kB / 295.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.1028, allocations: 81.53 kB / 295.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1028, allocations: 0 / 295.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of Templates: time 0.003665/0.1064, allocations: 2.035 MB / 297.4 MB, free: 14.74 MB / 266.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.421639522071928]