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.001123/0.001123, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001056/0.001056, allocations: 196.6 kB / 16.14 MB, free: 6.703 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.469/1.469, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05335/0.05335, allocations: 11.83 MB / 281.2 MB, free: 9.898 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.002007/0.002007, allocations: 67.91 kB / 341.1 MB, free: 22.46 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0951/0.09712, allocations: 49.23 MB / 390.4 MB, free: 5.18 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.003647/0.1008, allocations: 2.254 MB / 392.6 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.1033, allocations: 1.959 MB / 394.6 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1035, allocations: 4 kB / 394.6 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1037, allocations: 39.73 kB / 394.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.1039, allocations: 75.52 kB / 394.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.1045, allocations: 255.2 kB / 394.9 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.1047, allocations: 167.1 kB / 395.1 MB, free: 416 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.1048, allocations: 25.53 kB / 395.1 MB, free: 392 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/0.1048, allocations: 51.8 kB / 395.2 MB, free: 340 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.601e-05/0.1049, allocations: 75.64 kB / 395.3 MB, free: 264 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.105, allocations: 8 kB / 395.3 MB, free: 256 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.1054, allocations: 219.8 kB / 395.5 MB, free: 36 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.1054, allocations: 31.78 kB / 395.5 MB, free: 4 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.1055, allocations: 63.81 kB / 395.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.1059, allocations: 279.4 kB / 395.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1059, allocations: 0 / 395.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1059, allocations: 0 / 395.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1059, allocations: 0 / 395.8 MB, free: 15.67 MB / 302.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.0005766/0.1065, allocations: 474.8 kB / 396.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1065, allocations: 8.031 kB / 396.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.1066, allocations: 16.75 kB / 396.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1068, allocations: 227.9 kB / 396.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1068, allocations: 8.375 kB / 396.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1069, allocations: 12.12 kB / 396.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.1071, allocations: 121.6 kB / 396.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1071, allocations: 0 / 396.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1071, allocations: 7.938 kB / 396.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1071, allocations: 4 kB / 396.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.1073, allocations: 127.9 kB / 396.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009889/0.1083, allocations: 0.9072 MB / 397.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1085, allocations: 58.55 kB / 397.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.1085, allocations: 28.98 kB / 397.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.1087, allocations: 89.09 kB / 397.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.1087, allocations: 34.5 kB / 397.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1087, allocations: 0 / 397.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002649/0.109, allocations: 97.48 kB / 398 MB, free: 13.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.109, allocations: 55.41 kB / 398.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.1092, allocations: 207.7 kB / 398.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1092, allocations: 33.7 kB / 398.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.1093, allocations: 119.8 kB / 398.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.1093, allocations: 15.75 kB / 398.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.1094, allocations: 29.7 kB / 398.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.1095, allocations: 326.8 kB / 398.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-05/0.1095, allocations: 27.98 kB / 398.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.483e-05/0.1096, allocations: 31.92 kB / 398.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1097, allocations: 60.84 kB / 398.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1098, allocations: 4.031 kB / 398.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001864/0.1099, allocations: 117.5 kB / 399 MB, free: 12.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.11, allocations: 8 kB / 399.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.11, allocations: 0 / 399.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.11, allocations: 0 / 399.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.497e-05/0.1101, allocations: 24.23 kB / 399.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1101, allocations: 0 / 399.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.1102, allocations: 11.84 kB / 399.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1102, allocations: 4 kB / 399.1 MB, free: 12.07 MB / 302.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 8.658e-05/0.1103, allocations: 134.6 kB / 399.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.1103, allocations: 11.81 kB / 399.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.1105, allocations: 94.66 kB / 399.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1106, allocations: 4 kB / 399.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1106, allocations: 7.922 kB / 399.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1106, allocations: 96 / 399.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.111, allocations: 399.1 kB / 399.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.111, allocations: 0 / 399.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.1111, allocations: 8 kB / 399.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1111, allocations: 4 kB / 399.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.1111, allocations: 0 / 399.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1111, allocations: 0 / 399.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1111, allocations: 0 / 399.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.1113, allocations: 196.2 kB / 399.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.1113, allocations: 100.8 kB / 400 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.1114, allocations: 4 kB / 400 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.1115, allocations: 0 / 400 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.1115, allocations: 7.922 kB / 400 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1115, allocations: 8 kB / 400.1 MB, free: 11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1116, allocations: 151 kB / 400.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1116, allocations: 0 / 400.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004224/0.1121, allocations: 79.98 kB / 400.3 MB, free: 10.77 MB / 302.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.0002611/0.1123, allocations: 175.1 kB / 400.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.1125, allocations: 59.92 kB / 400.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1125, allocations: 0 / 400.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.769e-05/0.1126, allocations: 27.92 kB / 400.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.113, allocations: 40.17 kB / 400.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.1134, allocations: 316.7 kB / 400.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.1137, allocations: 0.7049 MB / 401.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.426e-05/0.1138, allocations: 29.66 kB / 401.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.1138, allocations: 19.42 kB / 401.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of SimCode: time 2.194e-06/0.1138, allocations: 0 / 401.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of Templates: time 0.005656/0.1195, allocations: 3.203 MB / 404.8 MB, free: 6.188 MB / 302.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)