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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 84.44 kB / 19.93 MB, free: 4.609 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 177.9 kB / 23.21 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9287/0.9287, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.03571/0.03571, allocations: 8.695 MB / 268.7 MB, free: 4.773 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 395.4 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.778e-05, allocations: 6.281 kB / 395.4 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.003205/0.003233, allocations: 1.873 MB / 397.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.005802, allocations: 1.717 MB / 399 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.00593, allocations: 0 / 399 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.006176, allocations: 27.78 kB / 399 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.006525, allocations: 99.25 kB / 399.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.007413, allocations: 358.4 kB / 399.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.007648, allocations: 194.8 kB / 399.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.007773, allocations: 17.8 kB / 399.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.00792, allocations: 91.8 kB / 399.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.008026, allocations: 59.75 kB / 399.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.008049, allocations: 8 kB / 399.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005038/0.008553, allocations: 223.7 kB / 400.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.323e-05/0.008586, allocations: 27.86 kB / 400.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.743e-05/0.008653, allocations: 55.84 kB / 400.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005112/0.009165, allocations: 327 kB / 400.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.009171, allocations: 0 / 400.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.009173, allocations: 4 kB / 400.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.009179, allocations: 0 / 400.5 MB, free: 12.47 MB / 330.7 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.0005932/0.009772, allocations: 405 kB / 400.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.009824, allocations: 8.031 kB / 400.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.383e-05/0.009898, allocations: 16.84 kB / 400.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.0102, allocations: 161.5 kB / 401.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.01023, allocations: 8.375 kB / 401.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.01025, allocations: 16.31 kB / 401.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.01055, allocations: 118 kB / 401.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.01057, allocations: 0 / 401.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.01059, allocations: 12 kB / 401.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.01059, allocations: 0 / 401.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.01083, allocations: 119.9 kB / 401.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009671/0.0118, allocations: 407.9 kB / 401.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.01195, allocations: 54.5 kB / 401.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.01201, allocations: 28.97 kB / 401.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.325e-05/0.01211, allocations: 8 kB / 401.8 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.01214, allocations: 42.48 kB / 401.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.014e-06/0.01214, allocations: 0 / 401.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003068/0.01245, allocations: 89.64 kB / 401.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.01248, allocations: 55.34 kB / 402 MB, free: 10.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.01266, allocations: 179.2 kB / 402.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.01267, allocations: 29.64 kB / 402.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.01275, allocations: 124.2 kB / 402.3 MB, free: 10.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.01277, allocations: 23.83 kB / 402.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.01283, allocations: 29.66 kB / 402.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.01293, allocations: 322.8 kB / 402.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.01301, allocations: 27.98 kB / 402.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.107e-05/0.01309, allocations: 57.69 kB / 402.8 MB, free: 9.996 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.01321, allocations: 60.97 kB / 402.8 MB, free: 9.934 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01321, allocations: 0 / 402.8 MB, free: 9.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002109/0.01342, allocations: 121.5 kB / 402.9 MB, free: 9.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.01344, allocations: 4 kB / 403 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01344, allocations: 0 / 403 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.01346, allocations: 4 kB / 403 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.01357, allocations: 19.92 kB / 403 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.01357, allocations: 0 / 403 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.01363, allocations: 15.92 kB / 403 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.01364, allocations: 4 kB / 403 MB, free: 9.762 MB / 330.7 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 9.45e-05/0.01374, allocations: 117.8 kB / 403.1 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.01377, allocations: 11.89 kB / 403.1 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.01403, allocations: 107.1 kB / 403.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.01403, allocations: 11.98 kB / 403.2 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01404, allocations: 0 / 403.2 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01404, allocations: 0 / 403.2 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.01448, allocations: 319 kB / 403.5 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01448, allocations: 0 / 403.5 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.01454, allocations: 15.92 kB / 403.6 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01454, allocations: 0 / 403.6 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.01455, allocations: 8 kB / 403.6 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.01455, allocations: 0 / 403.6 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01455, allocations: 0 / 403.6 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.01474, allocations: 184.2 kB / 403.8 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.01478, allocations: 11.95 kB / 403.8 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.0148, allocations: 0 / 403.8 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.01489, allocations: 7.984 kB / 403.8 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.0149, allocations: 8.031 kB / 403.8 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.01491, allocations: 4 kB / 403.8 MB, free: 8.898 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.01502, allocations: 139.7 kB / 403.9 MB, free: 8.762 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01502, allocations: 3.938 kB / 403.9 MB, free: 8.758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003885/0.01541, allocations: 87.64 kB / 404 MB, free: 8.672 MB / 330.7 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.0003407/0.01575, allocations: 190.5 kB / 404.2 MB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.01594, allocations: 51.98 kB / 404.2 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01594, allocations: 4 kB / 404.2 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.699e-05/0.01599, allocations: 27.92 kB / 404.3 MB, free: 8.395 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.01633, allocations: 28.11 kB / 404.3 MB, free: 8.367 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.01685, allocations: 276.7 kB / 404.6 MB, free: 8.059 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.923e-05/0.01694, allocations: 105.6 kB / 404.7 MB, free: 7.934 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.01699, allocations: 16.5 kB / 404.7 MB, free: 7.918 MB / 330.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01699, allocations: 0 / 404.7 MB, free: 7.918 MB / 330.7 MB Notification: Performance of Templates: time 0.005769/0.02275, allocations: 2.659 MB / 407.4 MB, free: 5.27 MB / 330.7 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 > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2417107140645385]