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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9958/0.9958, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.03597/0.03597, allocations: 8.73 MB / 269 MB, free: 4.398 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 288.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.267e-05, allocations: 2.312 kB / 288.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.1062/0.1062, allocations: 2.196 MB / 290.3 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.1071, allocations: 0.6089 MB / 290.9 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.1071, allocations: 1.438 kB / 290.9 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.471e-05/0.1072, allocations: 14.62 kB / 290.9 MB, free: 18.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.1074, allocations: 80.22 kB / 291 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.886e-05/0.1075, allocations: 26.69 kB / 291 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.1077, allocations: 161.2 kB / 291.2 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.1078, allocations: 19.3 kB / 291.2 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.108, allocations: 87.89 kB / 291.3 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.086e-05/0.1081, allocations: 48.42 kB / 291.3 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1081, allocations: 8.875 kB / 291.3 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.1081, allocations: 19.69 kB / 291.3 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.1081, allocations: 21.81 kB / 291.4 MB, free: 18.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.1082, allocations: 42.72 kB / 291.4 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1083, allocations: 89.66 kB / 291.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1083, allocations: 1.625 kB / 291.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1083, allocations: 0 / 291.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1083, allocations: 0.5312 kB / 291.5 MB, free: 18.64 MB / 266.7 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.000294/0.1086, allocations: 347.9 kB / 291.8 MB, free: 18.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.1086, allocations: 11 kB / 291.8 MB, free: 18.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.1087, allocations: 16.19 kB / 291.9 MB, free: 18.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1088, allocations: 137.4 kB / 292 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1088, allocations: 3.594 kB / 292 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.1088, allocations: 9.281 kB / 292 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.109, allocations: 118.1 kB / 292.1 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.109, allocations: 5.25 kB / 292.1 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.109, allocations: 3.375 kB / 292.1 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.109, allocations: 2.25 kB / 292.1 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.109, allocations: 49.75 kB / 292.2 MB, free: 18.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.1093, allocations: 245.7 kB / 292.4 MB, free: 17.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.185e-05/0.1094, allocations: 84.19 kB / 292.5 MB, free: 17.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.1094, allocations: 48.44 kB / 292.6 MB, free: 17.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.1095, allocations: 3.656 kB / 292.6 MB, free: 17.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.261e-05/0.1095, allocations: 33.55 kB / 292.6 MB, free: 17.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.1095, allocations: 0 / 292.6 MB, free: 17.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002895/0.1098, allocations: 237.9 kB / 292.8 MB, free: 17.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.658e-05/0.1098, allocations: 78.8 kB / 292.9 MB, free: 17.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.427e-05/0.1098, allocations: 140.7 kB / 293 MB, free: 17.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.652e-06/0.1098, allocations: 25.7 kB / 293.1 MB, free: 17.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.1099, allocations: 97.06 kB / 293.2 MB, free: 17.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.1099, allocations: 35.2 kB / 293.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.1099, allocations: 25.52 kB / 293.2 MB, free: 17.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.45e-05/0.1099, allocations: 324.1 kB / 293.5 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.11, allocations: 34.83 kB / 293.6 MB, free: 16.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.11, allocations: 34.25 kB / 293.6 MB, free: 16.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.95e-05/0.11, allocations: 88.3 kB / 293.7 MB, free: 16.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.11, allocations: 1.781 kB / 293.7 MB, free: 16.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.564e-05/0.1101, allocations: 113.9 kB / 293.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1101, allocations: 32.64 kB / 293.8 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1101, allocations: 0.6562 kB / 293.8 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1101, allocations: 3.5 kB / 293.8 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.1102, allocations: 20.67 kB / 293.9 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.1102, allocations: 4.734 kB / 293.9 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.1102, allocations: 13 kB / 293.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1103, allocations: 2.922 kB / 293.9 MB, free: 16.64 MB / 266.7 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 (9): * Single equations (assignments): 8 * 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 4.067e-05/0.1103, allocations: 143.7 kB / 294 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.1103, allocations: 7.875 kB / 294 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.1104, allocations: 145 kB / 294.2 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1104, allocations: 3.219 kB / 294.2 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1104, allocations: 0 / 294.2 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1105, allocations: 1.312 kB / 294.2 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.1106, allocations: 110.5 kB / 294.3 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1106, allocations: 0 / 294.3 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.1106, allocations: 27.39 kB / 294.3 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1106, allocations: 1.734 kB / 294.3 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1106, allocations: 1.781 kB / 294.3 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1106, allocations: 1.875 kB / 294.3 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1106, allocations: 1.531 kB / 294.3 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.702e-05/0.1107, allocations: 234.2 kB / 294.5 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.1108, allocations: 15.56 kB / 294.6 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1108, allocations: 4.688 kB / 294.6 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.742e-05/0.1108, allocations: 7.156 kB / 294.6 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.1108, allocations: 9.859 kB / 294.6 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1109, allocations: 2.094 kB / 294.6 MB, free: 16.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.694e-05/0.1109, allocations: 30.56 kB / 294.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1109, allocations: 3.938 kB / 294.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.111, allocations: 34.03 kB / 294.6 MB, free: 16.06 MB / 266.7 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 (12): * Single equations (assignments): 11 * 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 8.353e-05/0.1111, allocations: 86.95 kB / 294.7 MB, free: 16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.872e-05/0.1112, allocations: 149.7 kB / 294.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1112, allocations: 1.031 kB / 294.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.1113, allocations: 118 kB / 295 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.1114, allocations: 35.83 kB / 295 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.112, allocations: 308.6 kB / 295.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.949e-05/0.112, allocations: 73.56 kB / 295.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.238e-05/0.112, allocations: 12.84 kB / 295.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.982e-05/0.1121, allocations: 79.06 kB / 295.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of SimCode: time 5.92e-07/0.1121, allocations: 0 / 295.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of Templates: time 0.003747/0.1159, allocations: 2.035 MB / 297.5 MB, free: 15.16 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.621648450847715]