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.00153/0.00153, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001421/0.001421, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05202/0.05202, allocations: 11.84 MB / 282.4 MB, free: 220 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.001511/0.001512, allocations: 81.19 kB / 393 MB, free: 45.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08289/0.08441, allocations: 49.23 MB / 442.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.00264/0.08709, allocations: 2.079 MB / 444.3 MB, free: 96 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009779/0.08809, allocations: 0.6203 MB / 444.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-05/0.0882, allocations: 0 / 444.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.387e-05/0.08828, allocations: 23.78 kB / 445 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.0886, allocations: 75.47 kB / 445 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.08872, allocations: 31.89 kB / 445.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.08894, allocations: 151.2 kB / 445.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.08909, allocations: 37.03 kB / 445.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.08922, allocations: 59.72 kB / 445.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.08934, allocations: 59.75 kB / 445.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.08937, allocations: 8 kB / 445.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.08944, allocations: 16 kB / 445.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.08947, allocations: 19.92 kB / 445.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/0.08954, allocations: 59.67 kB / 445.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.08973, allocations: 119.6 kB / 445.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.08974, allocations: 0 / 445.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.08975, allocations: 0 / 445.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.08976, allocations: 0 / 445.6 MB, free: 14.82 MB / 334.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.0005561/0.09032, allocations: 440.8 kB / 446 MB, free: 14.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.09037, allocations: 15.89 kB / 446 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.09042, allocations: 12.75 kB / 446 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.09065, allocations: 204.1 kB / 446.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.09067, allocations: 12.38 kB / 446.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.0907, allocations: 12.12 kB / 446.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.09096, allocations: 116.8 kB / 446.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.09098, allocations: 0 / 446.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.091, allocations: 0 / 446.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.09101, allocations: 7.938 kB / 446.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.09125, allocations: 79.94 kB / 446.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006995/0.09196, allocations: 0.5745 MB / 447 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.09217, allocations: 86.53 kB / 447.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.0923, allocations: 44.83 kB / 447.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.09233, allocations: 8.172 kB / 447.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.09236, allocations: 38.5 kB / 447.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.09237, allocations: 0 / 447.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001405/0.09378, allocations: 408.2 kB / 447.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.09383, allocations: 81.09 kB / 447.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.09396, allocations: 151.4 kB / 447.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.09398, allocations: 29.7 kB / 447.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.09404, allocations: 100.1 kB / 448 MB, free: 12.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.09408, allocations: 35.45 kB / 448 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.09413, allocations: 25.66 kB / 448 MB, free: 12.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.09425, allocations: 322.8 kB / 448.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.09442, allocations: 43.95 kB / 448.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.0946, allocations: 65.67 kB / 448.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.09495, allocations: 169 kB / 448.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.09496, allocations: 0 / 448.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004048/0.09537, allocations: 183.9 kB / 448.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.09541, allocations: 31.89 kB / 448.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.09542, allocations: 0 / 448.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.09544, allocations: 4 kB / 448.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.09562, allocations: 23.97 kB / 448.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.515e-06/0.09564, allocations: 4.094 kB / 448.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.09576, allocations: 15.92 kB / 448.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.09578, allocations: 7.984 kB / 448.9 MB, free: 11.2 MB / 334.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 9.825e-05/0.09588, allocations: 159.4 kB / 449 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.09592, allocations: 11.84 kB / 449 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/0.09641, allocations: 211.9 kB / 449.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.09643, allocations: 0 / 449.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.09643, allocations: 0 / 449.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.09644, allocations: 4 kB / 449.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.09666, allocations: 221.6 kB / 449.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.09667, allocations: 0 / 449.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.09683, allocations: 35.84 kB / 449.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.09684, allocations: 3.938 kB / 449.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.09685, allocations: 4 kB / 449.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.09686, allocations: 0 / 449.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.09687, allocations: 4 kB / 449.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.09734, allocations: 285.1 kB / 449.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.09742, allocations: 104.8 kB / 449.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.09745, allocations: 3.984 kB / 449.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.0976, allocations: 15.98 kB / 449.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.09766, allocations: 7.984 kB / 449.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.09767, allocations: 11.94 kB / 449.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.035e-05/0.09775, allocations: 111.3 kB / 450 MB, free: 9.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09776, allocations: 0 / 450 MB, free: 9.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.09803, allocations: 35.98 kB / 450.1 MB, free: 9.875 MB / 334.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 0.00014/0.09818, allocations: 107.2 kB / 450.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004494/0.09864, allocations: 179.3 kB / 450.4 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.09865, allocations: 0 / 450.4 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.09887, allocations: 130.9 kB / 450.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.09919, allocations: 23.92 kB / 450.5 MB, free: 9.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.09973, allocations: 309.3 kB / 450.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.09998, allocations: 0.7045 MB / 451.5 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.1, allocations: 19.42 kB / 451.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1, allocations: 0 / 451.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of Templates: time 0.003307/0.1034, allocations: 1.889 MB / 453.4 MB, free: 6.453 MB / 334.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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1)