Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 105 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 216.8 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 230.2 MB / 256.2 MB, free: 8.578 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2001/0.2001, allocations: 46.9 MB / 359.3 MB, free: 4.938 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 75.86 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2521, allocations: 65.97 MB / 0.5584 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01133/0.2635, allocations: 10.18 MB / 0.5683 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00541/0.2689, allocations: 3.111 MB / 0.5714 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006528/0.2695, allocations: 51.94 kB / 0.5714 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004422/0.274, allocations: 2.64 MB / 0.574 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.2762, allocations: 1.203 MB / 0.5752 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.2769, allocations: 359.2 kB / 0.5755 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002992/0.2799, allocations: 2.547 MB / 0.578 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.2822, allocations: 2.121 MB / 0.5801 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.2833, allocations: 1.051 MB / 0.5811 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.2851, allocations: 1.488 MB / 0.5826 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003823/0.2854, allocations: 252 kB / 0.5828 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.2867, allocations: 0.784 MB / 0.5836 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.2879, allocations: 1.363 MB / 0.5849 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.2893, allocations: 1.557 MB / 0.5864 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.2943, allocations: 5.128 MB / 0.5914 GB, free: 3.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2943, allocations: 0 / 0.5914 GB, free: 3.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2943, allocations: 0 / 0.5914 GB, free: 3.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.874e-05/0.2943, allocations: 0 / 0.5914 GB, free: 3.215 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.004929/0.2993, allocations: 3.361 MB / 0.5947 GB, free: 15.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2993, allocations: 8.031 kB / 0.5947 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006155/0.2999, allocations: 0.5459 MB / 0.5953 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004953/0.3049, allocations: 1.629 MB / 0.5968 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.3072, allocations: 1.501 MB / 0.5983 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.3074, allocations: 184.7 kB / 0.5985 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003769/0.3077, allocations: 227.9 kB / 0.5987 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.3183, allocations: 7.106 MB / 0.6056 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.628e-05/0.3184, allocations: 11.88 kB / 0.6057 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/0.3187, allocations: 115.8 kB / 0.6058 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002219/0.3209, allocations: 1.439 MB / 0.6072 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.3311, allocations: 5.952 MB / 0.613 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02612/0.3572, allocations: 22.35 MB / 0.6348 GB, free: 5.738 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004317/0.3615, allocations: 2.113 MB / 0.6369 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009729/0.3625, allocations: 0.7134 MB / 0.6376 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005888/0.3684, allocations: 3.857 MB / 0.6413 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.3684, allocations: 43.06 kB / 0.6414 GB, free: 14.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 2.304e-06/0.3684, allocations: 0 / 0.6414 GB, free: 14.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.005798/0.3742, allocations: 2.26 MB / 0.6436 GB, free: 12.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3743, allocations: 59.97 kB / 0.6436 GB, free: 12.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/0.3767, allocations: 2.056 MB / 0.6457 GB, free: 10.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.3768, allocations: 41.64 kB / 0.6457 GB, free: 10.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.3781, allocations: 2.106 MB / 0.6477 GB, free: 8.164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/0.3784, allocations: 369.2 kB / 0.6481 GB, free: 7.801 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000728/0.3791, allocations: 0.6512 MB / 0.6487 GB, free: 7.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3793, allocations: 373.8 kB / 0.6491 GB, free: 6.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.3805, allocations: 0.9313 MB / 0.65 GB, free: 5.836 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/0.3832, allocations: 2.872 MB / 0.6528 GB, free: 2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/0.3876, allocations: 4.15 MB / 0.6569 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-05/0.3876, allocations: 20 kB / 0.6569 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005206/0.3928, allocations: 3.703 MB / 0.6605 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.3929, allocations: 36.03 kB / 0.6605 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.304e-05/0.3929, allocations: 68 kB / 0.6606 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-05/0.393, allocations: 92 kB / 0.6607 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.3948, allocations: 0.69 MB / 0.6614 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-05/0.3949, allocations: 135.5 kB / 0.6615 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.3966, allocations: 440.7 kB / 0.6619 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/0.3968, allocations: 200 kB / 0.6621 GB, free: 7.52 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (382): * Single equations (assignments): 377 * Array equations: 5 * 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 0.001926/0.3987, allocations: 1.519 MB / 0.6636 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.3989, allocations: 174.8 kB / 0.6637 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.3993, allocations: 214.2 kB / 0.6639 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.3993, allocations: 11.98 kB / 0.664 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.3993, allocations: 0 / 0.664 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.3993, allocations: 3.984 kB / 0.664 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006978/0.4063, allocations: 4.944 MB / 0.6688 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.4063, allocations: 8 kB / 0.6688 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.4068, allocations: 115.8 kB / 0.6689 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.4068, allocations: 12 kB / 0.6689 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.4068, allocations: 27.92 kB / 0.6689 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.545e-05/0.4068, allocations: 15.94 kB / 0.669 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.4068, allocations: 11.94 kB / 0.669 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.4085, allocations: 1.419 MB / 0.6704 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/0.4088, allocations: 291.5 kB / 0.6706 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.409, allocations: 27.97 kB / 0.6707 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/0.4095, allocations: 31.94 kB / 0.6707 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.4096, allocations: 75.69 kB / 0.6708 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/0.4097, allocations: 35.98 kB / 0.6708 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001889/0.4116, allocations: 1.452 MB / 0.6722 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4116, allocations: 0 / 0.6722 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002385/0.4139, allocations: 0.7824 MB / 0.673 GB, free: 12.02 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * Array equations: 3 * 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.001996/0.4159, allocations: 2.016 MB / 0.675 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002928/0.4189, allocations: 2.079 MB / 0.677 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4189, allocations: 0 / 0.677 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.4195, allocations: 477.4 kB / 0.6774 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.4207, allocations: 284.1 kB / 0.6777 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02971/0.4504, allocations: 23.21 MB / 0.7004 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/0.453, allocations: 2.514 MB / 0.7028 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002074/0.4551, allocations: 1.028 MB / 0.7038 GB, free: 9.617 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/0.4565, allocations: 1.206 MB / 0.705 GB, free: 8.41 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.4565, allocations: 0 / 0.705 GB, free: 8.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2558/0.7123, allocations: 37.09 MB / 0.7412 GB, free: 158 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/11.07, allocations: 5.141 kB / 0.7412 GB, free: 158 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.55390700699354]