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.0009789/0.0009789, allocations: 113.3 kB / 15.99 MB, free: 5.891 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.001071/0.001072, allocations: 196.6 kB / 16.91 MB, free: 5.746 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.233/1.233, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05048/0.05048, allocations: 11.84 MB / 281.9 MB, free: 9.59 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.001368/0.001368, allocations: 75.5 kB / 342 MB, free: 22.32 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07271/0.07409, allocations: 49.23 MB / 391.2 MB, free: 5.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.003436/0.07757, allocations: 2.262 MB / 393.5 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.08009, allocations: 1.881 MB / 395.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.08027, allocations: 3.938 kB / 395.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.08053, allocations: 35.81 kB / 395.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.08083, allocations: 79.45 kB / 395.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.08158, allocations: 299.3 kB / 395.8 MB, free: 468 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.0818, allocations: 175.1 kB / 395.9 MB, free: 292 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.08192, allocations: 37.53 kB / 396 MB, free: 256 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.687e-05/0.08201, allocations: 59.78 kB / 396 MB, free: 196 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.08211, allocations: 67.64 kB / 396.1 MB, free: 128 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.08214, allocations: 12 kB / 396.1 MB, free: 116 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004299/0.08257, allocations: 227.8 kB / 396.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.08261, allocations: 27.86 kB / 396.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.223e-05/0.0827, allocations: 83.53 kB / 396.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.083, allocations: 195.6 kB / 396.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.08301, allocations: 4 kB / 396.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.08302, allocations: 0 / 396.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.08303, allocations: 0 / 396.6 MB, free: 15.59 MB / 302.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.000556/0.08359, allocations: 466.8 kB / 397.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.08364, allocations: 11.89 kB / 397.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.0837, allocations: 16.75 kB / 397.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.08392, allocations: 220 kB / 397.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.08394, allocations: 8.375 kB / 397.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.08397, allocations: 16.12 kB / 397.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.08419, allocations: 117.6 kB / 397.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.08421, allocations: 0 / 397.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.08423, allocations: 4 kB / 397.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.08424, allocations: 8 kB / 397.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.08445, allocations: 119.9 kB / 397.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.08549, allocations: 0.9149 MB / 398.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.08564, allocations: 70.55 kB / 398.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.08569, allocations: 20.98 kB / 398.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.08581, allocations: 89.09 kB / 398.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.08584, allocations: 30.56 kB / 398.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.08585, allocations: 0 / 398.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002629/0.08612, allocations: 101.4 kB / 398.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.08616, allocations: 55.41 kB / 398.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.08635, allocations: 207.8 kB / 399.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.08638, allocations: 29.7 kB / 399.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.08646, allocations: 127.8 kB / 399.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.08648, allocations: 11.81 kB / 399.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.08655, allocations: 29.7 kB / 399.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.08667, allocations: 326.8 kB / 399.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.08674, allocations: 27.98 kB / 399.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.429e-05/0.08681, allocations: 27.98 kB / 399.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.08693, allocations: 72.94 kB / 399.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.08693, allocations: 0 / 399.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001831/0.08712, allocations: 113.4 kB / 399.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.08714, allocations: 8 kB / 399.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.08715, allocations: 0 / 399.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.08717, allocations: 0 / 399.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.08728, allocations: 23.98 kB / 399.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.08729, allocations: 0 / 399.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.08736, allocations: 11.84 kB / 399.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.08738, allocations: 3.984 kB / 399.9 MB, free: 12 MB / 302.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 8.72e-05/0.08747, allocations: 130.7 kB / 400 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.08751, allocations: 11.81 kB / 400 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.08774, allocations: 102.6 kB / 400.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.08775, allocations: 4 kB / 400.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.08776, allocations: 0 / 400.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.08777, allocations: 3.984 kB / 400.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.08819, allocations: 399.1 kB / 400.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.0882, allocations: 0 / 400.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.08825, allocations: 8 kB / 400.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.08826, allocations: 7.938 kB / 400.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.08828, allocations: 320 / 400.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.08828, allocations: 0 / 400.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.08829, allocations: 8 kB / 400.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.08847, allocations: 188.2 kB / 400.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.08855, allocations: 96.91 kB / 400.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.08858, allocations: 4 kB / 400.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.08866, allocations: 0 / 400.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.08868, allocations: 7.938 kB / 400.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.08869, allocations: 7.984 kB / 400.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.08883, allocations: 151 kB / 401 MB, free: 10.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08883, allocations: 0 / 401 MB, free: 10.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.08917, allocations: 87.92 kB / 401.1 MB, free: 10.69 MB / 302.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.0002807/0.08946, allocations: 171.1 kB / 401.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.08964, allocations: 63.92 kB / 401.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.08965, allocations: 0 / 401.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/0.0897, allocations: 19.98 kB / 401.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.09009, allocations: 44.16 kB / 401.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.0906, allocations: 344.6 kB / 401.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.09088, allocations: 0.7085 MB / 402.4 MB, free: 9.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.09093, allocations: 19.42 kB / 402.4 MB, free: 9.262 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09094, allocations: 0 / 402.4 MB, free: 9.262 MB / 302.1 MB Notification: Performance of Templates: time 0.004469/0.09541, allocations: 2.794 MB / 405.2 MB, free: 6.484 MB / 302.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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)