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.001498/0.001498, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002175/0.002175, allocations: 209.5 kB / 22.24 MB, free: 5.262 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.652/1.652, allocations: 230.6 MB / 256 MB, free: 7.734 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.1396/0.1396, allocations: 26.51 MB / 338.9 MB, free: 9.102 MB / 270.1 MB " [Timeout remaining time 180] 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.002207/0.002207, allocations: 63.89 kB / 471.8 MB, free: 7.105 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4881/0.4903, allocations: 58.9 MB / 0.5183 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(URDFModelica.Robot.TestURDF): time 0.003132/0.4935, allocations: 1.713 MB / 0.5199 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.4949, allocations: 0.7379 MB / 0.5207 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-05/0.4949, allocations: 1.125 kB / 0.5207 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.4951, allocations: 5.953 kB / 0.5207 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.65e-05/0.4951, allocations: 4.5 kB / 0.5207 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.56e-06/0.4951, allocations: 0 / 0.5207 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.821e-05/0.4952, allocations: 10.08 kB / 0.5207 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.4952, allocations: 3.828 kB / 0.5207 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.991e-05/0.4952, allocations: 9.281 kB / 0.5207 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.4953, allocations: 9.797 kB / 0.5207 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.4953, allocations: 1.25 kB / 0.5207 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-06/0.4953, allocations: 4 kB / 0.5207 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.4953, allocations: 0 / 0.5207 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.4953, allocations: 9.141 kB / 0.5207 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.635e-05/0.4954, allocations: 11.25 kB / 0.5207 GB, free: 7.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4954, allocations: 0 / 0.5207 GB, free: 7.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4954, allocations: 0 / 0.5207 GB, free: 7.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.4954, allocations: 0 / 0.5207 GB, free: 7.469 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.0003099/0.4957, allocations: 254.2 kB / 0.521 GB, free: 7.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.4957, allocations: 9.156 kB / 0.521 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.4958, allocations: 109 kB / 0.5211 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.4958, allocations: 81.25 kB / 0.5212 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.496, allocations: 194 kB / 0.5213 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.496, allocations: 150.9 kB / 0.5215 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.496, allocations: 153 kB / 0.5216 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.023e-05/0.4961, allocations: 110.3 kB / 0.5217 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.4961, allocations: 79.22 kB / 0.5218 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.4961, allocations: 152.7 kB / 0.522 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.4961, allocations: 150.6 kB / 0.5221 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.4962, allocations: 159.9 kB / 0.5223 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.4964, allocations: 421 kB / 0.5227 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.726e-05/0.4965, allocations: 171.3 kB / 0.5228 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.4965, allocations: 81.48 kB / 0.5229 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.4965, allocations: 79.28 kB / 0.523 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.4965, allocations: 113.1 kB / 0.5231 GB, free: 4.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.4965, allocations: 0 / 0.5231 GB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.286e-05/0.4966, allocations: 32.58 kB / 0.5231 GB, free: 4.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.4967, allocations: 131.6 kB / 0.5232 GB, free: 4.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.4968, allocations: 115.4 kB / 0.5234 GB, free: 4.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.4968, allocations: 25.7 kB / 0.5234 GB, free: 4.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.4968, allocations: 88.14 kB / 0.5235 GB, free: 4.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.4968, allocations: 0 / 0.5235 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.4968, allocations: 11.09 kB / 0.5235 GB, free: 4.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.4969, allocations: 322.9 kB / 0.5238 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-06/0.4969, allocations: 0 / 0.5238 GB, free: 4.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-06/0.4969, allocations: 0.9375 kB / 0.5238 GB, free: 4.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.233e-05/0.4969, allocations: 77.5 kB / 0.5239 GB, free: 4.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/0.497, allocations: 75.28 kB / 0.5239 GB, free: 4.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.031e-05/0.497, allocations: 42.48 kB / 0.524 GB, free: 4.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.497, allocations: 80.41 kB / 0.524 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.4971, allocations: 81.05 kB / 0.5241 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.432e-05/0.4971, allocations: 152.4 kB / 0.5243 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.808e-05/0.4971, allocations: 81.22 kB / 0.5243 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.413e-05/0.4971, allocations: 152.7 kB / 0.5245 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.4972, allocations: 83.28 kB / 0.5246 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.4972, allocations: 85.2 kB / 0.5246 GB, free: 3.348 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.085e-05/0.4973, allocations: 259.8 kB / 0.5249 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.4973, allocations: 108.5 kB / 0.525 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.4974, allocations: 115.8 kB / 0.5251 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-05/0.4974, allocations: 183.5 kB / 0.5253 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.499e-05/0.4974, allocations: 182.4 kB / 0.5255 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.903e-05/0.4975, allocations: 181 kB / 0.5256 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.4976, allocations: 381.6 kB / 0.526 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/0.4977, allocations: 111.4 kB / 0.5261 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.4977, allocations: 105.7 kB / 0.5262 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-05/0.4977, allocations: 182.5 kB / 0.5264 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/0.4978, allocations: 186.6 kB / 0.5266 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.137e-05/0.4978, allocations: 178.5 kB / 0.5267 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.213e-05/0.4978, allocations: 182.4 kB / 0.5269 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.494e-05/0.4979, allocations: 311 kB / 0.5272 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.4979, allocations: 108.9 kB / 0.5273 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.498, allocations: 178.4 kB / 0.5275 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.4981, allocations: 106.8 kB / 0.5276 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.4981, allocations: 179 kB / 0.5277 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.4982, allocations: 106.5 kB / 0.5278 GB, free: 15.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.278e-05/0.4982, allocations: 99.17 kB / 0.5279 GB, free: 15.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4982, allocations: 0 / 0.5279 GB, free: 15.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.4986, allocations: 1.375 kB / 0.5279 GB, free: 15.84 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.0005485/0.4991, allocations: 0.8008 MB / 0.5287 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.312e-05/0.4992, allocations: 5.609 kB / 0.5287 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4992, allocations: 0 / 0.5287 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.826e-06/0.4992, allocations: 1.219 kB / 0.5287 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.4997, allocations: 458.6 kB / 0.5292 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.5012, allocations: 1.594 MB / 0.5307 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.561e-05/0.5013, allocations: 65.62 kB / 0.5308 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.131e-05/0.5013, allocations: 1.609 kB / 0.5308 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.5013, allocations: 12 kB / 0.5308 GB, free: 12.89 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5013, allocations: 0 / 0.5308 GB, free: 12.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.5321, allocations: 1.554 MB / 0.5323 GB, free: 12.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.32, allocations: 3.875 kB / 0.5323 GB, free: 12.11 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 & python3 -m fmpy simulate --output-file URDFModelica_main_URDFModelica.Robot.TestURDF_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 URDFModelica_main_URDFModelica_Robot_TestURDF.fmu > URDFModelica_main_URDFModelica.Robot.TestURDF.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.495772646274418] Failed to read output from testmodel.py, exit status != 0: 12.427344528026879 12.445586851 11.946722772 Calling exit ...