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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001343/0.001343, allocations: 194.2 kB / 22.17 MB, free: 5.656 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.401/1.401, allocations: 207.6 MB / 232.9 MB, free: 10.95 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.06258/0.06258, allocations: 12 MB / 297.1 MB, free: 10.09 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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") [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.002249/0.002249, allocations: 68.55 kB / 416.5 MB, free: 42.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06983/0.07208, allocations: 51.89 MB / 468.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.003151/0.07523, allocations: 1.951 MB / 470.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.07799, allocations: 1.9 MB / 472.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.256e-05/0.07807, allocations: 0 / 472.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.07826, allocations: 43.69 kB / 472.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.07851, allocations: 87.33 kB / 472.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006972/0.07921, allocations: 346.7 kB / 472.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.07943, allocations: 179 kB / 472.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.07954, allocations: 25.53 kB / 472.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.001e-05/0.07962, allocations: 55.78 kB / 472.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.07973, allocations: 67.72 kB / 473 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.07975, allocations: 11.94 kB / 473 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.08021, allocations: 231.8 kB / 473.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.08024, allocations: 31.86 kB / 473.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.89e-05/0.08033, allocations: 71.66 kB / 473.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.08077, allocations: 283.1 kB / 473.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.08077, allocations: 0 / 473.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.08077, allocations: 0 / 473.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.08078, allocations: 0 / 473.6 MB, free: 1.465 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005986/0.08138, allocations: 478.3 kB / 474.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.08142, allocations: 15.88 kB / 474.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.08147, allocations: 16.84 kB / 474.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.08177, allocations: 224.1 kB / 474.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.08178, allocations: 4.375 kB / 474.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.08181, allocations: 16.12 kB / 474.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.08205, allocations: 117.6 kB / 474.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.08206, allocations: 0 / 474.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.08207, allocations: 0 / 474.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.08208, allocations: 4 kB / 474.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.08231, allocations: 127.7 kB / 474.6 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.08353, allocations: 0.9191 MB / 475.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.08367, allocations: 50.56 kB / 475.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.635e-05/0.08374, allocations: 28.97 kB / 475.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.08386, allocations: 85.09 kB / 475.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.08389, allocations: 34.56 kB / 475.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.0839, allocations: 3.938 kB / 475.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002934/0.08419, allocations: 97.59 kB / 475.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.08423, allocations: 51.41 kB / 475.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.08445, allocations: 207.8 kB / 476 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.08447, allocations: 33.64 kB / 476.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.08456, allocations: 119.9 kB / 476.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.08458, allocations: 23.78 kB / 476.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.08464, allocations: 37.7 kB / 476.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.08482, allocations: 322.8 kB / 476.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.112e-05/0.08489, allocations: 31.98 kB / 476.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.08495, allocations: 31.92 kB / 476.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.08508, allocations: 52.86 kB / 476.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.08508, allocations: 0 / 476.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002312/0.08531, allocations: 121.5 kB / 476.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.08533, allocations: 4 kB / 476.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.08533, allocations: 0 / 476.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.08534, allocations: 4.031 kB / 476.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.08545, allocations: 23.98 kB / 476.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.08545, allocations: 0 / 476.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.54e-05/0.08552, allocations: 7.953 kB / 476.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.08554, allocations: 11.97 kB / 476.9 MB, free: 13.86 MB / 350.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.0001081/0.08564, allocations: 125.7 kB / 477 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.08569, allocations: 19.84 kB / 477 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.08593, allocations: 111.1 kB / 477.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.08593, allocations: 0 / 477.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.08594, allocations: 0 / 477.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.08594, allocations: 0 / 477.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.08645, allocations: 399.2 kB / 477.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.08645, allocations: 0 / 477.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.08651, allocations: 11.98 kB / 477.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.08651, allocations: 0 / 477.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.08652, allocations: 4 kB / 477.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.08652, allocations: 4.031 kB / 477.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.08652, allocations: 0 / 477.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.08673, allocations: 184.2 kB / 477.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.656e-05/0.08683, allocations: 101 kB / 477.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.08685, allocations: 0 / 477.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.08694, allocations: 0 / 477.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.08696, allocations: 11.94 kB / 477.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.08696, allocations: 4 kB / 477.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.08712, allocations: 159 kB / 478 MB, free: 12.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08712, allocations: 0 / 478 MB, free: 12.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000387/0.08751, allocations: 79.7 kB / 478 MB, free: 12.55 MB / 350.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.000431/0.08794, allocations: 186.8 kB / 478.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.08821, allocations: 67.84 kB / 478.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.08821, allocations: 0 / 478.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.0883, allocations: 23.92 kB / 478.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.08885, allocations: 36.09 kB / 478.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.08955, allocations: 274.9 kB / 478.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.09002, allocations: 0.7085 MB / 479.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.09013, allocations: 21.73 kB / 479.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.419e-05/0.0902, allocations: 19.58 kB / 479.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.0902, allocations: 3.938 kB / 479.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Templates: time 0.008563/0.09877, allocations: 3.369 MB / 482.7 MB, free: 7.828 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile [Timeout 660] (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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3362246149918064] Failed to read output from testmodel.py, exit status != 0: 0.10612967600172851 0.12161713 0.037801192000000004 Calling exit ...