Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001767/0.001767, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00225/0.00225, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.447/1.447, allocations: 230.5 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] 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.2226/0.2226, allocations: 46.93 MB / 361.6 MB, free: 4.227 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.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque3",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.002371/0.002371, allocations: 75.88 kB / 0.497 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2919, allocations: 66.09 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01137/0.3032, allocations: 9.593 MB / 0.5709 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005786/0.309, allocations: 2.959 MB / 0.5738 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.3102, allocations: 55.81 kB / 0.5738 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00403/0.3142, allocations: 2.025 MB / 0.5758 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.317, allocations: 1.136 MB / 0.5769 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007988/0.3178, allocations: 291.4 kB / 0.5772 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003187/0.321, allocations: 2.333 MB / 0.5795 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002307/0.3233, allocations: 1.734 MB / 0.5811 GB, free: 88 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.3247, allocations: 0.8957 MB / 0.582 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.3265, allocations: 1.246 MB / 0.5832 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003705/0.3268, allocations: 192 kB / 0.5834 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.3281, allocations: 0.7332 MB / 0.5841 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.3292, allocations: 1.133 MB / 0.5852 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.3306, allocations: 1.312 MB / 0.5865 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00468/0.3352, allocations: 4.334 MB / 0.5908 GB, free: 6.207 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3352, allocations: 0 / 0.5908 GB, free: 6.207 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3352, allocations: 0 / 0.5908 GB, free: 6.207 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.527e-05/0.3353, allocations: 3.938 kB / 0.5908 GB, free: 6.203 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.00492/0.3402, allocations: 2.862 MB / 0.5936 GB, free: 3.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3403, allocations: 12.03 kB / 0.5936 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005643/0.3408, allocations: 487 kB / 0.594 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004874/0.3457, allocations: 1.574 MB / 0.5956 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00267/0.3484, allocations: 1.279 MB / 0.5968 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.3485, allocations: 151.8 kB / 0.597 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004297/0.3489, allocations: 183.9 kB / 0.5971 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00996/0.3589, allocations: 6.25 MB / 0.6032 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/0.3589, allocations: 11.88 kB / 0.6033 GB, free: 9.047 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/0.3592, allocations: 87.91 kB / 0.6033 GB, free: 8.961 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002073/0.3613, allocations: 1.34 MB / 0.6047 GB, free: 7.617 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009614/0.3709, allocations: 5.336 MB / 0.6099 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02583/0.3967, allocations: 20 MB / 0.6294 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003892/0.4006, allocations: 1.481 MB / 0.6308 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009695/0.4016, allocations: 0.6406 MB / 0.6315 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006071/0.4076, allocations: 3.156 MB / 0.6345 GB, free: 8.359 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.4077, allocations: 38.98 kB / 0.6346 GB, free: 8.312 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.906e-06/0.4077, allocations: 0 / 0.6346 GB, free: 8.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005327/0.413, allocations: 1.994 MB / 0.6365 GB, free: 6.309 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.413, allocations: 55.84 kB / 0.6366 GB, free: 6.242 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002659/0.4157, allocations: 1.946 MB / 0.6385 GB, free: 4.293 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.4158, allocations: 37.7 kB / 0.6385 GB, free: 4.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001507/0.4173, allocations: 1.903 MB / 0.6404 GB, free: 2.324 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.4176, allocations: 337.5 kB / 0.6407 GB, free: 1.992 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000846/0.4184, allocations: 0.6234 MB / 0.6413 GB, free: 1.359 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.4186, allocations: 353.9 kB / 0.6416 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.42, allocations: 0.8842 MB / 0.6425 GB, free: 124 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002941/0.4229, allocations: 2.751 MB / 0.6452 GB, free: 12.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004781/0.4277, allocations: 3.973 MB / 0.6491 GB, free: 7.543 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-05/0.4278, allocations: 20 kB / 0.6491 GB, free: 7.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005722/0.4335, allocations: 3.531 MB / 0.6525 GB, free: 3.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.4335, allocations: 32 kB / 0.6526 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-05/0.4336, allocations: 72.16 kB / 0.6526 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.439e-05/0.4337, allocations: 87.94 kB / 0.6527 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.4356, allocations: 0.6511 MB / 0.6534 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001127/0.4357, allocations: 127.5 kB / 0.6535 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.4375, allocations: 428.8 kB / 0.6539 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.4377, allocations: 195.9 kB / 0.6541 GB, free: 2.406 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.001942/0.4396, allocations: 1.343 MB / 0.6554 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.4399, allocations: 162.9 kB / 0.6555 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.4402, allocations: 196.9 kB / 0.6557 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.4402, allocations: 11.94 kB / 0.6557 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4402, allocations: 0 / 0.6557 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4403, allocations: 3.984 kB / 0.6558 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006506/0.4468, allocations: 4.008 MB / 0.6597 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.4468, allocations: 4 kB / 0.6597 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.4472, allocations: 103.8 kB / 0.6598 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/0.4472, allocations: 12 kB / 0.6598 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.4473, allocations: 20 kB / 0.6598 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.557e-05/0.4473, allocations: 15.92 kB / 0.6598 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/0.4473, allocations: 8.531 kB / 0.6598 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.4489, allocations: 1.267 MB / 0.6611 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.4493, allocations: 182.6 kB / 0.6612 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.4494, allocations: 24 kB / 0.6613 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004519/0.4499, allocations: 31.92 kB / 0.6613 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.45, allocations: 55.75 kB / 0.6613 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/0.45, allocations: 31.98 kB / 0.6614 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001759/0.4518, allocations: 1.271 MB / 0.6626 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4518, allocations: 0 / 0.6626 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002344/0.4541, allocations: 0.6891 MB / 0.6633 GB, free: 8.727 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.002041/0.4562, allocations: 1.873 MB / 0.6651 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003001/0.4592, allocations: 1.956 MB / 0.667 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.4592, allocations: 4 kB / 0.667 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.4598, allocations: 440.9 kB / 0.6674 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.4609, allocations: 232.7 kB / 0.6677 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02782/0.4887, allocations: 20.95 MB / 0.6881 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002392/0.4911, allocations: 2.279 MB / 0.6904 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00204/0.4931, allocations: 0.952 MB / 0.6913 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/0.4944, allocations: 1.042 MB / 0.6923 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of SimCode: time 7.82e-07/0.4944, allocations: 0 / 0.6923 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06889/0.5633, allocations: 35.18 MB / 0.7267 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.05, allocations: 8.062 kB / 0.7267 GB, free: 5.27 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3_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_CutTorque3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.172678508795798] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutTorque.torque[3]', 'cutTorque.torque[2]', 'cutTorque.torque[1]'] 13.138188573066145 13.376235861 13.037588346 Calling exit ...