Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.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.00144/0.00144, 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.001603/0.001603, allocations: 218.4 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.331/1.331, 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.203/0.203, allocations: 46.89 MB / 359.3 MB, free: 4.945 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.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque2",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.002088/0.002088, allocations: 87.84 kB / 0.494 GB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2593, allocations: 65.98 MB / 0.5584 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01086/0.2702, allocations: 9.589 MB / 0.5678 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005427/0.2756, allocations: 2.959 MB / 0.5707 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009349/0.2765, allocations: 51.88 kB / 0.5707 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003625/0.2801, allocations: 2.025 MB / 0.5727 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.2825, allocations: 1.133 MB / 0.5738 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.2831, allocations: 283.4 kB / 0.5741 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002754/0.2859, allocations: 2.329 MB / 0.5763 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.2877, allocations: 1.625 MB / 0.5779 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009584/0.2887, allocations: 0.88 MB / 0.5788 GB, free: 188 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.2902, allocations: 1.242 MB / 0.58 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003223/0.2905, allocations: 192 kB / 0.5802 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.2916, allocations: 0.7255 MB / 0.5809 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009788/0.2926, allocations: 1.145 MB / 0.582 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.2939, allocations: 1.308 MB / 0.5833 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.2981, allocations: 4.326 MB / 0.5875 GB, free: 7.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2981, allocations: 0 / 0.5875 GB, free: 7.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2981, allocations: 0 / 0.5875 GB, free: 7.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.108e-05/0.2982, allocations: 0 / 0.5875 GB, free: 7.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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004324/0.3025, allocations: 2.956 MB / 0.5904 GB, free: 4.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3026, allocations: 8.031 kB / 0.5904 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005473/0.3031, allocations: 483.1 kB / 0.5909 GB, free: 3.711 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00487/0.308, allocations: 1.574 MB / 0.5924 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.3101, allocations: 1.34 MB / 0.5937 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.3102, allocations: 151.8 kB / 0.5939 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003294/0.3105, allocations: 183.9 kB / 0.594 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00865/0.3192, allocations: 6.25 MB / 0.6001 GB, free: 9.895 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.3192, allocations: 11.88 kB / 0.6001 GB, free: 9.883 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/0.3194, allocations: 87.91 kB / 0.6002 GB, free: 9.797 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001979/0.3214, allocations: 1.344 MB / 0.6015 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008907/0.3303, allocations: 5.332 MB / 0.6067 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02394/0.3543, allocations: 20.08 MB / 0.6264 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003895/0.3582, allocations: 1.951 MB / 0.6283 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000869/0.359, allocations: 0.6289 MB / 0.6289 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005831/0.3649, allocations: 3.621 MB / 0.6324 GB, free: 7.969 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3649, allocations: 39 kB / 0.6325 GB, free: 7.922 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.266e-06/0.3649, allocations: 0 / 0.6325 GB, free: 7.922 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005131/0.37, allocations: 1.99 MB / 0.6344 GB, free: 5.922 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.3701, allocations: 55.84 kB / 0.6344 GB, free: 5.855 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.3725, allocations: 1.942 MB / 0.6363 GB, free: 3.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.3726, allocations: 37.7 kB / 0.6364 GB, free: 3.867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.3739, allocations: 1.903 MB / 0.6382 GB, free: 1.941 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002894/0.3742, allocations: 333.5 kB / 0.6386 GB, free: 1.613 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007213/0.3749, allocations: 0.6234 MB / 0.6392 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.375, allocations: 357.9 kB / 0.6395 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.3763, allocations: 0.8881 MB / 0.6404 GB, free: 15.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002545/0.3788, allocations: 2.755 MB / 0.6431 GB, free: 12.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004153/0.383, allocations: 3.966 MB / 0.6469 GB, free: 7.164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.099e-05/0.383, allocations: 24 kB / 0.647 GB, free: 7.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005075/0.3881, allocations: 3.524 MB / 0.6504 GB, free: 3.609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.3881, allocations: 32 kB / 0.6504 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-05/0.3882, allocations: 68 kB / 0.6505 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.77e-05/0.3883, allocations: 99.94 kB / 0.6506 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.39, allocations: 0.6628 MB / 0.6512 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.825e-05/0.3901, allocations: 123.5 kB / 0.6514 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.3917, allocations: 428.8 kB / 0.6518 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/0.3919, allocations: 196 kB / 0.652 GB, free: 2.016 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (362): * Single equations (assignments): 357 * 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.001699/0.3936, allocations: 1.338 MB / 0.6533 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.3939, allocations: 162.9 kB / 0.6534 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.3942, allocations: 200.9 kB / 0.6536 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.3942, allocations: 11.94 kB / 0.6536 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3942, allocations: 0 / 0.6536 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3942, allocations: 0 / 0.6536 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005537/0.3998, allocations: 4.029 MB / 0.6576 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.3998, allocations: 4 kB / 0.6576 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.4002, allocations: 103.8 kB / 0.6577 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.4002, allocations: 11.98 kB / 0.6577 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.4002, allocations: 23.98 kB / 0.6577 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.4002, allocations: 8 kB / 0.6577 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.4002, allocations: 11.94 kB / 0.6577 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.4016, allocations: 1.279 MB / 0.659 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.4019, allocations: 259.7 kB / 0.6592 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.4021, allocations: 16 kB / 0.6592 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.4025, allocations: 27.94 kB / 0.6592 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.4026, allocations: 59.81 kB / 0.6593 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.4027, allocations: 28 kB / 0.6593 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001572/0.4042, allocations: 1.267 MB / 0.6606 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4042, allocations: 0 / 0.6606 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00223/0.4065, allocations: 0.6891 MB / 0.6612 GB, free: 8.215 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.001884/0.4083, allocations: 1.877 MB / 0.6631 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.4112, allocations: 1.967 MB / 0.665 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4112, allocations: 0 / 0.665 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005328/0.4117, allocations: 435 kB / 0.6654 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.4128, allocations: 236 kB / 0.6656 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/0.4394, allocations: 20.95 MB / 0.6861 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/0.4417, allocations: 2.271 MB / 0.6883 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001908/0.4436, allocations: 0.9558 MB / 0.6892 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/0.4448, allocations: 1.046 MB / 0.6903 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of SimCode: time 1.041e-06/0.4448, allocations: 0 / 0.6903 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06293/0.5078, allocations: 32.94 MB / 0.7224 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.85, allocations: 7.609 kB / 0.7224 GB, free: 7 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.510529792998568]