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.001456/0.001456, allocations: 110 kB / 16.46 MB, free: 6.453 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.001543/0.001543, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.436/1.436, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.1368/0.1368, allocations: 26.36 MB / 335.2 MB, free: 10.66 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.001987/0.001987, allocations: 75.89 kB / 466.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3189, allocations: 58.81 MB / 0.513 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(URDFModelica.Robot.TestURDF): time 0.00246/0.3214, allocations: 1.795 MB / 0.5147 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3225, allocations: 0.7628 MB / 0.5154 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/0.3226, allocations: 6.594 kB / 0.5155 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.214e-05/0.3227, allocations: 3.938 kB / 0.5155 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.292e-05/0.3227, allocations: 0.75 kB / 0.5155 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.988e-06/0.3227, allocations: 1.062 kB / 0.5155 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.179e-05/0.3227, allocations: 8.844 kB / 0.5155 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.3228, allocations: 2.719 kB / 0.5155 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.3228, allocations: 10.55 kB / 0.5155 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.08e-05/0.3228, allocations: 10 kB / 0.5155 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/0.3228, allocations: 4.375 kB / 0.5155 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-06/0.3228, allocations: 0 / 0.5155 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.3228, allocations: 4.875 kB / 0.5155 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.3229, allocations: 5.844 kB / 0.5155 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.337e-05/0.3229, allocations: 9.156 kB / 0.5155 GB, free: 6.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3229, allocations: 0 / 0.5155 GB, free: 6.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3229, allocations: 0 / 0.5155 GB, free: 6.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.3229, allocations: 0 / 0.5155 GB, free: 6.848 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.0002092/0.3231, allocations: 334.2 kB / 0.5158 GB, free: 6.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3232, allocations: 9.656 kB / 0.5158 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.352e-05/0.3232, allocations: 110 kB / 0.5159 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.3232, allocations: 82.3 kB / 0.516 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3233, allocations: 241.5 kB / 0.5163 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3234, allocations: 152.2 kB / 0.5164 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.3234, allocations: 155.6 kB / 0.5165 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.651e-05/0.3234, allocations: 114.5 kB / 0.5167 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3234, allocations: 75.28 kB / 0.5167 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.3234, allocations: 151.3 kB / 0.5169 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.3235, allocations: 151.9 kB / 0.517 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.975e-05/0.3235, allocations: 154.6 kB / 0.5172 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.3236, allocations: 453.1 kB / 0.5176 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.118e-05/0.3237, allocations: 171 kB / 0.5178 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.3237, allocations: 80.14 kB / 0.5178 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.3237, allocations: 78.61 kB / 0.5179 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.3237, allocations: 118.7 kB / 0.518 GB, free: 4.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.3237, allocations: 0 / 0.518 GB, free: 4.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 5.637e-05/0.3238, allocations: 32.59 kB / 0.5181 GB, free: 4.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.3238, allocations: 132 kB / 0.5182 GB, free: 3.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.3239, allocations: 114.2 kB / 0.5183 GB, free: 3.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-06/0.3239, allocations: 25.7 kB / 0.5183 GB, free: 3.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.3239, allocations: 90.16 kB / 0.5184 GB, free: 3.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.3239, allocations: 1.281 kB / 0.5184 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/0.3239, allocations: 15.34 kB / 0.5184 GB, free: 3.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.927e-05/0.324, allocations: 313.5 kB / 0.5187 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-06/0.324, allocations: 0 / 0.5187 GB, free: 3.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-06/0.324, allocations: 0.9375 kB / 0.5187 GB, free: 3.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.217e-05/0.324, allocations: 81.12 kB / 0.5188 GB, free: 3.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/0.324, allocations: 75.28 kB / 0.5189 GB, free: 3.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.398e-05/0.324, allocations: 37.89 kB / 0.5189 GB, free: 3.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3241, allocations: 80.31 kB / 0.519 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3241, allocations: 84.53 kB / 0.5191 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.3241, allocations: 152.2 kB / 0.5192 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.916e-06/0.3241, allocations: 81.05 kB / 0.5193 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.3241, allocations: 155.1 kB / 0.5194 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.3242, allocations: 76.77 kB / 0.5195 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3242, allocations: 81.22 kB / 0.5196 GB, free: 2.527 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 4.696e-05/0.3242, allocations: 267.1 kB / 0.5198 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.3243, allocations: 111.9 kB / 0.5199 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.3243, allocations: 115.2 kB / 0.5201 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.3243, allocations: 178.1 kB / 0.5202 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/0.3243, allocations: 185.6 kB / 0.5204 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/0.3244, allocations: 185.8 kB / 0.5206 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.3245, allocations: 405.6 kB / 0.521 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.3245, allocations: 106.2 kB / 0.5211 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.3245, allocations: 106.8 kB / 0.5212 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/0.3245, allocations: 178.2 kB / 0.5213 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.3245, allocations: 185.8 kB / 0.5215 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/0.3246, allocations: 177.9 kB / 0.5217 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-05/0.3246, allocations: 182.6 kB / 0.5219 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.3247, allocations: 306.8 kB / 0.5222 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.721e-05/0.3248, allocations: 188.8 kB / 0.5223 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/0.3249, allocations: 187.3 kB / 0.5225 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.325, allocations: 105.9 kB / 0.5226 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.3251, allocations: 177.5 kB / 0.5228 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.114e-05/0.3251, allocations: 103.2 kB / 0.5229 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.121e-05/0.3252, allocations: 93.58 kB / 0.523 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3252, allocations: 0 / 0.523 GB, free: 14.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.3254, allocations: 1.156 kB / 0.523 GB, free: 14.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.0004413/0.3259, allocations: 0.807 MB / 0.5238 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 3.53e-05/0.3259, allocations: 1.672 kB / 0.5238 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3259, allocations: 0 / 0.5238 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.536e-06/0.3259, allocations: 4.531 kB / 0.5238 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.3263, allocations: 463.1 kB / 0.5242 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.3276, allocations: 1.589 MB / 0.5258 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.3279, allocations: 0.677 MB / 0.5264 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.082e-05/0.3279, allocations: 1.938 kB / 0.5264 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.3279, allocations: 7.438 kB / 0.5264 GB, free: 11.31 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3279, allocations: 4 kB / 0.5264 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.3495, allocations: 1.028 MB / 0.5274 GB, free: 10.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.335/7.685, allocations: 9.359 kB / 0.5274 GB, free: 10.94 MB / 398.1 MB " [Timeout remaining time 652] (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: 10.316296486998908] Failed to read output from testmodel.py, exit status != 0: 7.757856800002628 7.773395144 7.447432376 Calling exit ...