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.001327/0.001327, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.001529/0.001529, allocations: 221.6 kB / 22.25 MB, free: 5.098 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.836 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.1391/0.1391, allocations: 26.36 MB / 338.8 MB, free: 9.348 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: "" <> buildModelFMU(URDFModelica.Robot.TestURDF,fileNamePrefix="URDFModelica_main_URDFModelica_Robot_TestURDF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(URDFModelica.Robot.TestURDF,fileNamePrefix="URDFModelica_main_URDFModelica_Robot_TestURDF",fmuType="me",version="2.0",platforms={"static"}) [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.002027/0.002027, allocations: 67.89 kB / 471.5 MB, free: 7.414 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4796, allocations: 58.86 MB / 0.518 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.instantiate(URDFModelica.Robot.TestURDF): time 0.002809/0.4824, allocations: 1.705 MB / 0.5196 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.4837, allocations: 0.7364 MB / 0.5203 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.435e-05/0.4838, allocations: 5.094 kB / 0.5204 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.4839, allocations: 5.922 kB / 0.5204 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.327e-05/0.484, allocations: 3.938 kB / 0.5204 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.39e-06/0.484, allocations: 0 / 0.5204 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.484, allocations: 10.06 kB / 0.5204 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.4841, allocations: 2.969 kB / 0.5204 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.288e-05/0.4841, allocations: 9.734 kB / 0.5204 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.826e-05/0.4841, allocations: 3.125 kB / 0.5204 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.4842, allocations: 3.938 kB / 0.5204 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.907e-06/0.4842, allocations: 0 / 0.5204 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.4842, allocations: 4.984 kB / 0.5204 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.4842, allocations: 5.031 kB / 0.5204 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.835e-05/0.4842, allocations: 8.922 kB / 0.5204 GB, free: 7.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4843, allocations: 5.156 kB / 0.5204 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.4843, allocations: 0 / 0.5204 GB, free: 7.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.4843, allocations: 0 / 0.5204 GB, free: 7.578 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.000305/0.4846, allocations: 252.2 kB / 0.5207 GB, free: 7.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4846, allocations: 9.125 kB / 0.5207 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.4847, allocations: 111.6 kB / 0.5208 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.4847, allocations: 85.39 kB / 0.5209 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.4848, allocations: 192.8 kB / 0.521 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.4849, allocations: 152.9 kB / 0.5212 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.4849, allocations: 152.1 kB / 0.5213 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.577e-05/0.4849, allocations: 111.2 kB / 0.5214 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.4849, allocations: 76.5 kB / 0.5215 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.485, allocations: 152.3 kB / 0.5216 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.485, allocations: 154.6 kB / 0.5218 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.485, allocations: 155.7 kB / 0.5219 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.4852, allocations: 421.2 kB / 0.5223 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.148e-05/0.4853, allocations: 167.5 kB / 0.5225 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.4853, allocations: 80.14 kB / 0.5226 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.4853, allocations: 76.31 kB / 0.5227 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.4854, allocations: 116.7 kB / 0.5228 GB, free: 5.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.4854, allocations: 7.938 kB / 0.5228 GB, free: 5.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.133e-05/0.4854, allocations: 28.58 kB / 0.5228 GB, free: 5.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.4855, allocations: 131.5 kB / 0.5229 GB, free: 4.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.4856, allocations: 110.2 kB / 0.523 GB, free: 4.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.4856, allocations: 26.95 kB / 0.5231 GB, free: 4.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.4856, allocations: 86.11 kB / 0.5231 GB, free: 4.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.4856, allocations: 0 / 0.5231 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.4856, allocations: 12.62 kB / 0.5232 GB, free: 4.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.749e-05/0.4857, allocations: 317.7 kB / 0.5235 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.4857, allocations: 0 / 0.5235 GB, free: 4.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-06/0.4857, allocations: 2.031 kB / 0.5235 GB, free: 4.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.61e-05/0.4857, allocations: 87.22 kB / 0.5235 GB, free: 4.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.4857, allocations: 76.34 kB / 0.5236 GB, free: 4.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.561e-05/0.4858, allocations: 38.27 kB / 0.5237 GB, free: 4.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.4858, allocations: 80.59 kB / 0.5237 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.4858, allocations: 77.45 kB / 0.5238 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.317e-05/0.4859, allocations: 156.5 kB / 0.524 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.591e-05/0.4859, allocations: 76.34 kB / 0.524 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-05/0.4859, allocations: 156.5 kB / 0.5242 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.486, allocations: 80.31 kB / 0.5242 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.486, allocations: 81.23 kB / 0.5243 GB, free: 3.465 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.962e-05/0.4861, allocations: 263.4 kB / 0.5246 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.4861, allocations: 116.2 kB / 0.5247 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.4861, allocations: 111.7 kB / 0.5248 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.764e-05/0.4862, allocations: 185.5 kB / 0.525 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.343e-05/0.4862, allocations: 183.1 kB / 0.5251 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.443e-05/0.4862, allocations: 178.1 kB / 0.5253 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.4864, allocations: 383.2 kB / 0.5257 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.4864, allocations: 101.6 kB / 0.5258 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.4864, allocations: 110.1 kB / 0.5259 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.004e-05/0.4865, allocations: 177.9 kB / 0.5261 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.4865, allocations: 186 kB / 0.5262 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.077e-05/0.4865, allocations: 182.9 kB / 0.5264 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.231e-05/0.4866, allocations: 182.4 kB / 0.5266 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.706e-05/0.4866, allocations: 302.8 kB / 0.5269 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.4867, allocations: 120.7 kB / 0.527 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.4867, allocations: 182.2 kB / 0.5272 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.4868, allocations: 102.9 kB / 0.5273 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.4868, allocations: 182.4 kB / 0.5274 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.4868, allocations: 102.7 kB / 0.5275 GB, free: 40 kB / 382.1 MB Notification: Performance of sorting global known variables: time 8.898e-05/0.4869, allocations: 90.42 kB / 0.5276 GB, free: 15.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4869, allocations: 0 / 0.5276 GB, free: 15.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.4872, allocations: 5.094 kB / 0.5276 GB, free: 15.96 MB / 398.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.0004662/0.4877, allocations: 0.8049 MB / 0.5284 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 3.755e-05/0.4877, allocations: 1.156 kB / 0.5284 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4877, allocations: 0 / 0.5284 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.4877, allocations: 0.5625 kB / 0.5284 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.4881, allocations: 459.9 kB / 0.5288 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.4895, allocations: 1.585 MB / 0.5304 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.595e-05/0.4896, allocations: 60.44 kB / 0.5304 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.246e-06/0.4896, allocations: 5.281 kB / 0.5305 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.4896, allocations: 9.328 kB / 0.5305 GB, free: 13.02 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4896, allocations: 0 / 0.5305 GB, free: 13.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.5207, allocations: 1.558 MB / 0.532 GB, free: 12.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.04, allocations: 6.891 kB / 0.532 GB, free: 12.23 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_URDFModelica_main_URDFModelica_Robot_TestURDF_fmu --startTime=0 --stopTime=25 --stepSize=0.05 --timeout=50 --tolerance=1e-06 URDFModelica_main_URDFModelica_Robot_TestURDF.fmu > URDFModelica_main_URDFModelica.Robot.TestURDF.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.975223495013779] Failed to read output from testmodel.py, exit status != 0: 12.147596641007112 12.176965622 11.687140663 Calling exit ...