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.001337/0.001337, allocations: 113 kB / 16.41 MB, free: 6.043 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.001287/0.001287, allocations: 188.7 kB / 17.34 MB, free: 5.609 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.372/1.372, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06214/0.06214, 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.002172/0.002172, allocations: 77.67 kB / 393 MB, free: 45.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06358/0.06575, allocations: 49.22 MB / 442.2 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.002391/0.06815, allocations: 2.081 MB / 444.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009901/0.06914, allocations: 0.6359 MB / 444.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.06921, allocations: 0 / 444.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.112e-05/0.06926, allocations: 15.8 kB / 445 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.06956, allocations: 79.41 kB / 445 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.949e-05/0.06966, allocations: 27.95 kB / 445.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.06988, allocations: 151.2 kB / 445.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.06999, allocations: 29.03 kB / 445.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.07011, allocations: 55.78 kB / 445.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.07021, allocations: 63.7 kB / 445.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.07023, allocations: 8 kB / 445.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.361e-05/0.0703, allocations: 16 kB / 445.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.07032, allocations: 23.91 kB / 445.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.07039, allocations: 63.67 kB / 445.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.07058, allocations: 111.6 kB / 445.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.07059, allocations: 0 / 445.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.07059, allocations: 0 / 445.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.07059, allocations: 0 / 445.6 MB, free: 14.71 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.0006296/0.07122, allocations: 448.5 kB / 446 MB, free: 14.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.07127, allocations: 15.89 kB / 446 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.07132, allocations: 12.84 kB / 446 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.07157, allocations: 207.2 kB / 446.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.07158, allocations: 8.328 kB / 446.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.07161, allocations: 12.12 kB / 446.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.07187, allocations: 104.8 kB / 446.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.07187, allocations: 0 / 446.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.07189, allocations: 4 kB / 446.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.0719, allocations: 4 kB / 446.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.07216, allocations: 83.88 kB / 446.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007718/0.07293, allocations: 0.5785 MB / 447 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.07316, allocations: 82.53 kB / 447.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.0733, allocations: 48.83 kB / 447.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.07332, allocations: 8.125 kB / 447.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.07334, allocations: 30.56 kB / 447.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.07335, allocations: 0 / 447.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001529/0.07487, allocations: 416.5 kB / 447.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.07493, allocations: 81.11 kB / 447.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.07507, allocations: 151.4 kB / 447.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.0751, allocations: 29.7 kB / 447.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.07516, allocations: 100.1 kB / 448 MB, free: 12.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.0752, allocations: 39.66 kB / 448 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.07526, allocations: 33.66 kB / 448 MB, free: 11.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.0754, allocations: 314.8 kB / 448.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.07559, allocations: 43.95 kB / 448.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.07578, allocations: 65.67 kB / 448.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.07618, allocations: 169 kB / 448.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.07618, allocations: 0.8438 kB / 448.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004721/0.07665, allocations: 183.1 kB / 448.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.07669, allocations: 29.7 kB / 448.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.07669, allocations: 4.094 kB / 448.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.0767, allocations: 7.922 kB / 448.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.07689, allocations: 19.98 kB / 448.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.07689, allocations: 7.984 kB / 448.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.07702, allocations: 20.02 kB / 448.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.07703, allocations: 0 / 448.9 MB, free: 11.09 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.0001212/0.07715, allocations: 151.4 kB / 449 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.07719, allocations: 11.89 kB / 449 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.07773, allocations: 215.8 kB / 449.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.07773, allocations: 4 kB / 449.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.07773, allocations: 0 / 449.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.07774, allocations: 0 / 449.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.078, allocations: 221.5 kB / 449.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.078, allocations: 0 / 449.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.07816, allocations: 35.84 kB / 449.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.07817, allocations: 7.938 kB / 449.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.07818, allocations: 0 / 449.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.07818, allocations: 0 / 449.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.07818, allocations: 0 / 449.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.0787, allocations: 293.1 kB / 449.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.07879, allocations: 100.9 kB / 449.9 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.07881, allocations: 3.938 kB / 449.9 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.07897, allocations: 15.98 kB / 449.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.07902, allocations: 11.98 kB / 449.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.07904, allocations: 12 kB / 449.9 MB, free: 9.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.81e-05/0.07913, allocations: 111.2 kB / 450.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07913, allocations: 0 / 450.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.07939, allocations: 32 kB / 450.1 MB, free: 9.77 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.0001441/0.07954, allocations: 119.1 kB / 450.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004762/0.08002, allocations: 171.3 kB / 450.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.08002, allocations: 0 / 450.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.08026, allocations: 119.3 kB / 450.5 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.08057, allocations: 27.98 kB / 450.5 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.08109, allocations: 279.4 kB / 450.8 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.08143, allocations: 0.7045 MB / 451.5 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.508e-05/0.08151, allocations: 21.2 kB / 451.5 MB, free: 8.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.08156, allocations: 19.42 kB / 451.5 MB, free: 8.242 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.08156, allocations: 0 / 451.5 MB, free: 8.242 MB / 334.1 MB Notification: Performance of Templates: time 0.005378/0.08694, allocations: 2.098 MB / 453.6 MB, free: 6.176 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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1)