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) 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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008783/0.008783, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001787/0.001787, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.435/1.435, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05797/0.05797, allocations: 11.84 MB / 281.7 MB, free: 9.324 MB / 238.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.001638/0.001638, allocations: 67.91 kB / 392.3 MB, free: 3.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3241, allocations: 49.23 MB / 441.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003448/0.3276, allocations: 2.095 MB / 443.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3287, allocations: 0.6136 MB / 444.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.3289, allocations: 1.281 kB / 444.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.149e-05/0.329, allocations: 14.23 kB / 444.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004695/0.3294, allocations: 80.02 kB / 444.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.3296, allocations: 28.11 kB / 444.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.3298, allocations: 151.8 kB / 444.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.33, allocations: 29.88 kB / 444.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3301, allocations: 59.98 kB / 444.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.3303, allocations: 63.47 kB / 444.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.3303, allocations: 8.562 kB / 444.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.3304, allocations: 18.05 kB / 444.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.231e-05/0.3305, allocations: 22.41 kB / 444.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.3305, allocations: 62.88 kB / 444.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.3308, allocations: 117.4 kB / 444.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3308, allocations: 0.6094 kB / 444.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3308, allocations: 1.438 kB / 444.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.3308, allocations: 0 / 444.9 MB, free: 2.172 MB / 318.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.0005629/0.3314, allocations: 449 kB / 445.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3314, allocations: 14.39 kB / 445.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.3315, allocations: 14.59 kB / 445.4 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.3318, allocations: 200.3 kB / 445.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3318, allocations: 20.12 kB / 445.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.3318, allocations: 9.719 kB / 445.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.3321, allocations: 102.8 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3321, allocations: 0.7031 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3322, allocations: 1.188 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3322, allocations: 2 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.3325, allocations: 79.56 kB / 445.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007899/0.3333, allocations: 0.578 MB / 446.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.3335, allocations: 92.67 kB / 446.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3336, allocations: 46.91 kB / 446.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.3337, allocations: 5.094 kB / 446.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.3337, allocations: 32.72 kB / 446.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3337, allocations: 1.344 kB / 446.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.001498/0.3352, allocations: 412.1 kB / 446.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.3352, allocations: 79.42 kB / 447 MB, free: 480 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3354, allocations: 146.7 kB / 447.2 MB, free: 360 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.3354, allocations: 26.86 kB / 447.2 MB, free: 328 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.3354, allocations: 106.6 kB / 447.3 MB, free: 224 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.3355, allocations: 34.55 kB / 447.3 MB, free: 196 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.3355, allocations: 27.7 kB / 447.3 MB, free: 172 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3357, allocations: 328.7 kB / 447.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.3359, allocations: 45.97 kB / 447.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3361, allocations: 61.36 kB / 447.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.3365, allocations: 169.1 kB / 447.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3365, allocations: 0.6562 kB / 447.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004884/0.337, allocations: 184.1 kB / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.3371, allocations: 31.64 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3371, allocations: 1.156 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3371, allocations: 1 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.3373, allocations: 26.7 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3373, allocations: 1.062 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.3374, allocations: 19.78 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.3375, allocations: 12.47 kB / 448.2 MB, free: 15.55 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.0001173/0.3376, allocations: 145 kB / 448.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.3376, allocations: 14.23 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005835/0.3382, allocations: 206 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3382, allocations: 5.344 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3383, allocations: 0.7031 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3383, allocations: 0.5156 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.3385, allocations: 223.5 kB / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3386, allocations: 1.281 kB / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.3387, allocations: 40 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3387, allocations: 1.062 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3388, allocations: 1.703 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3388, allocations: 1.156 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3388, allocations: 0 / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.3393, allocations: 291.7 kB / 449.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.3394, allocations: 103.1 kB / 449.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3394, allocations: 0.7812 kB / 449.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.3396, allocations: 14.86 kB / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.3396, allocations: 16.36 kB / 449.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3397, allocations: 7.562 kB / 449.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.038e-05/0.3397, allocations: 115.6 kB / 449.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3397, allocations: 0 / 449.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.34, allocations: 36.34 kB / 449.4 MB, free: 14.59 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.000197/0.3402, allocations: 111 kB / 449.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.3407, allocations: 177.4 kB / 449.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3407, allocations: 0 / 449.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.3409, allocations: 120.2 kB / 449.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.3413, allocations: 26.02 kB / 449.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.3419, allocations: 298.6 kB / 450.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.3422, allocations: 0.708 MB / 450.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.295e-05/0.3422, allocations: 17.44 kB / 450.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.3423, allocations: 22.86 kB / 450.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3423, allocations: 0 / 450.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of Templates: time 0.006625/0.3489, allocations: 2.074 MB / 452.9 MB, free: 12.28 MB / 334.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile (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)