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) 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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006787/0.006787, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001298/0.001299, allocations: 199.3 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.403/1.403, allocations: 205.1 MB / 222.6 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05258/0.05258, allocations: 11.84 MB / 281.7 MB, free: 9.211 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.001657/0.001657, allocations: 67.89 kB / 392.3 MB, free: 3.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2978, allocations: 49.23 MB / 441.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002977/0.3008, allocations: 1.926 MB / 443.5 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.3034, allocations: 1.871 MB / 445.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.3036, allocations: 1.625 kB / 445.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.3039, allocations: 38.39 kB / 445.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.3043, allocations: 93.59 kB / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009518/0.3052, allocations: 342.2 kB / 445.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.3055, allocations: 174.6 kB / 446 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3056, allocations: 30.7 kB / 446 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.823e-05/0.3057, allocations: 59.47 kB / 446.1 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.3059, allocations: 70.94 kB / 446.1 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.3059, allocations: 14.28 kB / 446.2 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/0.3065, allocations: 229.6 kB / 446.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/0.3065, allocations: 31.77 kB / 446.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.551e-05/0.3066, allocations: 71.22 kB / 446.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005247/0.3072, allocations: 285.3 kB / 446.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3072, allocations: 1.312 kB / 446.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3072, allocations: 0 / 446.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.3072, allocations: 0 / 446.8 MB, free: 1.066 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006315/0.3079, allocations: 466.1 kB / 447.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3079, allocations: 18.41 kB / 447.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.308, allocations: 21.16 kB / 447.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.3083, allocations: 213.9 kB / 447.5 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3083, allocations: 8.938 kB / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.3084, allocations: 11.53 kB / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.3086, allocations: 120.2 kB / 447.6 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3086, allocations: 1.188 kB / 447.6 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3087, allocations: 13.86 kB / 447.6 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3087, allocations: 2.406 kB / 447.6 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.3089, allocations: 115 kB / 447.7 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.3102, allocations: 0.9298 MB / 448.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.3104, allocations: 53.48 kB / 448.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.3104, allocations: 26.8 kB / 448.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.3106, allocations: 93.31 kB / 448.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3106, allocations: 32.95 kB / 448.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.3106, allocations: 0 / 448.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003194/0.3109, allocations: 102 kB / 449 MB, free: 15.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.311, allocations: 53.34 kB / 449 MB, free: 15.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.3112, allocations: 204 kB / 449.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3112, allocations: 25.7 kB / 449.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.3114, allocations: 122.9 kB / 449.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.3114, allocations: 27.17 kB / 449.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.3114, allocations: 30.7 kB / 449.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3116, allocations: 326.4 kB / 449.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.3116, allocations: 25.7 kB / 449.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.3117, allocations: 30.48 kB / 449.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.3118, allocations: 58.92 kB / 449.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3119, allocations: 5.172 kB / 449.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002058/0.3121, allocations: 111.6 kB / 450 MB, free: 14.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3121, allocations: 9.016 kB / 450 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3121, allocations: 96 / 450 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3121, allocations: 8.906 kB / 450 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3122, allocations: 14.84 kB / 450 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3123, allocations: 9.109 kB / 450 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.24e-05/0.3123, allocations: 14.94 kB / 450 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.3124, allocations: 2.719 kB / 450 MB, free: 14.2 MB / 334.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 9.807e-05/0.3125, allocations: 122.8 kB / 450.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.3125, allocations: 15.16 kB / 450.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.3128, allocations: 110 kB / 450.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3128, allocations: 0.9375 kB / 450.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3128, allocations: 1.562 kB / 450.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3128, allocations: 3.984 kB / 450.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.3133, allocations: 384.2 kB / 450.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3133, allocations: 6.609 kB / 450.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.3133, allocations: 11.12 kB / 450.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3133, allocations: 3.562 kB / 450.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3134, allocations: 8 kB / 450.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3134, allocations: 3.938 kB / 450.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3134, allocations: 0 / 450.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.3136, allocations: 191.4 kB / 450.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.421e-05/0.3137, allocations: 102.2 kB / 451 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.3137, allocations: 4 kB / 451 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.3138, allocations: 1.094 kB / 451 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.3138, allocations: 6.406 kB / 451 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.3138, allocations: 1.906 kB / 451 MB, free: 13.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.314, allocations: 159.8 kB / 451.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.314, allocations: 0 / 451.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000505/0.3145, allocations: 75.77 kB / 451.2 MB, free: 13.14 MB / 334.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.0003558/0.3149, allocations: 184 kB / 451.4 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.3151, allocations: 62.41 kB / 451.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3151, allocations: 0 / 451.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.397e-05/0.3152, allocations: 29.45 kB / 451.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.3156, allocations: 37.17 kB / 451.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.3161, allocations: 259.5 kB / 451.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.3164, allocations: 0.7134 MB / 452.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.753e-05/0.3165, allocations: 26.53 kB / 452.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.3166, allocations: 16.75 kB / 452.5 MB, free: 12 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3166, allocations: 0 / 452.5 MB, free: 12 MB / 334.1 MB Notification: Performance of Templates: time 0.007081/0.3236, allocations: 3.309 MB / 455.8 MB, free: 10.35 MB / 334.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile (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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)