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.001403/0.001403, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001721/0.001721, allocations: 214.8 kB / 22.25 MB, free: 5.078 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.996 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.1429/0.1429, allocations: 26.36 MB / 338.8 MB, free: 9.492 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.002067/0.002067, allocations: 67.83 kB / 471.6 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4603, allocations: 58.85 MB / 0.518 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFInst.instantiate(URDFModelica.Robot.TestURDF): time 0.003008/0.4634, allocations: 1.803 MB / 0.5198 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.4647, allocations: 0.771 MB / 0.5206 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.4648, allocations: 6.188 kB / 0.5206 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.4649, allocations: 3.938 kB / 0.5206 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.615e-05/0.4649, allocations: 2.062 kB / 0.5206 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.741e-06/0.4649, allocations: 0 / 0.5206 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.901e-05/0.465, allocations: 13.19 kB / 0.5206 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/0.4651, allocations: 3.281 kB / 0.5206 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/0.4651, allocations: 5.094 kB / 0.5206 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.769e-05/0.4651, allocations: 5.969 kB / 0.5206 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.4651, allocations: 1.125 kB / 0.5206 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.46e-06/0.4651, allocations: 0 / 0.5206 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.4652, allocations: 9.094 kB / 0.5206 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.4652, allocations: 5.812 kB / 0.5206 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.7e-05/0.4652, allocations: 16.69 kB / 0.5206 GB, free: 7.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4652, allocations: 0 / 0.5206 GB, free: 7.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4652, allocations: 0 / 0.5206 GB, free: 7.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.4652, allocations: 1.094 kB / 0.5206 GB, free: 7.461 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.0003139/0.4656, allocations: 259 kB / 0.5209 GB, free: 7.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.4656, allocations: 10.83 kB / 0.5209 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.4656, allocations: 106 kB / 0.521 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.4657, allocations: 85.88 kB / 0.5211 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.4658, allocations: 184 kB / 0.5212 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.4659, allocations: 156.2 kB / 0.5214 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.4659, allocations: 150.9 kB / 0.5215 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.365e-05/0.466, allocations: 107 kB / 0.5216 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.466, allocations: 79.22 kB / 0.5217 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.466, allocations: 155.3 kB / 0.5219 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.4661, allocations: 151.7 kB / 0.522 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.4661, allocations: 150.6 kB / 0.5222 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.4663, allocations: 421 kB / 0.5226 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.797e-05/0.4664, allocations: 175.1 kB / 0.5227 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.4664, allocations: 84.08 kB / 0.5228 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.4665, allocations: 76.08 kB / 0.5229 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.4665, allocations: 111 kB / 0.523 GB, free: 4.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4665, allocations: 0 / 0.523 GB, free: 4.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.75e-05/0.4666, allocations: 32.78 kB / 0.523 GB, free: 4.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.4667, allocations: 131.4 kB / 0.5231 GB, free: 4.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.4668, allocations: 114.1 kB / 0.5232 GB, free: 4.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.4668, allocations: 25.7 kB / 0.5233 GB, free: 4.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.4669, allocations: 87.78 kB / 0.5234 GB, free: 4.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.4669, allocations: 0 / 0.5234 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.4669, allocations: 15.45 kB / 0.5234 GB, free: 4.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.467, allocations: 313.4 kB / 0.5237 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-06/0.467, allocations: 3.938 kB / 0.5237 GB, free: 4.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-06/0.467, allocations: 4.938 kB / 0.5237 GB, free: 4.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.268e-05/0.467, allocations: 77.3 kB / 0.5238 GB, free: 4.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.751e-05/0.467, allocations: 75.28 kB / 0.5238 GB, free: 4.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.962e-05/0.4671, allocations: 42.27 kB / 0.5239 GB, free: 4.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.4671, allocations: 79.94 kB / 0.5239 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.4672, allocations: 80.91 kB / 0.524 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.251e-05/0.4672, allocations: 156.3 kB / 0.5242 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-05/0.4672, allocations: 84.78 kB / 0.5242 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.672e-05/0.4673, allocations: 156.4 kB / 0.5244 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.433e-05/0.4673, allocations: 75.28 kB / 0.5245 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.4674, allocations: 80.84 kB / 0.5245 GB, free: 3.336 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 8.326e-05/0.4674, allocations: 258.5 kB / 0.5248 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.4675, allocations: 120.4 kB / 0.5249 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.4676, allocations: 112.3 kB / 0.525 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-05/0.4676, allocations: 181.9 kB / 0.5252 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.781e-05/0.4676, allocations: 178.4 kB / 0.5254 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.839e-05/0.4677, allocations: 182.1 kB / 0.5255 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.4678, allocations: 376 kB / 0.5259 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/0.4679, allocations: 106.6 kB / 0.526 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.4679, allocations: 114.6 kB / 0.5261 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.348e-05/0.4679, allocations: 177.8 kB / 0.5263 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.468, allocations: 186 kB / 0.5264 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-05/0.468, allocations: 178.1 kB / 0.5266 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.47e-05/0.468, allocations: 186.1 kB / 0.5268 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.027e-05/0.4681, allocations: 302.2 kB / 0.5271 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.4682, allocations: 112.7 kB / 0.5272 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.4682, allocations: 178 kB / 0.5274 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.4683, allocations: 106.7 kB / 0.5275 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.4684, allocations: 188.9 kB / 0.5276 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.972e-05/0.4685, allocations: 102.9 kB / 0.5277 GB, free: 15.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.4686, allocations: 89.39 kB / 0.5278 GB, free: 15.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4686, allocations: 0 / 0.5278 GB, free: 15.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.4689, allocations: 5.312 kB / 0.5278 GB, free: 15.83 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.0006608/0.4695, allocations: 0.8064 MB / 0.5286 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.632e-05/0.4696, allocations: 5.125 kB / 0.5286 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4696, allocations: 0 / 0.5286 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.509e-06/0.4696, allocations: 5.812 kB / 0.5286 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.4701, allocations: 460.3 kB / 0.5291 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.4718, allocations: 1.586 MB / 0.5306 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.4722, allocations: 0.6765 MB / 0.5313 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.184e-05/0.4722, allocations: 1.094 kB / 0.5313 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.4722, allocations: 12.14 kB / 0.5313 GB, free: 12.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4722, allocations: 0.8438 kB / 0.5313 GB, free: 12.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.502, allocations: 1.131 MB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.24, allocations: 9.031 kB / 0.5324 GB, free: 11.88 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.147427027812228] Failed to read output from testmodel.py, exit status != 0: 12.344573843060061 12.366862067 11.897283766 Calling exit ...