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.0007847/0.0007847, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008529/0.0008529, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.94/0.94, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.08307/0.08307, allocations: 20.9 MB / 280.1 MB, free: 9.027 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.103e-06/1.103e-06, allocations: 3.938 kB / 413 MB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/1.998e-05, allocations: 2.281 kB / 413 MB, free: 15.76 MB / 394.7 MB Notification: Performance of NFInst.instantiate(URDFModelica.Robot.TestURDF): time 0.002179/0.002199, allocations: 1.705 MB / 414.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003321, allocations: 0.7338 MB / 415.5 MB, free: 13.3 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.003436, allocations: 4 kB / 415.5 MB, free: 13.3 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 8.987e-05/0.003526, allocations: 3.938 kB / 415.5 MB, free: 13.3 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 1.424e-05/0.00354, allocations: 7.875 kB / 415.5 MB, free: 13.29 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/0.003545, allocations: 0 / 415.5 MB, free: 13.29 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.356e-05/0.003598, allocations: 7.938 kB / 415.5 MB, free: 13.28 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.003647, allocations: 4 kB / 415.5 MB, free: 13.28 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.168e-05/0.003679, allocations: 3.984 kB / 415.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.553e-05/0.003714, allocations: 11.88 kB / 415.5 MB, free: 13.26 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.003731, allocations: 0 / 415.5 MB, free: 13.26 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-06/0.003734, allocations: 0 / 415.5 MB, free: 13.26 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.003745, allocations: 0 / 415.5 MB, free: 13.26 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.003765, allocations: 15.94 kB / 415.5 MB, free: 13.25 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 5.059e-05/0.003815, allocations: 7.984 kB / 415.5 MB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.003817, allocations: 0 / 415.5 MB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003817, allocations: 0 / 415.5 MB, free: 13.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.003822, allocations: 0 / 415.5 MB, free: 13.24 MB / 394.7 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.0002783/0.0041, allocations: 250.3 kB / 415.8 MB, free: 12.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.004152, allocations: 12.03 kB / 415.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/0.004198, allocations: 106 kB / 415.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.004241, allocations: 80.16 kB / 416 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.004742, allocations: 205 kB / 416.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.004785, allocations: 158.9 kB / 416.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.004829, allocations: 154.9 kB / 416.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.911e-05/0.004888, allocations: 101.5 kB / 416.6 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.004911, allocations: 79.47 kB / 416.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.004956, allocations: 154.7 kB / 416.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.004999, allocations: 154.6 kB / 417 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.988e-05/0.005049, allocations: 150.6 kB / 417.1 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.005297, allocations: 425 kB / 417.5 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.18e-05/0.005389, allocations: 177.1 kB / 417.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.00542, allocations: 80.14 kB / 417.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.005445, allocations: 75.28 kB / 417.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.005485, allocations: 113.8 kB / 418 MB, free: 10.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.005486, allocations: 0 / 418 MB, free: 10.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.25e-05/0.005548, allocations: 29.64 kB / 418 MB, free: 10.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.005604, allocations: 134.6 kB / 418.1 MB, free: 10.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.00572, allocations: 121.8 kB / 418.2 MB, free: 10.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.005729, allocations: 25.7 kB / 418.3 MB, free: 10.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.005766, allocations: 84.14 kB / 418.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.005768, allocations: 0 / 418.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.005784, allocations: 13.72 kB / 418.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.005879, allocations: 310.8 kB / 418.7 MB, free: 9.914 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-06/0.005884, allocations: 4 kB / 418.7 MB, free: 9.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-06/0.005888, allocations: 0 / 418.7 MB, free: 9.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/0.005915, allocations: 79.28 kB / 418.8 MB, free: 9.832 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.18e-05/0.005937, allocations: 79.28 kB / 418.8 MB, free: 9.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.76e-05/0.005985, allocations: 37.64 kB / 418.9 MB, free: 9.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.006018, allocations: 82.25 kB / 418.9 MB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/0.006046, allocations: 83.16 kB / 419 MB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.168e-05/0.006098, allocations: 154.6 kB / 419.2 MB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.195e-05/0.00612, allocations: 83.16 kB / 419.3 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.783e-05/0.006168, allocations: 150.6 kB / 419.4 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.006229, allocations: 75.28 kB / 419.5 MB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.006252, allocations: 87.22 kB / 419.6 MB, free: 9.008 MB / 394.7 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 9.319e-05/0.006346, allocations: 264.4 kB / 419.8 MB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.006387, allocations: 105 kB / 419.9 MB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.006435, allocations: 116.3 kB / 420 MB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.687e-05/0.006482, allocations: 180.3 kB / 420.2 MB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-05/0.006535, allocations: 184.2 kB / 420.4 MB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-05/0.006589, allocations: 184.3 kB / 420.6 MB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.00675, allocations: 376.3 kB / 420.9 MB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.221e-05/0.006783, allocations: 104.9 kB / 421 MB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.006808, allocations: 101 kB / 421.1 MB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.474e-05/0.006863, allocations: 188.2 kB / 421.3 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.006913, allocations: 180.2 kB / 421.5 MB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.044e-05/0.006964, allocations: 180.2 kB / 421.7 MB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.212e-05/0.007016, allocations: 188.2 kB / 421.9 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.007127, allocations: 303.7 kB / 422.2 MB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.007167, allocations: 109 kB / 422.3 MB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.00722, allocations: 180.2 kB / 422.4 MB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.76e-05/0.007277, allocations: 112.9 kB / 422.6 MB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.00733, allocations: 184.3 kB / 422.7 MB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.007357, allocations: 104.9 kB / 422.8 MB, free: 5.531 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.274e-05/0.00741, allocations: 95.58 kB / 422.9 MB, free: 5.438 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00741, allocations: 4 kB / 422.9 MB, free: 5.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.007569, allocations: 4 kB / 422.9 MB, free: 5.43 MB / 394.7 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.0006194/0.008189, allocations: 0.797 MB / 423.7 MB, free: 4.605 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.364e-05/0.008232, allocations: 12.38 kB / 423.7 MB, free: 4.594 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008234, allocations: 0 / 423.7 MB, free: 4.594 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.008235, allocations: 0 / 423.7 MB, free: 4.594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.008496, allocations: 455.7 kB / 424.2 MB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008862/0.009382, allocations: 1.597 MB / 425.8 MB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.416e-05/0.009426, allocations: 63.34 kB / 425.8 MB, free: 2.387 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.477e-06/0.009435, allocations: 4 kB / 425.9 MB, free: 2.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.009471, allocations: 16.42 kB / 425.9 MB, free: 2.367 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009472, allocations: 0 / 425.9 MB, free: 2.367 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.02514, allocations: 1.678 MB / 427.5 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.451/8.476, allocations: 10.8 kB / 427.6 MB, free: 0.7891 MB / 394.7 MB " [Timeout remaining time 651] (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: 10.505797103047371] Failed to read output from testmodel.py, exit status != 0: 8.554570326581597 8.56804331 8.561453 Calling exit ...