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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 107.4 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 189.9 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 207.6 MB / 231.9 MB, free: 3.199 MB / 174.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05828/0.05828, allocations: 12.01 MB / 296 MB, free: 3.305 MB / 238.1 MB [Timeout remaining time 90] 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.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") [Timeout 660] 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.002277/0.002277, allocations: 70.62 kB / 414.7 MB, free: 9.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3438, allocations: 51.89 MB / 466.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.004502/0.3483, allocations: 2.421 MB / 469.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.3518, allocations: 2.144 MB / 471.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.352, allocations: 2.25 kB / 471.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.3524, allocations: 81.67 kB / 471.3 MB, free: 11.79 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.3529, allocations: 123.4 kB / 471.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.354, allocations: 413.7 kB / 471.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.3545, allocations: 254.7 kB / 472.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3546, allocations: 32.44 kB / 472.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.3548, allocations: 98.97 kB / 472.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.355, allocations: 112.6 kB / 472.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.3551, allocations: 11.09 kB / 472.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.3555, allocations: 195.4 kB / 472.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3556, allocations: 51.73 kB / 472.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.3558, allocations: 97.69 kB / 472.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006951/0.3565, allocations: 361.3 kB / 473 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3565, allocations: 0 / 473 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3565, allocations: 3.938 kB / 473 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.3565, allocations: 1.062 kB / 473 MB, free: 10.7 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001024/0.3575, allocations: 0.558 MB / 473.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3576, allocations: 13.39 kB / 473.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.654e-05/0.3576, allocations: 24.14 kB / 473.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.3581, allocations: 264.3 kB / 473.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.3582, allocations: 12.59 kB / 473.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.3582, allocations: 13.03 kB / 473.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.3586, allocations: 157.3 kB / 474 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3586, allocations: 5.094 kB / 474 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.3586, allocations: 5.188 kB / 474 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3586, allocations: 2.438 kB / 474 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.359, allocations: 145.1 kB / 474.2 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3603, allocations: 0.8039 MB / 475 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.3606, allocations: 99.44 kB / 475.1 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.3607, allocations: 49.28 kB / 475.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.3609, allocations: 85.48 kB / 475.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.3609, allocations: 40.7 kB / 475.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.3609, allocations: 0 / 475.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001592/0.3625, allocations: 401.7 kB / 475.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.3625, allocations: 55.41 kB / 475.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.3629, allocations: 286.6 kB / 476 MB, free: 8.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.3629, allocations: 29.7 kB / 476 MB, free: 8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.363, allocations: 147.9 kB / 476.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.3631, allocations: 47.61 kB / 476.2 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-05/0.3632, allocations: 41.66 kB / 476.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3633, allocations: 330.8 kB / 476.6 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.3635, allocations: 59.94 kB / 476.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.3638, allocations: 97.52 kB / 476.7 MB, free: 7.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.3642, allocations: 160.1 kB / 476.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.3642, allocations: 0 / 476.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005209/0.3647, allocations: 213.3 kB / 477.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3647, allocations: 4 kB / 477.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3647, allocations: 128 / 477.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3648, allocations: 8 kB / 477.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.365, allocations: 35.97 kB / 477.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.365, allocations: 7.938 kB / 477.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.3652, allocations: 23.91 kB / 477.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.3652, allocations: 4 kB / 477.2 MB, free: 6.789 MB / 334.1 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.0001511/0.3653, allocations: 133.8 kB / 477.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.3654, allocations: 23.86 kB / 477.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.366, allocations: 203.7 kB / 477.5 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.366, allocations: 4 kB / 477.5 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.366, allocations: 0 / 477.5 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.366, allocations: 7.922 kB / 477.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.3663, allocations: 257.5 kB / 477.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3663, allocations: 4 kB / 477.8 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.3665, allocations: 35.91 kB / 477.8 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3665, allocations: 0 / 477.8 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3665, allocations: 8 kB / 477.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3665, allocations: 0 / 477.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3665, allocations: 4 kB / 477.8 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.3671, allocations: 287.1 kB / 478.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.3672, allocations: 105 kB / 478.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.3672, allocations: 7.984 kB / 478.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3674, allocations: 11.98 kB / 478.2 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.3674, allocations: 11.97 kB / 478.2 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3674, allocations: 11.94 kB / 478.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.3677, allocations: 206 kB / 478.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3677, allocations: 0 / 478.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004225/0.3681, allocations: 83.8 kB / 478.5 MB, free: 5.316 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 (12): * Single equations (assignments): 12 * 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.001502/0.3696, allocations: 417.4 kB / 478.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005183/0.3701, allocations: 135.8 kB / 479.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3701, allocations: 0 / 479.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.3703, allocations: 80.12 kB / 479.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.3708, allocations: 59.72 kB / 479.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/0.3717, allocations: 432.8 kB / 479.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.3722, allocations: 0.7398 MB / 480.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.3723, allocations: 23.44 kB / 480.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3723, allocations: 0 / 480.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of Templates: time 0.007538/0.3798, allocations: 3.637 MB / 484 MB, free: 15.82 MB / 350.1 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=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1) [Timeout 480]