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.001791/0.001791, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00265/0.00265, allocations: 213.5 kB / 22.25 MB, free: 5.121 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.992 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.1432/0.1432, allocations: 26.36 MB / 338.8 MB, free: 9.469 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.002079/0.002079, allocations: 71.89 kB / 471.6 MB, free: 7.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4246, allocations: 58.85 MB / 0.518 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.instantiate(URDFModelica.Robot.TestURDF): time 0.00308/0.4277, allocations: 1.796 MB / 0.5198 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.429, allocations: 0.7691 MB / 0.5206 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.842e-05/0.4291, allocations: 5.438 kB / 0.5206 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.4292, allocations: 6 kB / 0.5206 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.469e-05/0.4292, allocations: 0.6562 kB / 0.5206 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.172e-06/0.4292, allocations: 4 kB / 0.5206 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.507e-05/0.4293, allocations: 13.12 kB / 0.5206 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.4293, allocations: 2 kB / 0.5206 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.228e-05/0.4293, allocations: 3.312 kB / 0.5206 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.905e-05/0.4294, allocations: 9.859 kB / 0.5206 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.4294, allocations: 0 / 0.5206 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-06/0.4294, allocations: 1.5 kB / 0.5206 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.739e-06/0.4294, allocations: 0 / 0.5206 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.4294, allocations: 5.312 kB / 0.5206 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.452e-05/0.4295, allocations: 17.31 kB / 0.5206 GB, free: 7.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4295, allocations: 0 / 0.5206 GB, free: 7.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4295, allocations: 1.125 kB / 0.5206 GB, free: 7.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.4295, allocations: 0 / 0.5206 GB, free: 7.48 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.0002799/0.4298, allocations: 264 kB / 0.5209 GB, free: 7.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4298, allocations: 13.41 kB / 0.5209 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.4298, allocations: 110 kB / 0.521 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.4299, allocations: 82.62 kB / 0.5211 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.43, allocations: 188.6 kB / 0.5212 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.4301, allocations: 153.4 kB / 0.5214 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.4301, allocations: 150.9 kB / 0.5215 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.282e-05/0.4301, allocations: 111.1 kB / 0.5216 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.4302, allocations: 75.28 kB / 0.5217 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.4302, allocations: 154.5 kB / 0.5219 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.4302, allocations: 151.6 kB / 0.522 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.992e-05/0.4302, allocations: 151.4 kB / 0.5222 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.4304, allocations: 423.9 kB / 0.5226 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.291e-05/0.4305, allocations: 170.9 kB / 0.5227 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.4305, allocations: 81.14 kB / 0.5228 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.4305, allocations: 79.22 kB / 0.5229 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.4306, allocations: 111.5 kB / 0.523 GB, free: 4.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.4306, allocations: 4 kB / 0.523 GB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.08e-05/0.4306, allocations: 32.5 kB / 0.523 GB, free: 4.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.4307, allocations: 127.3 kB / 0.5231 GB, free: 4.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.4308, allocations: 114.5 kB / 0.5232 GB, free: 4.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.094e-06/0.4308, allocations: 25.7 kB / 0.5233 GB, free: 4.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.4308, allocations: 87.64 kB / 0.5234 GB, free: 4.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.4308, allocations: 3.938 kB / 0.5234 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.4308, allocations: 11.25 kB / 0.5234 GB, free: 4.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.468e-05/0.4309, allocations: 317.3 kB / 0.5237 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-06/0.4309, allocations: 3.938 kB / 0.5237 GB, free: 4.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-06/0.4309, allocations: 2.656 kB / 0.5237 GB, free: 4.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.542e-05/0.4309, allocations: 79.22 kB / 0.5238 GB, free: 4.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.4309, allocations: 76.38 kB / 0.5238 GB, free: 4.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.087e-05/0.431, allocations: 37.36 kB / 0.5239 GB, free: 4.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.431, allocations: 83.94 kB / 0.5239 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.431, allocations: 84.92 kB / 0.524 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.956e-05/0.4311, allocations: 156.3 kB / 0.5242 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.306e-05/0.4311, allocations: 75.94 kB / 0.5242 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/0.4311, allocations: 156.4 kB / 0.5244 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.24e-05/0.4312, allocations: 76.91 kB / 0.5245 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.4312, allocations: 81.11 kB / 0.5245 GB, free: 3.355 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.035e-05/0.4313, allocations: 266.3 kB / 0.5248 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.4313, allocations: 114.9 kB / 0.5249 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.4313, allocations: 112.3 kB / 0.525 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/0.4314, allocations: 181.9 kB / 0.5252 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-05/0.4314, allocations: 177.9 kB / 0.5254 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.535e-05/0.4314, allocations: 185 kB / 0.5255 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.4316, allocations: 376.8 kB / 0.5259 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/0.4316, allocations: 103.3 kB / 0.526 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/0.4317, allocations: 114.7 kB / 0.5261 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.832e-05/0.4317, allocations: 177.7 kB / 0.5263 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.4317, allocations: 186.1 kB / 0.5264 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-05/0.4318, allocations: 186.2 kB / 0.5266 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.103e-05/0.4318, allocations: 177 kB / 0.5268 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.4319, allocations: 306.6 kB / 0.5271 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.432, allocations: 112.9 kB / 0.5272 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.432, allocations: 182.1 kB / 0.5274 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.093e-05/0.4321, allocations: 101.5 kB / 0.5275 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.4322, allocations: 186 kB / 0.5276 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-05/0.4322, allocations: 102.7 kB / 0.5277 GB, free: 15.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.558e-05/0.4323, allocations: 89.92 kB / 0.5278 GB, free: 15.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4323, allocations: 0 / 0.5278 GB, free: 15.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.4326, allocations: 5.062 kB / 0.5278 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.00065/0.4332, allocations: 0.8115 MB / 0.5286 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.077e-05/0.4333, allocations: 1.219 kB / 0.5286 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4333, allocations: 3.938 kB / 0.5286 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.4333, allocations: 0 / 0.5286 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.4337, allocations: 467.3 kB / 0.5291 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.4351, allocations: 1.578 MB / 0.5306 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.4355, allocations: 0.6757 MB / 0.5313 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.254e-05/0.4355, allocations: 1.656 kB / 0.5313 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.4355, allocations: 12.95 kB / 0.5313 GB, free: 12.27 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4355, allocations: 0 / 0.5313 GB, free: 12.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.462, allocations: 1.133 MB / 0.5324 GB, free: 11.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.95, allocations: 7.297 kB / 0.5324 GB, free: 11.89 MB / 398.1 MB " [Timeout remaining time 647] (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.839849121999578] Failed to read output from testmodel.py, exit status != 0: 13.049769736993767 13.082036367 12.645910146 Calling exit ...