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.001421/0.001421, 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.001569/0.001569, 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.314/1.314, allocations: 230.2 MB / 256.1 MB, free: 8.602 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.89 MB / 359.3 MB, free: 4.965 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.002142/0.002142, allocations: 79.86 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2656, allocations: 65.98 MB / 0.5584 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01043/0.276, allocations: 9.592 MB / 0.5678 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005156/0.2812, allocations: 2.955 MB / 0.5707 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007279/0.2819, allocations: 47.94 kB / 0.5707 GB, free: 8.566 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.2853, allocations: 2.029 MB / 0.5727 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.2876, allocations: 1.129 MB / 0.5738 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.2882, allocations: 279.5 kB / 0.5741 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002733/0.2909, allocations: 2.337 MB / 0.5763 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.2927, allocations: 1.621 MB / 0.5779 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009431/0.2936, allocations: 0.8762 MB / 0.5788 GB, free: 248 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.2951, allocations: 1.262 MB / 0.58 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00028/0.2953, allocations: 192 kB / 0.5802 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.2964, allocations: 0.7255 MB / 0.5809 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009301/0.2973, allocations: 1.13 MB / 0.582 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.2985, allocations: 1.305 MB / 0.5833 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004077/0.3025, allocations: 4.342 MB / 0.5875 GB, free: 7.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3025, allocations: 0 / 0.5875 GB, free: 7.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3025, allocations: 4 kB / 0.5875 GB, free: 7.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.772e-05/0.3026, allocations: 0 / 0.5875 GB, free: 7.254 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.004457/0.3071, allocations: 2.936 MB / 0.5904 GB, free: 4.258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3071, allocations: 8.031 kB / 0.5904 GB, free: 4.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005653/0.3077, allocations: 491 kB / 0.5909 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00478/0.3124, allocations: 1.578 MB / 0.5924 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.3146, allocations: 1.336 MB / 0.5937 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.3147, allocations: 151.7 kB / 0.5939 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003183/0.315, allocations: 183.9 kB / 0.594 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008456/0.3235, allocations: 6.246 MB / 0.6001 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-05/0.3235, allocations: 11.88 kB / 0.6001 GB, free: 9.938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.3237, allocations: 95.89 kB / 0.6002 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001955/0.3257, allocations: 1.344 MB / 0.6015 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00861/0.3343, allocations: 5.327 MB / 0.6067 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02395/0.3582, allocations: 20.08 MB / 0.6264 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/0.3622, allocations: 1.948 MB / 0.6283 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009065/0.3631, allocations: 0.6367 MB / 0.6289 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005926/0.369, allocations: 3.617 MB / 0.6324 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.369, allocations: 43 kB / 0.6325 GB, free: 7.973 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.545e-06/0.369, allocations: 0 / 0.6325 GB, free: 7.973 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005156/0.3742, allocations: 1.99 MB / 0.6344 GB, free: 5.973 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.3743, allocations: 59.84 kB / 0.6345 GB, free: 5.902 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.3767, allocations: 1.938 MB / 0.6363 GB, free: 3.961 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.844e-05/0.3768, allocations: 41.64 kB / 0.6364 GB, free: 3.914 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.3782, allocations: 1.903 MB / 0.6382 GB, free: 1.988 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.3785, allocations: 333.5 kB / 0.6386 GB, free: 1.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007527/0.3792, allocations: 0.6195 MB / 0.6392 GB, free: 1.031 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3794, allocations: 357.9 kB / 0.6395 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.3807, allocations: 0.8842 MB / 0.6404 GB, free: 15.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/0.3833, allocations: 2.751 MB / 0.6431 GB, free: 12.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004222/0.3875, allocations: 3.976 MB / 0.6469 GB, free: 7.207 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.197e-05/0.3876, allocations: 20 kB / 0.647 GB, free: 7.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005148/0.3927, allocations: 3.535 MB / 0.6504 GB, free: 3.645 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.3928, allocations: 32 kB / 0.6504 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-05/0.3929, allocations: 68 kB / 0.6505 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.998e-05/0.3929, allocations: 95.88 kB / 0.6506 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.3947, allocations: 0.6472 MB / 0.6512 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001037/0.3948, allocations: 131.5 kB / 0.6514 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.3964, allocations: 433.3 kB / 0.6518 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/0.3967, allocations: 191.8 kB / 0.652 GB, free: 2.066 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.0017/0.3984, allocations: 1.334 MB / 0.6533 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.3986, allocations: 162.9 kB / 0.6534 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.399, allocations: 192.9 kB / 0.6536 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.399, allocations: 15.94 kB / 0.6536 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.399, allocations: 0 / 0.6536 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.399, allocations: 7.984 kB / 0.6536 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0059/0.4049, allocations: 4.025 MB / 0.6575 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.4049, allocations: 8 kB / 0.6576 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.4053, allocations: 107.9 kB / 0.6577 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.4053, allocations: 8 kB / 0.6577 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.4053, allocations: 20 kB / 0.6577 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/0.4054, allocations: 15.92 kB / 0.6577 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.4054, allocations: 8 kB / 0.6577 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.4068, allocations: 1.267 MB / 0.6589 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.4071, allocations: 255.7 kB / 0.6592 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.4073, allocations: 23.98 kB / 0.6592 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.4077, allocations: 31.94 kB / 0.6592 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/0.4078, allocations: 55.7 kB / 0.6593 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/0.4079, allocations: 35.97 kB / 0.6593 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001658/0.4096, allocations: 1.275 MB / 0.6606 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4096, allocations: 4 kB / 0.6606 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002201/0.4118, allocations: 0.6813 MB / 0.6612 GB, free: 8.262 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.001935/0.4137, allocations: 1.873 MB / 0.6631 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00278/0.4165, allocations: 1.964 MB / 0.665 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4165, allocations: 0 / 0.665 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005357/0.417, allocations: 429.5 kB / 0.6654 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.4181, allocations: 251.5 kB / 0.6656 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.027/0.4451, allocations: 20.95 MB / 0.6861 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002642/0.4478, allocations: 2.275 MB / 0.6883 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001969/0.4497, allocations: 0.9481 MB / 0.6893 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/0.4511, allocations: 1.05 MB / 0.6903 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of SimCode: time 1.213e-06/0.4511, allocations: 0 / 0.6903 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06349/0.5146, allocations: 32.93 MB / 0.7224 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.91, allocations: 6.656 kB / 0.7224 GB, free: 7.051 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2_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_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.628420606997679]