Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr URDFModelica_main_URDFModelica.Robot.TestURDF.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.001336/0.001336, allocations: 111.5 kB / 17.13 MB, free: 6.008 MB / 14.72 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.001416/0.001416, allocations: 213.8 kB / 20.1 MB, free: 3.055 MB / 14.72 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 1.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/package.mo): time 0.129/0.129, allocations: 26.36 MB / 335.9 MB, free: 15.47 MB / 270.1 MB " [Timeout remaining time 180] Using package URDFModelica with version 0.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica 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(URDFModelica.Robot.TestURDF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="URDFModelica_main_URDFModelica.Robot.TestURDF") translateModel(URDFModelica.Robot.TestURDF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="URDFModelica_main_URDFModelica.Robot.TestURDF") [Timeout 660] "Notification: URDFModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 72.06 kB / 467.6 MB, free: 30.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09956, allocations: 58.82 MB / 0.5141 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(URDFModelica.Robot.TestURDF): time 0.002893/0.1025, allocations: 1.798 MB / 0.5159 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1038, allocations: 0.7605 MB / 0.5166 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.81e-05/0.1039, allocations: 11.88 kB / 0.5166 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.086e-05/0.104, allocations: 0 / 0.5166 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.474e-05/0.104, allocations: 3.938 kB / 0.5166 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.859e-06/0.104, allocations: 0 / 0.5166 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.1041, allocations: 19.86 kB / 0.5166 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.1041, allocations: 3.984 kB / 0.5166 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.829e-05/0.1041, allocations: 4 kB / 0.5166 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.388e-05/0.1042, allocations: 3.938 kB / 0.5166 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1042, allocations: 3.938 kB / 0.5166 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.471e-06/0.1042, allocations: 8 kB / 0.5167 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.1042, allocations: 0 / 0.5167 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.1042, allocations: 3.938 kB / 0.5167 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.572e-05/0.1043, allocations: 15.72 kB / 0.5167 GB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1043, allocations: 0 / 0.5167 GB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1043, allocations: 0 / 0.5167 GB, free: 10.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1043, allocations: 0 / 0.5167 GB, free: 10.58 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003876/0.1047, allocations: 327.4 kB / 0.517 GB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1047, allocations: 12.02 kB / 0.517 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.1048, allocations: 84.17 kB / 0.5171 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.105, allocations: 251.5 kB / 0.5173 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/0.105, allocations: 150.9 kB / 0.5175 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.1051, allocations: 150.9 kB / 0.5176 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.052e-05/0.1052, allocations: 109.3 kB / 0.5177 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/0.1052, allocations: 75.28 kB / 0.5178 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.569e-05/0.1053, allocations: 154.6 kB / 0.5179 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-05/0.1053, allocations: 158.5 kB / 0.5181 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.419e-05/0.1054, allocations: 154.5 kB / 0.5182 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.1057, allocations: 446 kB / 0.5187 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.1058, allocations: 169.1 kB / 0.5188 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.1059, allocations: 84.12 kB / 0.5189 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.1059, allocations: 75.28 kB / 0.519 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.106, allocations: 113.8 kB / 0.5191 GB, free: 7.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.106, allocations: 0 / 0.5191 GB, free: 7.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.908e-05/0.106, allocations: 33.64 kB / 0.5191 GB, free: 7.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.1061, allocations: 130.7 kB / 0.5192 GB, free: 7.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1063, allocations: 109.8 kB / 0.5193 GB, free: 7.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1063, allocations: 26.08 kB / 0.5194 GB, free: 7.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.1063, allocations: 88.14 kB / 0.5194 GB, free: 7.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-06/0.1063, allocations: 0 / 0.5194 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/0.1063, allocations: 9.719 kB / 0.5195 GB, free: 7.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1065, allocations: 326.8 kB / 0.5198 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-06/0.1065, allocations: 0 / 0.5198 GB, free: 7.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-06/0.1065, allocations: 4 kB / 0.5198 GB, free: 7.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.1065, allocations: 75.28 kB / 0.5198 GB, free: 7.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-05/0.1066, allocations: 79.22 kB / 0.5199 GB, free: 7.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.626e-05/0.1066, allocations: 33.64 kB / 0.5199 GB, free: 6.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.29e-05/0.1067, allocations: 83.22 kB / 0.52 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/0.1067, allocations: 75.28 kB / 0.5201 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.103e-05/0.1068, allocations: 158.5 kB / 0.5203 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.499e-05/0.1068, allocations: 87.39 kB / 0.5203 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-05/0.1069, allocations: 154.6 kB / 0.5205 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.107, allocations: 83.22 kB / 0.5206 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.107, allocations: 79.28 kB / 0.5206 GB, free: 6.277 MB / 382.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 (0): * Single equations (assignments): 0 * 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 0.0001355/0.1071, allocations: 258.2 kB / 0.5209 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.1072, allocations: 112.8 kB / 0.521 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.974e-05/0.1073, allocations: 116.5 kB / 0.5211 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.247e-05/0.1074, allocations: 180.3 kB / 0.5213 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.33e-05/0.1074, allocations: 180.2 kB / 0.5214 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.177e-05/0.1075, allocations: 184.2 kB / 0.5216 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.1078, allocations: 409.2 kB / 0.522 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.417e-05/0.1078, allocations: 105 kB / 0.5221 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.821e-05/0.1079, allocations: 109 kB / 0.5222 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.081e-05/0.108, allocations: 184.1 kB / 0.5224 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.481e-05/0.108, allocations: 180.3 kB / 0.5226 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.199e-05/0.1081, allocations: 180.2 kB / 0.5227 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.029e-05/0.1082, allocations: 180.3 kB / 0.5229 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.1084, allocations: 311.8 kB / 0.5232 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1085, allocations: 190 kB / 0.5234 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.6e-05/0.1086, allocations: 184.2 kB / 0.5236 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.1087, allocations: 105 kB / 0.5237 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.1087, allocations: 184.2 kB / 0.5238 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.1088, allocations: 105 kB / 0.5239 GB, free: 2.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.666e-05/0.1089, allocations: 91.27 kB / 0.524 GB, free: 2.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1089, allocations: 288 / 0.524 GB, free: 2.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1091, allocations: 0 / 0.524 GB, free: 2.574 MB / 382.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 (0): * Single equations (assignments): 0 * 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.0001266/0.1092, allocations: 167.1 kB / 0.5242 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.495e-05/0.1093, allocations: 3.938 kB / 0.5242 GB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1093, allocations: 7.938 kB / 0.5242 GB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.1093, allocations: 0 / 0.5242 GB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.1097, allocations: 463.6 kB / 0.5246 GB, free: 1.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.1099, allocations: 190 kB / 0.5248 GB, free: 1.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1102, allocations: 0.6729 MB / 0.5255 GB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.1103, allocations: 15.44 kB / 0.5255 GB, free: 1 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1103, allocations: 0 / 0.5255 GB, free: 1 MB / 382.1 MB Notification: Performance of Templates: time 0.001753/0.112, allocations: 408.3 kB / 0.5259 GB, free: 0.5977 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f URDFModelica_main_URDFModelica.Robot.TestURDF.makefile [Timeout 660] (rm -f URDFModelica_main_URDFModelica.Robot.TestURDF.pipe ; mkfifo URDFModelica_main_URDFModelica.Robot.TestURDF.pipe ; head -c 1048576 < URDFModelica_main_URDFModelica.Robot.TestURDF.pipe >> ../files/URDFModelica_main_URDFModelica.Robot.TestURDF.sim & ./URDFModelica_main_URDFModelica.Robot.TestURDF -abortSlowSimulation -alarm=480 -lv LOG_STATS > URDFModelica_main_URDFModelica.Robot.TestURDF.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.285002652002731] Failed to read output from testmodel.py, exit status != 0: 0.11945684999227524 0.132681039 0.025751540000000003 Calling exit ...