Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 103.8 kB / 16.35 MB, free: 5.879 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.001869/0.001869, allocations: 197.6 kB / 17.3 MB, free: 5.52 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.449/1.449, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05323/0.05323, allocations: 11.84 MB / 282.4 MB, free: 228 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.001603/0.001603, allocations: 75.81 kB / 343.3 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2366, allocations: 49.21 MB / 392.5 MB, free: 49.58 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002856/0.2395, allocations: 1.931 MB / 394.4 MB, free: 48.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.2418, allocations: 1.861 MB / 396.3 MB, free: 46.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.2419, allocations: 2.406 kB / 396.3 MB, free: 46.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.2422, allocations: 41.94 kB / 396.3 MB, free: 46.87 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.2425, allocations: 83.91 kB / 396.4 MB, free: 46.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007625/0.2433, allocations: 340.5 kB / 396.7 MB, free: 46.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.2435, allocations: 182.6 kB / 396.9 MB, free: 46.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2436, allocations: 35.78 kB / 396.9 MB, free: 46.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.2437, allocations: 55.8 kB / 397 MB, free: 46.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.2438, allocations: 71.05 kB / 397.1 MB, free: 46.49 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.2438, allocations: 14.03 kB / 397.1 MB, free: 46.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.2443, allocations: 225.7 kB / 397.3 MB, free: 46.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.2443, allocations: 28.72 kB / 397.3 MB, free: 46.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.2444, allocations: 74.39 kB / 397.4 MB, free: 46.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004464/0.2449, allocations: 279.3 kB / 397.7 MB, free: 46.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2449, allocations: 1.156 kB / 397.7 MB, free: 46.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2449, allocations: 0 / 397.7 MB, free: 46.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.2449, allocations: 3.938 kB / 397.7 MB, free: 46.26 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004694/0.2454, allocations: 474.5 kB / 398.1 MB, free: 45.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2454, allocations: 17.86 kB / 398.2 MB, free: 45.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.2455, allocations: 15.91 kB / 398.2 MB, free: 45.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.2457, allocations: 221.5 kB / 398.4 MB, free: 45.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2458, allocations: 8.625 kB / 398.4 MB, free: 45.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.2458, allocations: 15.75 kB / 398.4 MB, free: 45.56 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.246, allocations: 116.8 kB / 398.5 MB, free: 45.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.246, allocations: 0 / 398.5 MB, free: 45.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.2461, allocations: 5.75 kB / 398.5 MB, free: 45.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2461, allocations: 2.031 kB / 398.5 MB, free: 45.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.2463, allocations: 124.2 kB / 398.7 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009622/0.2473, allocations: 0.9143 MB / 399.6 MB, free: 44.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.2474, allocations: 58.36 kB / 399.6 MB, free: 44.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.2475, allocations: 26.88 kB / 399.7 MB, free: 44.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.707e-05/0.2476, allocations: 88.84 kB / 399.7 MB, free: 44.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2476, allocations: 35.81 kB / 399.8 MB, free: 44.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.2476, allocations: 0 / 399.8 MB, free: 44.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002864/0.2479, allocations: 101.8 kB / 399.9 MB, free: 44.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.2479, allocations: 52.5 kB / 399.9 MB, free: 44.22 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.2481, allocations: 210.2 kB / 400.1 MB, free: 44.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.2481, allocations: 25.7 kB / 400.2 MB, free: 44.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.2482, allocations: 127.2 kB / 400.3 MB, free: 43.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.2482, allocations: 15.84 kB / 400.3 MB, free: 43.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.2483, allocations: 30.77 kB / 400.3 MB, free: 43.9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.844e-05/0.2483, allocations: 326.8 kB / 400.6 MB, free: 43.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.2484, allocations: 29.33 kB / 400.7 MB, free: 43.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.923e-05/0.2485, allocations: 25.56 kB / 400.7 MB, free: 43.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.2486, allocations: 63.98 kB / 400.8 MB, free: 43.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2486, allocations: 7.875 kB / 400.8 MB, free: 43.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.2488, allocations: 118.2 kB / 400.9 MB, free: 43.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2488, allocations: 4.688 kB / 400.9 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2488, allocations: 1.062 kB / 400.9 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2488, allocations: 0 / 400.9 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.2489, allocations: 22.73 kB / 400.9 MB, free: 43.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2489, allocations: 1.25 kB / 400.9 MB, free: 43.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.249, allocations: 15.47 kB / 400.9 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.249, allocations: 2.281 kB / 400.9 MB, free: 43.43 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 6.31e-05/0.2491, allocations: 124.4 kB / 401.1 MB, free: 43.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.2491, allocations: 17.5 kB / 401.1 MB, free: 43.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.2493, allocations: 102.9 kB / 401.2 MB, free: 43.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.2493, allocations: 1.438 kB / 401.2 MB, free: 43.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2494, allocations: 3.984 kB / 401.2 MB, free: 43.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2494, allocations: 0 / 401.2 MB, free: 43.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.2497, allocations: 393.8 kB / 401.6 MB, free: 42.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2497, allocations: 0 / 401.6 MB, free: 42.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.2498, allocations: 12.69 kB / 401.6 MB, free: 42.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2498, allocations: 1.125 kB / 401.6 MB, free: 42.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.2498, allocations: 1.125 kB / 401.6 MB, free: 42.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2498, allocations: 1.406 kB / 401.6 MB, free: 42.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2498, allocations: 1.094 kB / 401.6 MB, free: 42.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.25, allocations: 189.4 kB / 401.8 MB, free: 42.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.25, allocations: 98.06 kB / 401.9 MB, free: 42.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.25, allocations: 14.22 kB / 401.9 MB, free: 42.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.2501, allocations: 0 / 401.9 MB, free: 42.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.2501, allocations: 9.922 kB / 401.9 MB, free: 42.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.2502, allocations: 2.344 kB / 401.9 MB, free: 42.51 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.2503, allocations: 156.4 kB / 402 MB, free: 42.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2503, allocations: 0 / 402 MB, free: 42.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00037/0.2507, allocations: 78.92 kB / 402.1 MB, free: 42.38 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0002447/0.2509, allocations: 184.8 kB / 402.3 MB, free: 42.24 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.2511, allocations: 58.08 kB / 402.4 MB, free: 42.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2511, allocations: 0 / 402.4 MB, free: 42.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.659e-05/0.2512, allocations: 24.83 kB / 402.4 MB, free: 42.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.2515, allocations: 44.17 kB / 402.4 MB, free: 42.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.2519, allocations: 275.2 kB / 402.7 MB, free: 41.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.2521, allocations: 0.708 MB / 403.4 MB, free: 41.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.012e-05/0.2521, allocations: 23.11 kB / 403.4 MB, free: 41.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.2522, allocations: 21.52 kB / 403.4 MB, free: 41.23 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2522, allocations: 0 / 403.4 MB, free: 41.23 MB / 318.1 MB Notification: Performance of Templates: time 0.005647/0.2578, allocations: 3.296 MB / 406.7 MB, free: 39.61 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)