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.008781/0.008781, allocations: 95.97 kB / 15.73 MB, free: 6.062 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.001795/0.001795, allocations: 197 kB / 16.68 MB, free: 5.984 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.426/1.426, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05561/0.05561, allocations: 11.84 MB / 281.7 MB, free: 9.348 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.001466/0.001466, allocations: 71.83 kB / 392.3 MB, free: 3.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2607, allocations: 49.23 MB / 441.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.003065/0.2638, allocations: 1.927 MB / 443.5 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.2661, allocations: 1.872 MB / 445.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.2662, allocations: 1.281 kB / 445.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.2665, allocations: 43.47 kB / 445.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.2668, allocations: 87.94 kB / 445.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000701/0.2675, allocations: 342.5 kB / 445.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.2677, allocations: 170.2 kB / 446 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2678, allocations: 34.16 kB / 446 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.952e-05/0.2679, allocations: 63.75 kB / 446.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.268, allocations: 70.8 kB / 446.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.2681, allocations: 14.09 kB / 446.2 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.2685, allocations: 230.3 kB / 446.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.2686, allocations: 31.2 kB / 446.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.2687, allocations: 71.88 kB / 446.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.2692, allocations: 288 kB / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2692, allocations: 0 / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2692, allocations: 0 / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.2692, allocations: 0 / 446.8 MB, free: 1.09 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.0004784/0.2697, allocations: 478.6 kB / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2698, allocations: 17.36 kB / 447.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.2698, allocations: 21.44 kB / 447.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.2701, allocations: 211.8 kB / 447.5 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2701, allocations: 11.75 kB / 447.5 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.2701, allocations: 10.72 kB / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.2704, allocations: 122.3 kB / 447.6 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2704, allocations: 0 / 447.6 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2704, allocations: 5.156 kB / 447.6 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2704, allocations: 1.438 kB / 447.6 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.2706, allocations: 116.5 kB / 447.7 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.2718, allocations: 0.9256 MB / 448.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.2719, allocations: 57.69 kB / 448.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/0.272, allocations: 28.88 kB / 448.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.2721, allocations: 94.38 kB / 448.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.2722, allocations: 34.47 kB / 448.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.2722, allocations: 0 / 448.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002812/0.2725, allocations: 100.1 kB / 449 MB, free: 15.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.2725, allocations: 52.44 kB / 449 MB, free: 15.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.2727, allocations: 205.5 kB / 449.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.2727, allocations: 26.8 kB / 449.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.2728, allocations: 130.5 kB / 449.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.2729, allocations: 22.42 kB / 449.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.2729, allocations: 31.42 kB / 449.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2731, allocations: 326.6 kB / 449.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/0.2731, allocations: 25.39 kB / 449.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.447e-05/0.2732, allocations: 30.83 kB / 449.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.2733, allocations: 59.47 kB / 449.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2734, allocations: 3.938 kB / 449.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002016/0.2736, allocations: 112.3 kB / 450 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2736, allocations: 13.52 kB / 450 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2736, allocations: 0 / 450 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2736, allocations: 1.062 kB / 450 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2737, allocations: 17.72 kB / 450 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2737, allocations: 8.953 kB / 450 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.2738, allocations: 15.14 kB / 450 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.2738, allocations: 3.281 kB / 450 MB, free: 14.18 MB / 334.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 0.0001001/0.274, allocations: 123.6 kB / 450.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.274, allocations: 13.56 kB / 450.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.2742, allocations: 111.2 kB / 450.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2743, allocations: 5.062 kB / 450.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2743, allocations: 0 / 450.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2743, allocations: 1.281 kB / 450.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.2748, allocations: 389 kB / 450.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2748, allocations: 3.938 kB / 450.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/0.2748, allocations: 7.75 kB / 450.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2748, allocations: 5.875 kB / 450.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2749, allocations: 5.844 kB / 450.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2749, allocations: 4 kB / 450.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2749, allocations: 1.766 kB / 450.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.2751, allocations: 190.9 kB / 450.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.2752, allocations: 96.55 kB / 451 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.2752, allocations: 1.812 kB / 451 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.2753, allocations: 5.781 kB / 451 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.2753, allocations: 9.656 kB / 451 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.2753, allocations: 1.781 kB / 451 MB, free: 13.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.2755, allocations: 159.3 kB / 451.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2755, allocations: 0 / 451.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004258/0.2759, allocations: 87.41 kB / 451.2 MB, free: 13.11 MB / 334.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.0002899/0.2762, allocations: 181.1 kB / 451.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.2764, allocations: 57.02 kB / 451.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.2764, allocations: 0 / 451.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.602e-05/0.2765, allocations: 29.23 kB / 451.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.2769, allocations: 42.8 kB / 451.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.2774, allocations: 258.5 kB / 451.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.2776, allocations: 0.7082 MB / 452.5 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.2777, allocations: 25.81 kB / 452.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.2778, allocations: 17.78 kB / 452.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2778, allocations: 0 / 452.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Templates: time 0.0066/0.2844, allocations: 3.311 MB / 455.9 MB, free: 10.32 MB / 334.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)