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.001493/0.001493, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 193 kB / 16.53 MB, free: 6.391 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.465/1.465, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05582/0.05582, allocations: 11.84 MB / 281.6 MB, free: 9.441 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.002427/0.002427, allocations: 71.56 kB / 341.8 MB, free: 21.97 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1063, allocations: 49.22 MB / 391 MB, free: 4.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.003315/0.1096, allocations: 1.929 MB / 393 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1122, allocations: 1.861 MB / 394.8 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.1124, allocations: 4 kB / 394.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.1126, allocations: 39.69 kB / 394.9 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.113, allocations: 95.31 kB / 395 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008/0.1138, allocations: 339 kB / 395.3 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.114, allocations: 175 kB / 395.5 MB, free: 244 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1142, allocations: 41.52 kB / 395.5 MB, free: 204 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.1143, allocations: 55.8 kB / 395.6 MB, free: 148 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1144, allocations: 71.64 kB / 395.6 MB, free: 76 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.1144, allocations: 8 kB / 395.6 MB, free: 68 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.1149, allocations: 227.8 kB / 395.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.1149, allocations: 27.84 kB / 395.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.115, allocations: 71.67 kB / 396 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.1155, allocations: 283.3 kB / 396.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1155, allocations: 0 / 396.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1155, allocations: 3.938 kB / 396.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1155, allocations: 4 kB / 396.3 MB, free: 15.46 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.0006113/0.1161, allocations: 470.8 kB / 396.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1162, allocations: 11.89 kB / 396.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.1163, allocations: 16.75 kB / 396.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1165, allocations: 220 kB / 397 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1165, allocations: 8.375 kB / 397 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1166, allocations: 12.12 kB / 397 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.1168, allocations: 121.6 kB / 397.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1168, allocations: 3.938 kB / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1169, allocations: 8 kB / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1169, allocations: 4 kB / 397.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.1171, allocations: 119.9 kB / 397.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.1183, allocations: 0.9189 MB / 398.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1184, allocations: 54.56 kB / 398.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.1185, allocations: 28.97 kB / 398.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.1187, allocations: 81.11 kB / 398.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1187, allocations: 38.5 kB / 398.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.1187, allocations: 0 / 398.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003005/0.119, allocations: 101.5 kB / 398.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.1191, allocations: 55.41 kB / 398.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.1193, allocations: 207.8 kB / 398.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1193, allocations: 25.7 kB / 398.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.1194, allocations: 123.8 kB / 398.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.1194, allocations: 19.8 kB / 398.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.1195, allocations: 25.66 kB / 398.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1196, allocations: 334.8 kB / 399.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.386e-05/0.1197, allocations: 20 kB / 399.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.1197, allocations: 39.92 kB / 399.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.1199, allocations: 56.84 kB / 399.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1199, allocations: 0 / 399.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002008/0.1201, allocations: 117.6 kB / 399.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1201, allocations: 4.094 kB / 399.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1201, allocations: 7.938 kB / 399.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1201, allocations: 0 / 399.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.1202, allocations: 15.98 kB / 399.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1202, allocations: 4 kB / 399.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.235e-05/0.1203, allocations: 7.875 kB / 399.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1203, allocations: 8 kB / 399.5 MB, free: 11.87 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 9.809e-05/0.1204, allocations: 134.6 kB / 399.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.1205, allocations: 11.81 kB / 399.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.1207, allocations: 94.97 kB / 399.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1207, allocations: 4 kB / 399.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1207, allocations: 4 kB / 399.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1207, allocations: 4 kB / 399.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.1212, allocations: 395.1 kB / 400.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1212, allocations: 0 / 400.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.1212, allocations: 8 kB / 400.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.944e-06/0.1212, allocations: 12.02 kB / 400.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1213, allocations: 3.938 kB / 400.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1213, allocations: 0 / 400.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1213, allocations: 0 / 400.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.1215, allocations: 188.2 kB / 400.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.1215, allocations: 96.91 kB / 400.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1216, allocations: 0 / 400.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.1217, allocations: 8 kB / 400.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.1217, allocations: 7.922 kB / 400.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1217, allocations: 4 kB / 400.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1219, allocations: 155 kB / 400.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1219, allocations: 4 kB / 400.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.1223, allocations: 83.92 kB / 400.7 MB, free: 10.57 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.0003117/0.1226, allocations: 175 kB / 400.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.1228, allocations: 71.91 kB / 400.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1228, allocations: 0 / 400.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.141e-05/0.1229, allocations: 19.94 kB / 400.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.1233, allocations: 48.7 kB / 401 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.1238, allocations: 274.9 kB / 401.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.124, allocations: 0.7126 MB / 402 MB, free: 9.211 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.71e-05/0.1241, allocations: 17.5 kB / 402 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.1242, allocations: 23.42 kB / 402 MB, free: 9.172 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1242, allocations: 3.938 kB / 402 MB, free: 9.168 MB / 302.1 MB Notification: Performance of Templates: time 0.006458/0.1307, allocations: 3.302 MB / 405.3 MB, free: 5.906 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)