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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 188.3 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 207.6 MB / 233 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06108/0.06108, allocations: 12.01 MB / 297.3 MB, free: 9.871 MB / 238.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") translateModel(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") [Timeout 660] "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.002193/0.002193, allocations: 75.88 kB / 416.8 MB, free: 42.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07691/0.07911, allocations: 51.94 MB / 468.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.005254/0.08436, allocations: 3.636 MB / 472.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004105/0.08846, allocations: 2.591 MB / 474.9 MB, free: 244 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.08872, allocations: 15.88 kB / 474.9 MB, free: 228 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007693/0.08949, allocations: 434.5 kB / 475.4 MB, free: 15.8 MB / 350.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.0008313/0.09032, allocations: 449.8 kB / 475.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.09175, allocations: 0.5873 MB / 476.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.09281, allocations: 0.8712 MB / 477.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.09309, allocations: 121.9 kB / 477.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005047/0.09359, allocations: 358.6 kB / 477.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006144/0.09421, allocations: 498.2 kB / 478.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.556e-05/0.09428, allocations: 44 kB / 478.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.09473, allocations: 235.8 kB / 478.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.09497, allocations: 239.1 kB / 478.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.09535, allocations: 421.3 kB / 479.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.09663, allocations: 1.039 MB / 480.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.09663, allocations: 0 / 480.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09663, allocations: 0 / 480.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.09665, allocations: 0 / 480.2 MB, free: 10.96 MB / 350.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.001923/0.09857, allocations: 1.169 MB / 481.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.09861, allocations: 16.03 kB / 481.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.09877, allocations: 108.2 kB / 481.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009557/0.09972, allocations: 0.596 MB / 482.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.09976, allocations: 36.94 kB / 482.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.09983, allocations: 40 kB / 482.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008207/0.1007, allocations: 442.3 kB / 482.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1007, allocations: 4 kB / 482.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.1007, allocations: 16 kB / 482.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1007, allocations: 12 kB / 482.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008499/0.1016, allocations: 455.7 kB / 483 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.1044, allocations: 1.969 MB / 485 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008015/0.1052, allocations: 296.2 kB / 485.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.1055, allocations: 112.8 kB / 485.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.1055, allocations: 11.97 kB / 485.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.1056, allocations: 34.56 kB / 485.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.235e-06/0.1056, allocations: 0 / 485.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001089/0.1067, allocations: 461.3 kB / 485.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.1067, allocations: 51.41 kB / 486 MB, free: 4.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.1085, allocations: 1.368 MB / 487.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1085, allocations: 25.7 kB / 487.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.109, allocations: 460.7 kB / 487.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.84e-05/0.1091, allocations: 95.2 kB / 487.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1092, allocations: 89.45 kB / 488 MB, free: 2.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1094, allocations: 325.9 kB / 488.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.1097, allocations: 119.9 kB / 488.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.11, allocations: 187.6 kB / 488.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/0.1106, allocations: 327.4 kB / 488.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1106, allocations: 0 / 488.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009095/0.1115, allocations: 464.3 kB / 489.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1115, allocations: 8 kB / 489.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1115, allocations: 0 / 489.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1115, allocations: 4.25 kB / 489.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.112, allocations: 95.88 kB / 489.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.112, allocations: 4 kB / 489.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.1123, allocations: 55.55 kB / 489.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.1123, allocations: 19.98 kB / 489.6 MB, free: 1.211 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.000366/0.1127, allocations: 297.6 kB / 489.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.1128, allocations: 111.3 kB / 490 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009426/0.1138, allocations: 446.6 kB / 490.4 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1138, allocations: 4 kB / 490.4 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1138, allocations: 0 / 490.4 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1138, allocations: 4 kB / 490.4 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008048/0.1146, allocations: 0.6116 MB / 491 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1146, allocations: 0 / 491 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.1149, allocations: 67.89 kB / 491.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1149, allocations: 4 kB / 491.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.115, allocations: 8 kB / 491.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.115, allocations: 0 / 491.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.115, allocations: 3.984 kB / 491.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007976/0.1158, allocations: 499.7 kB / 491.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.1161, allocations: 147.2 kB / 491.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.909e-05/0.1162, allocations: 4 kB / 491.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.1164, allocations: 15.98 kB / 491.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.1165, allocations: 19.97 kB / 491.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.1165, allocations: 11.98 kB / 491.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.1177, allocations: 0.9793 MB / 492.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1177, allocations: 0 / 492.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005755/0.1183, allocations: 179.7 kB / 492.9 MB, free: 13.75 MB / 366.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.001532/0.1198, allocations: 416.4 kB / 493.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007856/0.1206, allocations: 287.6 kB / 493.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1206, allocations: 0 / 493.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.1209, allocations: 140.3 kB / 493.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.1219, allocations: 220.9 kB / 494 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.1244, allocations: 1.532 MB / 495.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/0.1252, allocations: 1.015 MB / 496.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003717/0.1256, allocations: 145.6 kB / 496.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.1257, allocations: 67.42 kB / 496.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1257, allocations: 0 / 496.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of Templates: time 0.02133/0.147, allocations: 10.99 MB / 0.4958 GB, free: 15.01 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.97545958776027] Failed to read output from testmodel.py, exit status != 0: 0.15441257879137993 0.16977044000000002 0.07010393200000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc9a08557b0>