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.001346/0.001346, allocations: 106.6 kB / 18.94 MB, free: 2.957 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.001578/0.001578, allocations: 223.9 kB / 22.26 MB, free: 5.129 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 8.016 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.148/0.148, allocations: 26.37 MB / 338.8 MB, free: 9.477 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.002104/0.002104, allocations: 63.91 kB / 472.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4106, allocations: 58.86 MB / 0.5185 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(URDFModelica.Robot.TestURDF): time 0.003094/0.4137, allocations: 1.804 MB / 0.5203 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.415, allocations: 0.7698 MB / 0.5211 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.87e-05/0.4151, allocations: 5.031 kB / 0.5211 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.4152, allocations: 6 kB / 0.5211 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.363e-05/0.4152, allocations: 0.6094 kB / 0.5211 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.861e-06/0.4152, allocations: 0 / 0.5211 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.119e-05/0.4153, allocations: 12.75 kB / 0.5211 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.253e-05/0.4153, allocations: 2.703 kB / 0.5211 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.4153, allocations: 6.938 kB / 0.5211 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.489e-05/0.4154, allocations: 10.03 kB / 0.5211 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.4154, allocations: 0 / 0.5211 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-06/0.4154, allocations: 1.125 kB / 0.5211 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.4154, allocations: 0 / 0.5211 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.4154, allocations: 9.547 kB / 0.5211 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.993e-05/0.4155, allocations: 10.56 kB / 0.5211 GB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4155, allocations: 0 / 0.5211 GB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4155, allocations: 0 / 0.5211 GB, free: 7.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.4155, allocations: 1.094 kB / 0.5211 GB, free: 7.754 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.0002785/0.4158, allocations: 251.6 kB / 0.5214 GB, free: 7.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4158, allocations: 14.16 kB / 0.5214 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.4159, allocations: 82.05 kB / 0.5215 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.416, allocations: 191.8 kB / 0.5216 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.416, allocations: 151.5 kB / 0.5218 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.4161, allocations: 152.2 kB / 0.5219 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.479e-05/0.4161, allocations: 106.2 kB / 0.522 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.4161, allocations: 80.5 kB / 0.5221 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.4162, allocations: 150.6 kB / 0.5223 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.4162, allocations: 150.6 kB / 0.5224 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/0.4162, allocations: 160.3 kB / 0.5225 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.4164, allocations: 423.7 kB / 0.523 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.659e-05/0.4165, allocations: 170.4 kB / 0.5231 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.4165, allocations: 84.73 kB / 0.5232 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.4165, allocations: 76.47 kB / 0.5233 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.4165, allocations: 115.7 kB / 0.5234 GB, free: 5.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.4165, allocations: 0 / 0.5234 GB, free: 5.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.92e-05/0.4166, allocations: 35.48 kB / 0.5234 GB, free: 5.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.4166, allocations: 128 kB / 0.5235 GB, free: 5.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.4168, allocations: 114.5 kB / 0.5236 GB, free: 5.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.4168, allocations: 25.7 kB / 0.5237 GB, free: 5.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.4168, allocations: 90.06 kB / 0.5238 GB, free: 4.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.4168, allocations: 0 / 0.5238 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.4168, allocations: 11.77 kB / 0.5238 GB, free: 4.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.237e-05/0.4169, allocations: 314.8 kB / 0.5241 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-06/0.4169, allocations: 7.938 kB / 0.5241 GB, free: 4.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-06/0.4169, allocations: 0.9375 kB / 0.5241 GB, free: 4.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.597e-05/0.4169, allocations: 79.22 kB / 0.5241 GB, free: 4.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.4169, allocations: 80.41 kB / 0.5242 GB, free: 4.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.959e-05/0.417, allocations: 37.53 kB / 0.5243 GB, free: 4.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.417, allocations: 85 kB / 0.5243 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.417, allocations: 77.05 kB / 0.5244 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.055e-05/0.4171, allocations: 160.3 kB / 0.5246 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.239e-05/0.4171, allocations: 76.38 kB / 0.5246 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/0.4171, allocations: 155.1 kB / 0.5248 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.4172, allocations: 77.14 kB / 0.5249 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.4172, allocations: 77.12 kB / 0.5249 GB, free: 3.746 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 7.231e-05/0.4172, allocations: 263.1 kB / 0.5252 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.4173, allocations: 118.8 kB / 0.5253 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.4173, allocations: 112.1 kB / 0.5254 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/0.4173, allocations: 182 kB / 0.5256 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.235e-05/0.4174, allocations: 177.9 kB / 0.5258 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.802e-05/0.4174, allocations: 182 kB / 0.5259 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.4176, allocations: 385.2 kB / 0.5263 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/0.4176, allocations: 101.6 kB / 0.5264 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.4176, allocations: 107.1 kB / 0.5265 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.59e-05/0.4177, allocations: 181.7 kB / 0.5267 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.4177, allocations: 182.2 kB / 0.5268 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.551e-05/0.4177, allocations: 181.7 kB / 0.527 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.315e-05/0.4178, allocations: 186.6 kB / 0.5272 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.815e-05/0.4178, allocations: 305.9 kB / 0.5275 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.4179, allocations: 112.2 kB / 0.5276 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.4179, allocations: 178.4 kB / 0.5278 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.418, allocations: 110.7 kB / 0.5279 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.418, allocations: 182.1 kB / 0.528 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.418, allocations: 102.7 kB / 0.5281 GB, free: 320 kB / 382.1 MB Notification: Performance of sorting global known variables: time 4.303e-05/0.4181, allocations: 88.84 kB / 0.5282 GB, free: 240 kB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4181, allocations: 1.188 kB / 0.5282 GB, free: 240 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.4183, allocations: 1.438 kB / 0.5282 GB, free: 240 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 9.402e-05/0.4184, allocations: 169 kB / 0.5284 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.491e-05/0.4185, allocations: 5.25 kB / 0.5284 GB, free: 68 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4185, allocations: 3.938 kB / 0.5284 GB, free: 64 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.4185, allocations: 1.031 kB / 0.5284 GB, free: 64 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.419, allocations: 457.4 kB / 0.5288 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.4192, allocations: 170.6 kB / 0.529 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.4196, allocations: 0.6795 MB / 0.5297 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.417e-05/0.4196, allocations: 2.516 kB / 0.5297 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.4197, allocations: 7.438 kB / 0.5297 GB, free: 14.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4197, allocations: 0 / 0.5297 GB, free: 14.73 MB / 398.1 MB Notification: Performance of Templates: time 0.002875/0.4225, allocations: 186.8 kB / 0.5298 GB, free: 14.68 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: 5.110945802181959] Failed to read output from testmodel.py, exit status != 0: 0.43209689389914274 0.44814620200000005 0.029329973000000002 Calling exit ...