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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 106.8 kB / 16.29 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 185.6 kB / 17.22 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05876/0.05876, allocations: 11.85 MB / 282.3 MB, free: 304 kB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 71.91 kB / 342.6 MB, free: 3.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1963, allocations: 49.21 MB / 391.8 MB, free: 49.08 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003/0.1993, allocations: 2.087 MB / 393.8 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008519/0.2002, allocations: 0.6154 MB / 394.5 MB, free: 47.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.2003, allocations: 1.594 kB / 394.5 MB, free: 47.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.611e-05/0.2004, allocations: 17.3 kB / 394.5 MB, free: 47.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.2006, allocations: 83.98 kB / 394.6 MB, free: 47.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.569e-05/0.2007, allocations: 24.83 kB / 394.6 MB, free: 47.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.2009, allocations: 151.2 kB / 394.7 MB, free: 47.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.201, allocations: 30.81 kB / 394.8 MB, free: 47.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2011, allocations: 60.14 kB / 394.8 MB, free: 46.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.845e-05/0.2013, allocations: 58.39 kB / 394.9 MB, free: 46.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.2013, allocations: 8.281 kB / 394.9 MB, free: 46.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.73e-05/0.2014, allocations: 19.05 kB / 394.9 MB, free: 46.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.2014, allocations: 26.08 kB / 394.9 MB, free: 46.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.2015, allocations: 58.81 kB / 395 MB, free: 46.9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.2016, allocations: 115.6 kB / 395.1 MB, free: 46.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2016, allocations: 0 / 395.1 MB, free: 46.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2016, allocations: 0.6562 kB / 395.1 MB, free: 46.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.2017, allocations: 0 / 395.1 MB, free: 46.85 MB / 318.1 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.0004685/0.2021, allocations: 446.1 kB / 395.5 MB, free: 46.42 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.2022, allocations: 13.64 kB / 395.6 MB, free: 46.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.2022, allocations: 14.78 kB / 395.6 MB, free: 46.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.2024, allocations: 204.1 kB / 395.8 MB, free: 46.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.2024, allocations: 8.438 kB / 395.8 MB, free: 46.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2024, allocations: 9.438 kB / 395.8 MB, free: 46.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.2026, allocations: 103.3 kB / 395.9 MB, free: 46.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2027, allocations: 0 / 395.9 MB, free: 46.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2027, allocations: 0.7188 kB / 395.9 MB, free: 46.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2027, allocations: 2.062 kB / 395.9 MB, free: 46.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.2029, allocations: 88.75 kB / 396 MB, free: 46.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.2035, allocations: 0.5735 MB / 396.5 MB, free: 45.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.2037, allocations: 93.09 kB / 396.6 MB, free: 45.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.2039, allocations: 50.84 kB / 396.7 MB, free: 45.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2039, allocations: 1.125 kB / 396.7 MB, free: 45.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.2039, allocations: 32.84 kB / 396.7 MB, free: 45.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.2039, allocations: 0 / 396.7 MB, free: 45.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.001325/0.2052, allocations: 411.8 kB / 397.1 MB, free: 45.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.2053, allocations: 78.78 kB / 397.2 MB, free: 45.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/0.2054, allocations: 155.7 kB / 397.4 MB, free: 45.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.2054, allocations: 26.89 kB / 397.4 MB, free: 45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.2054, allocations: 101.5 kB / 397.5 MB, free: 44.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.2055, allocations: 31 kB / 397.5 MB, free: 44.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.2055, allocations: 28.44 kB / 397.5 MB, free: 44.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.2056, allocations: 319.2 kB / 397.8 MB, free: 44.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.2057, allocations: 46.34 kB / 397.9 MB, free: 44.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.2059, allocations: 65.16 kB / 398 MB, free: 44.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.2063, allocations: 166.2 kB / 398.1 MB, free: 44.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2063, allocations: 7.938 kB / 398.1 MB, free: 44.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004017/0.2067, allocations: 179.9 kB / 398.3 MB, free: 44.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.2067, allocations: 34.61 kB / 398.3 MB, free: 44.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2067, allocations: 1.266 kB / 398.3 MB, free: 44.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2067, allocations: 2.188 kB / 398.3 MB, free: 44.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.2069, allocations: 33.52 kB / 398.4 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.2069, allocations: 6.344 kB / 398.4 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2071, allocations: 15.41 kB / 398.4 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.2071, allocations: 4.281 kB / 398.4 MB, free: 44.25 MB / 318.1 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 6.927e-05/0.2072, allocations: 142.3 kB / 398.5 MB, free: 44.1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.2072, allocations: 27.44 kB / 398.6 MB, free: 44.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.2077, allocations: 206.9 kB / 398.8 MB, free: 43.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.2077, allocations: 1.438 kB / 398.8 MB, free: 43.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2077, allocations: 0.7031 kB / 398.8 MB, free: 43.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2077, allocations: 6.109 kB / 398.8 MB, free: 43.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.2079, allocations: 219 kB / 399 MB, free: 43.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2079, allocations: 0 / 399 MB, free: 43.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.2081, allocations: 31.73 kB / 399 MB, free: 43.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2081, allocations: 1.156 kB / 399 MB, free: 43.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2081, allocations: 1.938 kB / 399 MB, free: 43.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2081, allocations: 5.094 kB / 399 MB, free: 43.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2081, allocations: 0 / 399 MB, free: 43.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.2086, allocations: 288.3 kB / 399.3 MB, free: 43.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.2086, allocations: 99.66 kB / 399.4 MB, free: 43.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.2087, allocations: 5.062 kB / 399.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.2088, allocations: 20.8 kB / 399.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.2089, allocations: 6.891 kB / 399.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2089, allocations: 11.97 kB / 399.4 MB, free: 43.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.29e-05/0.2089, allocations: 112.2 kB / 399.6 MB, free: 43.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2089, allocations: 0 / 399.6 MB, free: 43.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.2092, allocations: 39.86 kB / 399.6 MB, free: 43.32 MB / 318.1 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.992e-05/0.2093, allocations: 113 kB / 399.7 MB, free: 43.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004221/0.2098, allocations: 176.2 kB / 399.9 MB, free: 43.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2098, allocations: 0 / 399.9 MB, free: 43.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.21, allocations: 130.5 kB / 400 MB, free: 43.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2104, allocations: 31.14 kB / 400 MB, free: 43.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.2108, allocations: 280.9 kB / 400.3 MB, free: 42.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.2109, allocations: 0.7133 MB / 401 MB, free: 42.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.045e-05/0.211, allocations: 15.44 kB / 401 MB, free: 42.13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.2111, allocations: 20.23 kB / 401.1 MB, free: 42.12 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2111, allocations: 0 / 401.1 MB, free: 42.12 MB / 318.1 MB Notification: Performance of Templates: time 0.004584/0.2157, allocations: 2.06 MB / 403.1 MB, free: 41.23 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile (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=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1)