Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.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.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") translateModel(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 106.2 kB / 16.41 MB, free: 6.492 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.002098/0.002098, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.397/1.397, 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.06431/0.06431, allocations: 11.85 MB / 282.4 MB, free: 232 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.002226/0.002226, allocations: 72.27 kB / 393 MB, free: 45.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06562/0.06785, allocations: 49.23 MB / 442.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.00426/0.07211, allocations: 3.6 MB / 445.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004184/0.07629, allocations: 2.572 MB / 448.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.07654, allocations: 7.938 kB / 448.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.07728, allocations: 430.5 kB / 448.8 MB, free: 11.43 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0008127/0.0781, allocations: 445.8 kB / 449.3 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.07951, allocations: 0.5989 MB / 449.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.08054, allocations: 0.8557 MB / 450.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.08082, allocations: 133.5 kB / 450.9 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004586/0.08128, allocations: 350.7 kB / 451.2 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005618/0.08184, allocations: 478.3 kB / 451.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.063e-05/0.08192, allocations: 44 kB / 451.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.08235, allocations: 231.8 kB / 451.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.08259, allocations: 243.1 kB / 452.2 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.08297, allocations: 409.4 kB / 452.6 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.08423, allocations: 1.042 MB / 453.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.08424, allocations: 0 / 453.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.08424, allocations: 0 / 453.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.08425, allocations: 0 / 453.6 MB, free: 6.637 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002003/0.08625, allocations: 1.252 MB / 454.9 MB, free: 5.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.08629, allocations: 15.88 kB / 454.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.08646, allocations: 112.2 kB / 455 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009608/0.08742, allocations: 0.6525 MB / 455.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.08746, allocations: 40.94 kB / 455.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.609e-05/0.08754, allocations: 36 kB / 455.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008482/0.08839, allocations: 442.3 kB / 456.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.0884, allocations: 0 / 456.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.08845, allocations: 20 kB / 456.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.08846, allocations: 12 kB / 456.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008897/0.08935, allocations: 447.7 kB / 456.6 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003248/0.0926, allocations: 2.482 MB / 459.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007843/0.09339, allocations: 298.3 kB / 459.4 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.09366, allocations: 112.8 kB / 459.5 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.0937, allocations: 7.984 kB / 459.5 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.09373, allocations: 42.55 kB / 459.6 MB, free: 300 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.09373, allocations: 3.938 kB / 459.6 MB, free: 296 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001055/0.09478, allocations: 448.8 kB / 460 MB, free: 15.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.09483, allocations: 59.41 kB / 460.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.09654, allocations: 1.357 MB / 461.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.09657, allocations: 29.7 kB / 461.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/0.09701, allocations: 460.6 kB / 461.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.277e-05/0.0971, allocations: 95.22 kB / 462 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.09724, allocations: 85.58 kB / 462.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.0974, allocations: 325.9 kB / 462.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.09768, allocations: 111.9 kB / 462.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.09803, allocations: 195.5 kB / 462.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.09866, allocations: 319.5 kB / 463 MB, free: 12.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.09866, allocations: 0 / 463 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009127/0.09958, allocations: 476.4 kB / 463.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.0996, allocations: 4 kB / 463.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.0996, allocations: 4 kB / 463.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.09963, allocations: 4 kB / 463.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.1, allocations: 83.88 kB / 463.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1, allocations: 4 kB / 463.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.1004, allocations: 55.61 kB / 463.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.1004, allocations: 16.09 kB / 463.6 MB, free: 12.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (VR100.data.zetaLaminarKnown,VR10.data.zetaLaminarKnown,VR30.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0003769/0.1008, allocations: 305.6 kB / 463.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.1009, allocations: 103.3 kB / 464 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009442/0.1019, allocations: 454.5 kB / 464.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1019, allocations: 0 / 464.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.1019, allocations: 4 kB / 464.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1019, allocations: 0 / 464.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008159/0.1027, allocations: 0.6398 MB / 465.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1027, allocations: 3.938 kB / 465.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.1031, allocations: 71.89 kB / 465.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.1031, allocations: 4 kB / 465.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.1031, allocations: 12 kB / 465.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1031, allocations: 0 / 465.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1031, allocations: 0 / 465.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/0.1039, allocations: 487.5 kB / 465.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.1043, allocations: 224.3 kB / 465.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.013e-05/0.1044, allocations: 7.938 kB / 465.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.1046, allocations: 19.98 kB / 465.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.1047, allocations: 19.97 kB / 466 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1047, allocations: 12 kB / 466 MB, free: 9.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001252/0.106, allocations: 0.9755 MB / 466.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.106, allocations: 3.938 kB / 466.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000571/0.1065, allocations: 171.7 kB / 467.1 MB, free: 8.504 MB / 350.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 (32): * Single equations (assignments): 32 * 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.00143/0.108, allocations: 415.3 kB / 467.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007223/0.1087, allocations: 304.2 kB / 467.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1087, allocations: 0 / 467.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.109, allocations: 131.8 kB / 467.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009725/0.11, allocations: 223.1 kB / 468.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.1123, allocations: 1.538 MB / 469.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007363/0.113, allocations: 1.011 MB / 470.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004093/0.1134, allocations: 153.6 kB / 470.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.1136, allocations: 63.42 kB / 470.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1136, allocations: 0 / 470.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of Templates: time 0.02184/0.1354, allocations: 10.77 MB / 481.7 MB, free: 10 MB / 366.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1)