Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque.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.001402/0.001402, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001479/0.001479, allocations: 219.7 kB / 22.92 MB, free: 5.539 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.294/1.294, allocations: 230.2 MB / 256.1 MB, free: 8.758 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.1962/0.1962, allocations: 46.9 MB / 359.3 MB, free: 4.957 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.CutTorque,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque",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.002091/0.002091, allocations: 83.86 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2572, allocations: 65.98 MB / 0.5584 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01509/0.2723, allocations: 15.08 MB / 0.5731 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008824/0.2811, allocations: 5.093 MB / 0.5781 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.2822, allocations: 119.7 kB / 0.5782 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009165/0.2914, allocations: 6.063 MB / 0.5842 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005058/0.2964, allocations: 2.805 MB / 0.5869 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.299, allocations: 1.587 MB / 0.5884 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008544/0.3076, allocations: 7.793 MB / 0.5961 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005202/0.3128, allocations: 5.112 MB / 0.601 GB, free: 9.312 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/0.3162, allocations: 2.952 MB / 0.6039 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00467/0.3208, allocations: 4.089 MB / 0.6079 GB, free: 2.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009155/0.3217, allocations: 0.5703 MB / 0.6085 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.324, allocations: 1.436 MB / 0.6099 GB, free: 248 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002976/0.3269, allocations: 3.615 MB / 0.6134 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003403/0.3303, allocations: 3.841 MB / 0.6172 GB, free: 8.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.3418, allocations: 11.68 MB / 0.6286 GB, free: 13.03 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3418, allocations: 0 / 0.6286 GB, free: 13.03 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3418, allocations: 0 / 0.6286 GB, free: 13.03 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000243/0.3421, allocations: 0 / 0.6286 GB, free: 13.03 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01518/0.3573, allocations: 8.732 MB / 0.6371 GB, free: 4.199 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3573, allocations: 8.031 kB / 0.6371 GB, free: 4.191 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001493/0.3588, allocations: 1.17 MB / 0.6382 GB, free: 3.012 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009137/0.3679, allocations: 2.566 MB / 0.6407 GB, free: 448 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00918/0.3771, allocations: 5.42 MB / 0.646 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003404/0.3775, allocations: 434.6 kB / 0.6465 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/0.3787, allocations: 0.5349 MB / 0.647 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0269/0.4056, allocations: 16.67 MB / 0.6633 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/0.4058, allocations: 75.41 kB / 0.6633 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005796/0.4063, allocations: 267.8 kB / 0.6636 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003948/0.4103, allocations: 2.927 MB / 0.6664 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02421/0.4345, allocations: 12.77 MB / 0.6789 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4556/0.8901, allocations: 64.09 MB / 0.7415 GB, free: 110.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/0.9024, allocations: 5.227 MB / 0.7466 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.9044, allocations: 2 MB / 0.7486 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/0.9146, allocations: 9.942 MB / 0.7583 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.9147, allocations: 54.31 kB / 0.7583 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 3.326e-06/0.9147, allocations: 0 / 0.7583 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.02855/0.9432, allocations: 14.38 MB / 0.7724 GB, free: 98.07 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.9433, allocations: 149.4 kB / 0.7725 GB, free: 97.89 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005733/0.949, allocations: 6.335 MB / 0.7787 GB, free: 91.68 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.9491, allocations: 57.7 kB / 0.7788 GB, free: 91.61 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001748/0.9509, allocations: 5.278 MB / 0.7839 GB, free: 86.75 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.000405/0.9513, allocations: 0.8479 MB / 0.7847 GB, free: 85.91 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/0.9525, allocations: 1.674 MB / 0.7864 GB, free: 84.23 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.124e-05/0.9525, allocations: 301.1 kB / 0.7867 GB, free: 83.93 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/0.955, allocations: 2.296 MB / 0.7889 GB, free: 81.63 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003624/0.9586, allocations: 7.634 MB / 0.7964 GB, free: 71.57 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006407/0.965, allocations: 10.81 MB / 0.8069 GB, free: 58.42 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.679e-05/0.9651, allocations: 59.94 kB / 0.807 GB, free: 58.36 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01005/0.9751, allocations: 9.599 MB / 0.8163 GB, free: 48.76 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.097e-05/0.9752, allocations: 91.94 kB / 0.8164 GB, free: 48.67 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/0.9753, allocations: 188 kB / 0.8166 GB, free: 48.48 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001409/0.9754, allocations: 248 kB / 0.8168 GB, free: 48.24 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004231/0.9797, allocations: 1.899 MB / 0.8187 GB, free: 46.34 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001513/0.9798, allocations: 370.5 kB / 0.8191 GB, free: 45.98 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004122/0.9839, allocations: 411.7 kB / 0.8194 GB, free: 45.57 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003741/0.9843, allocations: 0.518 MB / 0.82 GB, free: 45.06 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1027): * Single equations (assignments): 1016 * Array equations: 11 * 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.002955/0.9873, allocations: 3.285 MB / 0.8232 GB, free: 41.76 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/0.9878, allocations: 0.5587 MB / 0.8237 GB, free: 41.2 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007902/0.9886, allocations: 0.6244 MB / 0.8243 GB, free: 40.57 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.9886, allocations: 23.44 kB / 0.8243 GB, free: 40.55 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.9886, allocations: 4 kB / 0.8243 GB, free: 40.54 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.9886, allocations: 7.969 kB / 0.8243 GB, free: 40.54 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/1.002, allocations: 15 MB / 0.839 GB, free: 24.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.198e-05/1.002, allocations: 48 kB / 0.839 GB, free: 24.81 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.003, allocations: 451.1 kB / 0.8395 GB, free: 24.37 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.154e-05/1.003, allocations: 60.78 kB / 0.8395 GB, free: 24.31 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/1.003, allocations: 99.98 kB / 0.8396 GB, free: 24.21 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.432e-05/1.003, allocations: 91.66 kB / 0.8397 GB, free: 24.12 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-05/1.003, allocations: 75.69 kB / 0.8398 GB, free: 24.05 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/1.006, allocations: 4.342 MB / 0.844 GB, free: 19.01 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007124/1.006, allocations: 0.6572 MB / 0.8447 GB, free: 18.33 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004027/1.007, allocations: 104 kB / 0.8448 GB, free: 18.23 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/1.008, allocations: 111.9 kB / 0.8449 GB, free: 18.12 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/1.009, allocations: 310.5 kB / 0.8452 GB, free: 17.81 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.009, allocations: 135.9 kB / 0.8453 GB, free: 17.68 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003877/1.013, allocations: 3.952 MB / 0.8492 GB, free: 13.74 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.1e-07/1.013, allocations: 0 / 0.8492 GB, free: 13.74 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.005183/1.018, allocations: 1.3 MB / 0.8504 GB, free: 12.44 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.002934/1.021, allocations: 5.065 MB / 0.8554 GB, free: 6.672 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.005658/1.026, allocations: 5.209 MB / 0.8605 GB, free: 1.508 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/1.026, allocations: 16.06 kB / 0.8605 GB, free: 1.492 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/1.027, allocations: 1.145 MB / 0.8616 GB, free: 364 kB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/1.032, allocations: 0.8907 MB / 0.8625 GB, free: 15.49 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07917/1.111, allocations: 65.78 MB / 0.9267 GB, free: 4.371 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005837/1.117, allocations: 5.064 MB / 0.9316 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005253/1.122, allocations: 2.542 MB / 0.9341 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0036/1.125, allocations: 3.292 MB / 0.9373 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of SimCode: time 1.183e-06/1.125, allocations: 0 / 0.9373 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3314/1.457, allocations: 90.4 MB / 1.026 GB, free: 264.6 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.01/24.47, allocations: 0.7812 kB / 1.026 GB, free: 264.6 MB / 0.7013 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.01041435499792]