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.002001/0.002001, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002306/0.002306, allocations: 216.7 kB / 22.25 MB, free: 4.855 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.619/1.619, allocations: 230.6 MB / 256 MB, free: 7.789 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.1493/0.1493, allocations: 26.51 MB / 338.9 MB, free: 9.121 MB / 270.1 MB " [Timeout remaining time 179] Using package URDFModelica with version 0.3.4 (/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.002455/0.002455, allocations: 71.89 kB / 471.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5079/0.5103, allocations: 58.92 MB / 0.5183 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.instantiate(URDFModelica.Robot.TestURDF): time 0.003334/0.5137, allocations: 1.707 MB / 0.5199 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.5152, allocations: 0.7288 MB / 0.5207 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.5153, allocations: 2.188 kB / 0.5207 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.5154, allocations: 12.58 kB / 0.5207 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.67e-05/0.5154, allocations: 1.641 kB / 0.5207 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.532e-06/0.5154, allocations: 0 / 0.5207 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.323e-05/0.5155, allocations: 9.734 kB / 0.5207 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.804e-05/0.5156, allocations: 2.25 kB / 0.5207 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.915e-05/0.5156, allocations: 18.48 kB / 0.5207 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.5157, allocations: 6.641 kB / 0.5207 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.5157, allocations: 0 / 0.5207 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.169e-06/0.5157, allocations: 0 / 0.5207 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.5157, allocations: 1.094 kB / 0.5207 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.5157, allocations: 5.594 kB / 0.5207 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.312e-05/0.5158, allocations: 13.73 kB / 0.5207 GB, free: 7.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5158, allocations: 0 / 0.5207 GB, free: 7.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5158, allocations: 0 / 0.5207 GB, free: 7.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.5158, allocations: 1.156 kB / 0.5207 GB, free: 7.508 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.0003112/0.5161, allocations: 253.5 kB / 0.521 GB, free: 7.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.5161, allocations: 9.531 kB / 0.521 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.5162, allocations: 107.1 kB / 0.5211 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.5162, allocations: 82.3 kB / 0.5212 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.5164, allocations: 195.9 kB / 0.5213 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.5164, allocations: 152.8 kB / 0.5215 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.5164, allocations: 156.1 kB / 0.5216 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.883e-05/0.5165, allocations: 110.1 kB / 0.5217 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.5165, allocations: 77.09 kB / 0.5218 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.5166, allocations: 150.6 kB / 0.522 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.5166, allocations: 155.5 kB / 0.5221 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.289e-05/0.5166, allocations: 151.6 kB / 0.5223 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.5168, allocations: 425.8 kB / 0.5227 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.529e-05/0.5169, allocations: 173 kB / 0.5228 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.5169, allocations: 80.14 kB / 0.5229 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.517, allocations: 76.34 kB / 0.523 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.517, allocations: 111.7 kB / 0.5231 GB, free: 5.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.517, allocations: 4 kB / 0.5231 GB, free: 5 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.361e-05/0.5171, allocations: 32.62 kB / 0.5231 GB, free: 4.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.5171, allocations: 131.8 kB / 0.5232 GB, free: 4.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.5172, allocations: 116.8 kB / 0.5234 GB, free: 4.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.5173, allocations: 25.7 kB / 0.5234 GB, free: 4.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.5173, allocations: 87.08 kB / 0.5235 GB, free: 4.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.5173, allocations: 0 / 0.5235 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.5173, allocations: 11.64 kB / 0.5235 GB, free: 4.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.5174, allocations: 318.6 kB / 0.5238 GB, free: 4.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/0.5174, allocations: 0 / 0.5238 GB, free: 4.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-06/0.5174, allocations: 4.938 kB / 0.5238 GB, free: 4.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.718e-05/0.5174, allocations: 76.47 kB / 0.5239 GB, free: 4.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.5174, allocations: 75.28 kB / 0.5239 GB, free: 4.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.307e-05/0.5175, allocations: 42.23 kB / 0.524 GB, free: 4.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.5175, allocations: 81.89 kB / 0.524 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.5175, allocations: 80.41 kB / 0.5241 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.454e-05/0.5176, allocations: 152.5 kB / 0.5243 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.679e-05/0.5176, allocations: 81.31 kB / 0.5243 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.96e-05/0.5176, allocations: 155.8 kB / 0.5245 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.5177, allocations: 77.17 kB / 0.5246 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.5177, allocations: 80.78 kB / 0.5246 GB, free: 3.391 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.482e-05/0.5178, allocations: 266.9 kB / 0.5249 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.5178, allocations: 112.2 kB / 0.525 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.5179, allocations: 120.6 kB / 0.5251 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/0.5179, allocations: 178.5 kB / 0.5253 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-05/0.5179, allocations: 182.1 kB / 0.5255 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.854e-05/0.518, allocations: 178.8 kB / 0.5256 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.5181, allocations: 377.5 kB / 0.526 GB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/0.5181, allocations: 110.9 kB / 0.5261 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.5182, allocations: 101.9 kB / 0.5262 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.053e-05/0.5182, allocations: 182.4 kB / 0.5264 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.5182, allocations: 190.4 kB / 0.5266 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.164e-05/0.5183, allocations: 178.3 kB / 0.5267 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.163e-05/0.5183, allocations: 182.3 kB / 0.5269 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.662e-05/0.5184, allocations: 311.2 kB / 0.5272 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.5184, allocations: 109.4 kB / 0.5273 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.5185, allocations: 178 kB / 0.5275 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/0.5185, allocations: 107.5 kB / 0.5276 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.5186, allocations: 178.3 kB / 0.5277 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.529e-05/0.5187, allocations: 110.6 kB / 0.5278 GB, free: 15.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.359e-05/0.5187, allocations: 95.41 kB / 0.5279 GB, free: 15.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5187, allocations: 4 kB / 0.5279 GB, free: 15.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.519, allocations: 1.062 kB / 0.5279 GB, free: 15.88 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.000546/0.5195, allocations: 0.801 MB / 0.5287 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.413e-05/0.5196, allocations: 5.094 kB / 0.5287 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5196, allocations: 0 / 0.5287 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.5196, allocations: 0.9375 kB / 0.5287 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.5201, allocations: 459.8 kB / 0.5292 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.5215, allocations: 1.593 MB / 0.5307 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.951e-05/0.5215, allocations: 66.06 kB / 0.5308 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.738e-06/0.5216, allocations: 0 / 0.5308 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.5216, allocations: 13.7 kB / 0.5308 GB, free: 12.93 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5216, allocations: 0 / 0.5308 GB, free: 12.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.5518, allocations: 1.551 MB / 0.5323 GB, free: 12.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.14, allocations: 12.52 kB / 0.5323 GB, free: 12.14 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: 15.275601321831346] Failed to read output from testmodel.py, exit status != 0: 12.244928095024079 12.268801657 11.749075857 Calling exit ...