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.001328/0.001328, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001699/0.001699, allocations: 217.5 kB / 22.25 MB, free: 5.105 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.793 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.1388/0.1388, allocations: 26.35 MB / 338.8 MB, free: 9.281 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.002018/0.002018, allocations: 65.16 kB / 472 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3849, allocations: 58.86 MB / 0.5185 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(URDFModelica.Robot.TestURDF): time 0.002766/0.3877, allocations: 1.708 MB / 0.5201 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.389, allocations: 0.7263 MB / 0.5208 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.3891, allocations: 5.094 kB / 0.5208 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.526e-05/0.3892, allocations: 5 kB / 0.5208 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.521e-05/0.3892, allocations: 8.703 kB / 0.5209 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.179e-06/0.3892, allocations: 1.219 kB / 0.5209 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.761e-05/0.3893, allocations: 8.422 kB / 0.5209 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.3893, allocations: 7.656 kB / 0.5209 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.43e-05/0.3893, allocations: 5.953 kB / 0.5209 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.3894, allocations: 5.219 kB / 0.5209 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3894, allocations: 1.469 kB / 0.5209 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.587e-06/0.3894, allocations: 0 / 0.5209 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.3894, allocations: 4.594 kB / 0.5209 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.3894, allocations: 5.188 kB / 0.5209 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.318e-05/0.3895, allocations: 11.11 kB / 0.5209 GB, free: 7.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3895, allocations: 4 kB / 0.5209 GB, free: 7.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3895, allocations: 5.281 kB / 0.5209 GB, free: 7.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3895, allocations: 0 / 0.5209 GB, free: 7.809 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.0002807/0.3898, allocations: 250.8 kB / 0.5211 GB, free: 7.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3898, allocations: 9.094 kB / 0.5212 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.3898, allocations: 82.66 kB / 0.5212 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.39, allocations: 188 kB / 0.5214 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.39, allocations: 152.7 kB / 0.5216 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.39, allocations: 156.3 kB / 0.5217 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.545e-05/0.3901, allocations: 106 kB / 0.5218 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.3901, allocations: 76.41 kB / 0.5219 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.3901, allocations: 154.6 kB / 0.522 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.3902, allocations: 155.9 kB / 0.5222 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.705e-05/0.3902, allocations: 152.4 kB / 0.5223 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.3904, allocations: 401.3 kB / 0.5227 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.282e-05/0.3904, allocations: 167 kB / 0.5229 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.3904, allocations: 80.14 kB / 0.5229 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.3904, allocations: 81.27 kB / 0.523 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.3905, allocations: 111.5 kB / 0.5231 GB, free: 5.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3905, allocations: 3.938 kB / 0.5231 GB, free: 5.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.72e-05/0.3905, allocations: 36.38 kB / 0.5232 GB, free: 5.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.3906, allocations: 132.7 kB / 0.5233 GB, free: 5.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3907, allocations: 114.6 kB / 0.5234 GB, free: 5.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.3907, allocations: 25.7 kB / 0.5234 GB, free: 5.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.3907, allocations: 86.41 kB / 0.5235 GB, free: 5.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.203e-06/0.3907, allocations: 0 / 0.5235 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.3907, allocations: 12.12 kB / 0.5235 GB, free: 5.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.3908, allocations: 317.5 kB / 0.5238 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-06/0.3908, allocations: 0 / 0.5238 GB, free: 4.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-06/0.3908, allocations: 4.875 kB / 0.5238 GB, free: 4.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.396e-05/0.3908, allocations: 77.58 kB / 0.5239 GB, free: 4.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.3908, allocations: 75.28 kB / 0.524 GB, free: 4.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.416e-05/0.3909, allocations: 37.34 kB / 0.524 GB, free: 4.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.3909, allocations: 84.64 kB / 0.5241 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3909, allocations: 80.55 kB / 0.5242 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.522e-05/0.3909, allocations: 156.7 kB / 0.5243 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.27e-05/0.391, allocations: 81.45 kB / 0.5244 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/0.391, allocations: 156.6 kB / 0.5245 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.391, allocations: 77.28 kB / 0.5246 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.3911, allocations: 76.62 kB / 0.5247 GB, free: 3.855 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 6.027e-05/0.3911, allocations: 262.3 kB / 0.5249 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.3912, allocations: 109.2 kB / 0.525 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.3912, allocations: 124.6 kB / 0.5252 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/0.3912, allocations: 186.1 kB / 0.5253 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.784e-05/0.3912, allocations: 178.2 kB / 0.5255 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.668e-05/0.3913, allocations: 178.2 kB / 0.5257 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.3914, allocations: 360.5 kB / 0.526 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.3914, allocations: 102.8 kB / 0.5261 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.559e-05/0.3914, allocations: 106.9 kB / 0.5262 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.419e-05/0.3915, allocations: 178.1 kB / 0.5264 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.3915, allocations: 191.6 kB / 0.5266 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-05/0.3915, allocations: 181.8 kB / 0.5268 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.782e-05/0.3915, allocations: 185.6 kB / 0.5269 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.152e-05/0.3916, allocations: 307.8 kB / 0.5272 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.3916, allocations: 112.4 kB / 0.5273 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.3917, allocations: 178.7 kB / 0.5275 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.3917, allocations: 107.6 kB / 0.5276 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.3918, allocations: 181.9 kB / 0.5278 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3918, allocations: 103.1 kB / 0.5279 GB, free: 468 kB / 382.1 MB Notification: Performance of sorting global known variables: time 3.736e-05/0.3918, allocations: 93.48 kB / 0.528 GB, free: 384 kB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3918, allocations: 0 / 0.528 GB, free: 384 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3921, allocations: 0.9375 kB / 0.528 GB, free: 384 kB / 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 7.821e-05/0.3922, allocations: 170.1 kB / 0.5281 GB, free: 216 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.256e-05/0.3922, allocations: 9.484 kB / 0.5281 GB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3922, allocations: 1.125 kB / 0.5281 GB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.3922, allocations: 0 / 0.5281 GB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3926, allocations: 458.6 kB / 0.5286 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.3928, allocations: 173.4 kB / 0.5287 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.929e-05/0.3929, allocations: 60.56 kB / 0.5288 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.232e-05/0.3929, allocations: 1.781 kB / 0.5288 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.3929, allocations: 7.438 kB / 0.5288 GB, free: 15.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3929, allocations: 5.125 kB / 0.5288 GB, free: 15.49 MB / 398.1 MB Notification: Performance of Templates: time 0.002404/0.3953, allocations: 200.9 kB / 0.529 GB, free: 15.44 MB / 398.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: 4.836735364980996] Failed to read output from testmodel.py, exit status != 0: 0.40353590389713645 0.417823387 0.025428675 Calling exit ...