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.001471/0.001471, allocations: 109.9 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.001351/0.001352, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.363/1.363, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05742/0.05742, 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.001454/0.001454, allocations: 73.8 kB / 393 MB, free: 45.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.08741, allocations: 49.24 MB / 442.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004232/0.09169, allocations: 3.59 MB / 445.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.09559, allocations: 2.552 MB / 448.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.09586, allocations: 7.938 kB / 448.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007354/0.09663, allocations: 438.5 kB / 448.8 MB, free: 11.47 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.0007146/0.09735, allocations: 429.8 kB / 449.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.0987, allocations: 0.5989 MB / 449.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008375/0.09955, allocations: 0.8518 MB / 450.7 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.09989, allocations: 193.5 kB / 450.9 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003901/0.1003, allocations: 342.7 kB / 451.2 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/0.1008, allocations: 466.3 kB / 451.7 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-05/0.1009, allocations: 44 kB / 451.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.1014, allocations: 235.8 kB / 451.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.1016, allocations: 247 kB / 452.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003363/0.1019, allocations: 417.3 kB / 452.6 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1029, allocations: 1.036 MB / 453.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.103, allocations: 0 / 453.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.103, allocations: 0 / 453.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.103, allocations: 0 / 453.6 MB, free: 6.641 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.001723/0.1047, allocations: 1.206 MB / 454.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1048, allocations: 15.89 kB / 454.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.1049, allocations: 103.6 kB / 454.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/0.1057, allocations: 0.6555 MB / 455.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.1058, allocations: 36.94 kB / 455.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/0.1058, allocations: 43.94 kB / 455.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007867/0.1066, allocations: 438.4 kB / 456.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1067, allocations: 4 kB / 456.1 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.1067, allocations: 12 kB / 456.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1067, allocations: 12 kB / 456.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008068/0.1075, allocations: 451.7 kB / 456.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.1104, allocations: 2.485 MB / 459.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.1112, allocations: 310.4 kB / 459.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.1114, allocations: 120.8 kB / 459.5 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.1115, allocations: 4 kB / 459.5 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.1115, allocations: 42.5 kB / 459.5 MB, free: 336 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.272e-06/0.1115, allocations: 0 / 459.5 MB, free: 336 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009534/0.1125, allocations: 448.2 kB / 460 MB, free: 15.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.1125, allocations: 55.41 kB / 460 MB, free: 15.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.114, allocations: 1.364 MB / 461.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.1141, allocations: 29.7 kB / 461.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.1144, allocations: 452.3 kB / 461.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.1145, allocations: 90.66 kB / 461.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.1147, allocations: 85.53 kB / 462 MB, free: 13.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1148, allocations: 329.9 kB / 462.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.1151, allocations: 111.9 kB / 462.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.1154, allocations: 195.5 kB / 462.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.116, allocations: 323.5 kB / 463 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.116, allocations: 4 kB / 463 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008032/0.1168, allocations: 455.8 kB / 463.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1168, allocations: 8.25 kB / 463.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1168, allocations: 4 kB / 463.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1168, allocations: 4 kB / 463.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.1172, allocations: 87.88 kB / 463.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1172, allocations: 7.984 kB / 463.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.1175, allocations: 55.36 kB / 463.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.1176, allocations: 16 kB / 463.6 MB, free: 12.14 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.0003173/0.1179, allocations: 305.6 kB / 463.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.118, allocations: 98.78 kB / 464 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008283/0.1189, allocations: 450.5 kB / 464.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1189, allocations: 8 kB / 464.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1189, allocations: 0 / 464.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1189, allocations: 0 / 464.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007412/0.1197, allocations: 0.632 MB / 465.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1197, allocations: 0 / 465.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.12, allocations: 71.89 kB / 465.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.12, allocations: 0 / 465.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.12, allocations: 8 kB / 465.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.12, allocations: 0 / 465.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.12, allocations: 4 kB / 465.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007127/0.1208, allocations: 490.8 kB / 465.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.121, allocations: 227.6 kB / 465.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.083e-05/0.1211, allocations: 4 kB / 465.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.1214, allocations: 15.98 kB / 465.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.1215, allocations: 19.97 kB / 465.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1215, allocations: 12 kB / 465.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.1225, allocations: 0.9716 MB / 466.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1226, allocations: 0 / 466.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005334/0.1231, allocations: 175.8 kB / 467 MB, free: 8.574 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.0009703/0.1241, allocations: 429.7 kB / 467.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006291/0.1247, allocations: 304.2 kB / 467.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1247, allocations: 0.5 kB / 467.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.125, allocations: 147.8 kB / 467.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008756/0.1259, allocations: 210.2 kB / 468.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.128, allocations: 1.573 MB / 469.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/0.1286, allocations: 1.019 MB / 470.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.1288, allocations: 71.42 kB / 470.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1288, allocations: 3.938 kB / 470.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of Templates: time 0.01539/0.1442, allocations: 11.44 MB / 482.2 MB, free: 9.473 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1)