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.002166/0.002166, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002707/0.002707, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.529/1.529, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.1419/0.1419, allocations: 26.35 MB / 335.2 MB, free: 10.68 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.002044/0.002044, allocations: 63.91 kB / 466.4 MB, free: 9.926 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4102, allocations: 58.83 MB / 0.513 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(URDFModelica.Robot.TestURDF): time 0.002711/0.4129, allocations: 1.786 MB / 0.5147 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.4141, allocations: 0.7652 MB / 0.5155 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.279e-05/0.4142, allocations: 5.156 kB / 0.5155 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.4144, allocations: 9.891 kB / 0.5155 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.416e-05/0.4144, allocations: 4.781 kB / 0.5155 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.769e-06/0.4144, allocations: 0 / 0.5155 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.234e-05/0.4144, allocations: 13.64 kB / 0.5155 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.4145, allocations: 2.688 kB / 0.5155 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.131e-05/0.4145, allocations: 3.031 kB / 0.5155 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.586e-05/0.4145, allocations: 7.594 kB / 0.5155 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.4146, allocations: 0 / 0.5155 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-06/0.4146, allocations: 1.25 kB / 0.5155 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.4146, allocations: 0.6562 kB / 0.5155 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.4146, allocations: 5.281 kB / 0.5155 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.177e-05/0.4146, allocations: 13.17 kB / 0.5155 GB, free: 6.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4146, allocations: 3.969 kB / 0.5155 GB, free: 6.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4146, allocations: 0 / 0.5155 GB, free: 6.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.4147, allocations: 1.188 kB / 0.5155 GB, free: 6.91 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.4149, allocations: 333.8 kB / 0.5158 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.415, allocations: 8.719 kB / 0.5158 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.415, allocations: 107.1 kB / 0.5159 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.415, allocations: 81.95 kB / 0.516 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.4152, allocations: 252.4 kB / 0.5163 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.4152, allocations: 154.9 kB / 0.5164 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.4152, allocations: 156 kB / 0.5166 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.38e-05/0.4153, allocations: 106 kB / 0.5167 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.4153, allocations: 76.88 kB / 0.5167 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.4153, allocations: 150.6 kB / 0.5169 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.4153, allocations: 154.6 kB / 0.517 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.585e-05/0.4154, allocations: 156.3 kB / 0.5172 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.4155, allocations: 448.2 kB / 0.5176 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.099e-05/0.4156, allocations: 171.1 kB / 0.5178 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.4156, allocations: 84.14 kB / 0.5178 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.4156, allocations: 77.41 kB / 0.5179 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.4157, allocations: 109.8 kB / 0.518 GB, free: 4.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.4157, allocations: 0 / 0.518 GB, free: 4.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.417e-05/0.4157, allocations: 36.77 kB / 0.5181 GB, free: 4.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.4158, allocations: 127.3 kB / 0.5182 GB, free: 4.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.4159, allocations: 114.1 kB / 0.5183 GB, free: 3.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-06/0.4159, allocations: 30.67 kB / 0.5183 GB, free: 3.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.4159, allocations: 86.5 kB / 0.5184 GB, free: 3.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.4159, allocations: 1.375 kB / 0.5184 GB, free: 3.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/0.4159, allocations: 9.719 kB / 0.5184 GB, free: 3.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.416, allocations: 313.5 kB / 0.5187 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-06/0.416, allocations: 0.9375 kB / 0.5187 GB, free: 3.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-06/0.416, allocations: 4.875 kB / 0.5187 GB, free: 3.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.582e-05/0.416, allocations: 76.91 kB / 0.5188 GB, free: 3.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.416, allocations: 79.28 kB / 0.5189 GB, free: 3.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.923e-05/0.4161, allocations: 39.22 kB / 0.5189 GB, free: 3.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4161, allocations: 80.56 kB / 0.519 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.4161, allocations: 76.95 kB / 0.5191 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.4161, allocations: 159.5 kB / 0.5192 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.104e-05/0.4161, allocations: 77.33 kB / 0.5193 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/0.4162, allocations: 155.1 kB / 0.5194 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.906e-05/0.4162, allocations: 84.94 kB / 0.5195 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.4162, allocations: 77.09 kB / 0.5196 GB, free: 2.59 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 5.838e-05/0.4163, allocations: 258.7 kB / 0.5198 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.4163, allocations: 120.9 kB / 0.5199 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.4164, allocations: 115.4 kB / 0.5201 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.4164, allocations: 183.4 kB / 0.5202 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.693e-05/0.4164, allocations: 185.5 kB / 0.5204 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.29e-05/0.4164, allocations: 178.4 kB / 0.5206 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.4166, allocations: 408.5 kB / 0.521 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.4166, allocations: 103.4 kB / 0.5211 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.4166, allocations: 109.8 kB / 0.5212 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.242e-05/0.4166, allocations: 185.3 kB / 0.5213 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.4167, allocations: 178.8 kB / 0.5215 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.699e-05/0.4167, allocations: 182.2 kB / 0.5217 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.622e-05/0.4167, allocations: 178.1 kB / 0.5219 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.4169, allocations: 313.2 kB / 0.5222 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.417, allocations: 185.6 kB / 0.5223 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.934e-05/0.4171, allocations: 182 kB / 0.5225 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.4172, allocations: 102.9 kB / 0.5226 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.125e-05/0.4173, allocations: 182.1 kB / 0.5228 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.4173, allocations: 110.9 kB / 0.5229 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.492e-05/0.4174, allocations: 84.55 kB / 0.523 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4174, allocations: 0.6875 kB / 0.523 GB, free: 14.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000244/0.4176, allocations: 0.7188 kB / 0.523 GB, free: 14.95 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.0004896/0.4181, allocations: 0.8118 MB / 0.5238 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.376e-05/0.4182, allocations: 4.562 kB / 0.5238 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.4182, allocations: 0.7188 kB / 0.5238 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.4182, allocations: 3.938 kB / 0.5238 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.4186, allocations: 455.4 kB / 0.5242 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.4199, allocations: 1.585 MB / 0.5258 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.4202, allocations: 0.6799 MB / 0.5264 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.131e-05/0.4202, allocations: 2.406 kB / 0.5264 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.4202, allocations: 12.23 kB / 0.5264 GB, free: 11.36 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4202, allocations: 0 / 0.5264 GB, free: 11.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.4449, allocations: 1.019 MB / 0.5274 GB, free: 11.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/8.908, allocations: 12.77 kB / 0.5274 GB, free: 11 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.664984144968912] Failed to read output from testmodel.py, exit status != 0: 8.976460797013715 9.002751407 8.582977551 Calling exit ...