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.001313/0.001313, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001326/0.001327, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.296/1.296, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05151/0.05151, allocations: 11.84 MB / 282.4 MB, free: 212 kB / 222.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.0016/0.0016, allocations: 69.73 kB / 393 MB, free: 45.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.0966, allocations: 49.23 MB / 442.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003245/0.09989, allocations: 2.075 MB / 444.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1012, allocations: 0.6242 MB / 444.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.1014, allocations: 7.938 kB / 444.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.859e-05/0.1015, allocations: 15.84 kB / 445 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.1019, allocations: 75.47 kB / 445 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.102, allocations: 27.95 kB / 445.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.1023, allocations: 151.2 kB / 445.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1024, allocations: 37.05 kB / 445.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1026, allocations: 63.7 kB / 445.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1027, allocations: 55.78 kB / 445.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.1027, allocations: 12 kB / 445.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.1028, allocations: 19.98 kB / 445.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.1028, allocations: 19.92 kB / 445.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.1029, allocations: 63.66 kB / 445.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.1031, allocations: 115.6 kB / 445.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1031, allocations: 0 / 445.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1031, allocations: 0 / 445.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1031, allocations: 0 / 445.6 MB, free: 14.7 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.0006326/0.1038, allocations: 440.8 kB / 446 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1038, allocations: 19.89 kB / 446 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.1039, allocations: 12.75 kB / 446 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.1042, allocations: 202.9 kB / 446.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1042, allocations: 8.312 kB / 446.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1042, allocations: 12.12 kB / 446.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.1045, allocations: 108.8 kB / 446.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1045, allocations: 0 / 446.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1045, allocations: 7.938 kB / 446.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.1045, allocations: 4 kB / 446.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.1048, allocations: 79.94 kB / 446.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.1056, allocations: 0.5706 MB / 447 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1058, allocations: 86.53 kB / 447.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.1059, allocations: 56.95 kB / 447.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1059, allocations: 0 / 447.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.106, allocations: 34.56 kB / 447.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.106, allocations: 0 / 447.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001423/0.1074, allocations: 404.2 kB / 447.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.1075, allocations: 85.11 kB / 447.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1076, allocations: 159.3 kB / 447.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.1077, allocations: 29.7 kB / 447.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.1077, allocations: 96.12 kB / 448 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.1078, allocations: 35.45 kB / 448 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.1078, allocations: 25.7 kB / 448 MB, free: 11.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.108, allocations: 318.8 kB / 448.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.1081, allocations: 47.95 kB / 448.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.1083, allocations: 61.67 kB / 448.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.1087, allocations: 165 kB / 448.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1087, allocations: 4 kB / 448.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004147/0.1091, allocations: 183.9 kB / 448.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.1091, allocations: 33.7 kB / 448.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1091, allocations: 0 / 448.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1092, allocations: 4.078 kB / 448.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.1094, allocations: 35.91 kB / 448.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1094, allocations: 4.031 kB / 448.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1095, allocations: 11.98 kB / 448.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1095, allocations: 0 / 448.9 MB, free: 11.09 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.00013/0.1096, allocations: 163.3 kB / 449 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.1097, allocations: 11.84 kB / 449 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.1102, allocations: 207.9 kB / 449.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1102, allocations: 0 / 449.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.1102, allocations: 3.984 kB / 449.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1102, allocations: 0 / 449.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.1105, allocations: 217.6 kB / 449.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.1105, allocations: 3.938 kB / 449.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.1107, allocations: 31.86 kB / 449.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1107, allocations: 4 kB / 449.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1107, allocations: 11.98 kB / 449.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1107, allocations: 4 kB / 449.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1107, allocations: 0 / 449.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.1112, allocations: 281.1 kB / 449.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-05/0.1113, allocations: 100.8 kB / 449.9 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.1113, allocations: 4 kB / 449.9 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.1114, allocations: 23.91 kB / 449.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.1115, allocations: 11.98 kB / 449.9 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.1115, allocations: 4 kB / 449.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.445e-05/0.1116, allocations: 111.3 kB / 450 MB, free: 9.797 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1116, allocations: 0 / 450 MB, free: 9.797 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1119, allocations: 28 kB / 450.1 MB, free: 9.77 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.0001585/0.1121, allocations: 119.1 kB / 450.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004539/0.1125, allocations: 187.2 kB / 450.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1125, allocations: 0 / 450.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.1127, allocations: 115.4 kB / 450.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1131, allocations: 31.98 kB / 450.5 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.1137, allocations: 305 kB / 450.8 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.114, allocations: 0.7084 MB / 451.5 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.114, allocations: 15.44 kB / 451.5 MB, free: 8.219 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.114, allocations: 0 / 451.5 MB, free: 8.219 MB / 334.1 MB Notification: Performance of Templates: time 0.004251/0.1183, allocations: 1.892 MB / 453.4 MB, free: 6.336 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)