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.006853/0.006853, allocations: 100.3 kB / 15.73 MB, free: 5.965 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.001239/0.00124, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.428/1.428, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05495/0.05495, allocations: 11.84 MB / 281.7 MB, free: 9.312 MB / 238.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.001544/0.001544, allocations: 67.91 kB / 392.3 MB, free: 3.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2721, allocations: 49.22 MB / 441.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.00324/0.2753, allocations: 2.091 MB / 443.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.2764, allocations: 0.6146 MB / 444.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.2765, allocations: 1.312 kB / 444.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.801e-05/0.2766, allocations: 18.06 kB / 444.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.277, allocations: 85.22 kB / 444.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.2771, allocations: 20.06 kB / 444.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.2774, allocations: 156.4 kB / 444.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2775, allocations: 34.06 kB / 444.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.2777, allocations: 58.17 kB / 444.6 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.2778, allocations: 60.61 kB / 444.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.2778, allocations: 7.438 kB / 444.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.199e-05/0.2779, allocations: 23.42 kB / 444.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.2779, allocations: 18.55 kB / 444.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.409e-05/0.278, allocations: 62.09 kB / 444.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.2782, allocations: 119.3 kB / 444.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2782, allocations: 1.188 kB / 444.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2782, allocations: 0 / 444.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2783, allocations: 0 / 444.9 MB, free: 2.18 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.0005352/0.2788, allocations: 446.7 kB / 445.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2788, allocations: 13.55 kB / 445.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.2789, allocations: 14.16 kB / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.2791, allocations: 212.5 kB / 445.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2792, allocations: 8.344 kB / 445.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.2792, allocations: 12.62 kB / 445.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.2795, allocations: 104.3 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2795, allocations: 0 / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2795, allocations: 4.75 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.2795, allocations: 2.406 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.2798, allocations: 75.34 kB / 445.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007645/0.2805, allocations: 0.5732 MB / 446.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.2809, allocations: 90.09 kB / 446.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.281, allocations: 47.36 kB / 446.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.281, allocations: 1.219 kB / 446.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2811, allocations: 40.45 kB / 446.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.2811, allocations: 0 / 446.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.001454/0.2825, allocations: 408.6 kB / 446.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.2826, allocations: 82.36 kB / 447 MB, free: 492 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2827, allocations: 144 kB / 447.2 MB, free: 376 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.2827, allocations: 29.7 kB / 447.2 MB, free: 340 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.2828, allocations: 104.4 kB / 447.3 MB, free: 240 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.2828, allocations: 33.66 kB / 447.3 MB, free: 212 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.2829, allocations: 23.75 kB / 447.3 MB, free: 192 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.283, allocations: 324.1 kB / 447.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.2832, allocations: 44.91 kB / 447.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.2834, allocations: 66.39 kB / 447.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.2837, allocations: 165.7 kB / 447.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2838, allocations: 0 / 447.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004688/0.2842, allocations: 184.8 kB / 448.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.2843, allocations: 32.22 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2843, allocations: 0.6562 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2843, allocations: 0.9688 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.2845, allocations: 30.53 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2845, allocations: 2 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.2847, allocations: 10.53 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.2847, allocations: 12.84 kB / 448.2 MB, free: 15.58 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 0.0001133/0.2848, allocations: 154.1 kB / 448.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.2849, allocations: 16.78 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005485/0.2854, allocations: 209.7 kB / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2855, allocations: 2.172 kB / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2855, allocations: 4 kB / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2855, allocations: 0.75 kB / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.2858, allocations: 220.4 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2858, allocations: 0 / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.2859, allocations: 36.42 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.286, allocations: 0.6562 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.286, allocations: 9.344 kB / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.286, allocations: 1.281 kB / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.286, allocations: 1.031 kB / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.2865, allocations: 285.2 kB / 449.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.2866, allocations: 105.1 kB / 449.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.2866, allocations: 9.188 kB / 449.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.2868, allocations: 11.92 kB / 449.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.2869, allocations: 15.83 kB / 449.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.2869, allocations: 6.766 kB / 449.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.435e-05/0.287, allocations: 115.7 kB / 449.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.287, allocations: 3.938 kB / 449.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.2873, allocations: 32.59 kB / 449.4 MB, free: 14.6 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.0001578/0.2874, allocations: 110.7 kB / 449.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004681/0.2879, allocations: 181.7 kB / 449.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2879, allocations: 0 / 449.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.2881, allocations: 116 kB / 449.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.2885, allocations: 26.61 kB / 449.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/0.2891, allocations: 284 kB / 450.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.2894, allocations: 0.7042 MB / 450.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.521e-05/0.2895, allocations: 20.2 kB / 450.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.2896, allocations: 16.41 kB / 450.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2896, allocations: 3.938 kB / 450.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of Templates: time 0.005344/0.295, allocations: 2.073 MB / 452.9 MB, free: 12.3 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)