Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.001909/0.001909, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002334/0.002334, allocations: 186 kB / 20.78 MB, free: 1.547 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.5/1.5, allocations: 207.6 MB / 231.4 MB, free: 3.176 MB / 174.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.05851/0.05851, allocations: 12.01 MB / 295.5 MB, free: 3.223 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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") [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.003642/0.003642, allocations: 81.92 kB / 414.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.309, allocations: 51.89 MB / 466.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.00364/0.3126, allocations: 2.107 MB / 468.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.3138, allocations: 0.6323 MB / 469 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.182e-05/0.3139, allocations: 1.781 kB / 469 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.228e-05/0.3139, allocations: 21.61 kB / 469 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.3143, allocations: 78.12 kB / 469.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.3144, allocations: 31.3 kB / 469.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.3147, allocations: 146.8 kB / 469.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3148, allocations: 33.31 kB / 469.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.315, allocations: 49.33 kB / 469.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3151, allocations: 60.02 kB / 469.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.3151, allocations: 8.344 kB / 469.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.636e-05/0.3152, allocations: 22.69 kB / 469.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.3152, allocations: 22.06 kB / 469.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.399e-05/0.3153, allocations: 58.67 kB / 469.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3155, allocations: 118.8 kB / 469.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3155, allocations: 5.125 kB / 469.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3155, allocations: 0 / 469.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3155, allocations: 0 / 469.6 MB, free: 12.88 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006936/0.3162, allocations: 450.3 kB / 470.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3162, allocations: 12.83 kB / 470.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.3163, allocations: 14.75 kB / 470.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.3166, allocations: 207.9 kB / 470.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3166, allocations: 11.64 kB / 470.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.3166, allocations: 17.69 kB / 470.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.3169, allocations: 100.5 kB / 470.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3169, allocations: 0 / 470.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3169, allocations: 5.031 kB / 470.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3169, allocations: 2.219 kB / 470.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.3172, allocations: 78.84 kB / 470.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008149/0.318, allocations: 0.5723 MB / 471.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.3182, allocations: 83.97 kB / 471.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.3183, allocations: 42.06 kB / 471.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.3184, allocations: 5.047 kB / 471.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.3184, allocations: 39.83 kB / 471.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.3184, allocations: 3.938 kB / 471.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001399/0.3198, allocations: 408.5 kB / 471.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.3199, allocations: 79.2 kB / 471.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.32, allocations: 145.5 kB / 471.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.32, allocations: 25.7 kB / 471.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.3201, allocations: 108.6 kB / 472 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.3201, allocations: 31.23 kB / 472 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.3202, allocations: 28.98 kB / 472.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3203, allocations: 321 kB / 472.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.3205, allocations: 49.83 kB / 472.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.3207, allocations: 66.02 kB / 472.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.321, allocations: 167.8 kB / 472.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.321, allocations: 3.938 kB / 472.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004279/0.3215, allocations: 187 kB / 472.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.3215, allocations: 30.61 kB / 472.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3215, allocations: 1.25 kB / 472.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3215, allocations: 1.281 kB / 472.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.3217, allocations: 26.53 kB / 472.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3217, allocations: 0 / 472.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3218, allocations: 15.59 kB / 472.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.3219, allocations: 11.19 kB / 472.9 MB, free: 9.957 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.000127/0.322, allocations: 145.3 kB / 473.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.322, allocations: 17.5 kB / 473.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.3225, allocations: 210.9 kB / 473.3 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3225, allocations: 1.125 kB / 473.3 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3225, allocations: 4 kB / 473.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3225, allocations: 1.219 kB / 473.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.3228, allocations: 222.6 kB / 473.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3228, allocations: 1.219 kB / 473.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.323, allocations: 37.38 kB / 473.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.323, allocations: 1.188 kB / 473.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.323, allocations: 1.156 kB / 473.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.323, allocations: 4 kB / 473.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.323, allocations: 5.141 kB / 473.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.3235, allocations: 294.3 kB / 473.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.3236, allocations: 105.6 kB / 473.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.3236, allocations: 2.438 kB / 473.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.3238, allocations: 14.67 kB / 474 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.3238, allocations: 13.05 kB / 474 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.3238, allocations: 2.406 kB / 474 MB, free: 9.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.3239, allocations: 115.9 kB / 474.1 MB, free: 8.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3239, allocations: 0 / 474.1 MB, free: 8.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3242, allocations: 34.72 kB / 474.1 MB, free: 8.91 MB / 334.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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * 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.0001543/0.3243, allocations: 108.4 kB / 474.2 MB, free: 8.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004544/0.3248, allocations: 174.3 kB / 474.4 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3248, allocations: 0 / 474.4 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.325, allocations: 122 kB / 474.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3253, allocations: 34.27 kB / 474.5 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.3259, allocations: 286.3 kB / 474.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.3262, allocations: 0.7046 MB / 475.5 MB, free: 7.672 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.306e-05/0.3263, allocations: 16.92 kB / 475.5 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.3264, allocations: 15.81 kB / 475.6 MB, free: 7.656 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3264, allocations: 0 / 475.6 MB, free: 7.656 MB / 334.1 MB Notification: Performance of Templates: time 0.005399/0.3318, allocations: 2.125 MB / 477.7 MB, free: 5.621 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.663872877135873]