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.001348/0.001348, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001572/0.001572, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.432/1.432, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2286/0.2286, allocations: 46.94 MB / 361.6 MB, free: 4.184 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.002631/0.002631, allocations: 79.86 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2962, allocations: 66.09 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01189/0.3081, allocations: 9.581 MB / 0.5709 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006053/0.3141, allocations: 2.959 MB / 0.5737 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008291/0.3149, allocations: 55.81 kB / 0.5738 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003871/0.3188, allocations: 2.033 MB / 0.5758 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.3212, allocations: 1.133 MB / 0.5769 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.3219, allocations: 291.4 kB / 0.5772 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003086/0.325, allocations: 2.329 MB / 0.5794 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.3272, allocations: 1.738 MB / 0.5811 GB, free: 84 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.3284, allocations: 0.8917 MB / 0.582 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.3302, allocations: 1.254 MB / 0.5832 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.3305, allocations: 196 kB / 0.5834 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.3317, allocations: 0.7254 MB / 0.5841 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.3328, allocations: 1.137 MB / 0.5852 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.3342, allocations: 1.305 MB / 0.5865 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004893/0.3391, allocations: 4.342 MB / 0.5908 GB, free: 6.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3391, allocations: 0 / 0.5908 GB, free: 6.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3391, allocations: 3.938 kB / 0.5908 GB, free: 6.195 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.732e-05/0.3392, allocations: 0 / 0.5908 GB, free: 6.195 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.004838/0.344, allocations: 2.862 MB / 0.5936 GB, free: 3.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3441, allocations: 8.031 kB / 0.5936 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006215/0.3447, allocations: 479.1 kB / 0.594 GB, free: 2.805 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005013/0.3497, allocations: 1.578 MB / 0.5956 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.3523, allocations: 1.278 MB / 0.5968 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.3524, allocations: 151.8 kB / 0.597 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000354/0.3527, allocations: 187.9 kB / 0.5971 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009897/0.3626, allocations: 6.246 MB / 0.6032 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/0.3627, allocations: 15.88 kB / 0.6033 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.3629, allocations: 83.91 kB / 0.6033 GB, free: 8.961 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002077/0.365, allocations: 1.344 MB / 0.6046 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009922/0.3749, allocations: 5.338 MB / 0.6099 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02697/0.4019, allocations: 20 MB / 0.6294 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004/0.4059, allocations: 1.488 MB / 0.6308 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009933/0.4069, allocations: 0.6389 MB / 0.6315 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006304/0.4132, allocations: 3.156 MB / 0.6345 GB, free: 8.355 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.4132, allocations: 39 kB / 0.6346 GB, free: 8.309 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.495e-06/0.4132, allocations: 0 / 0.6346 GB, free: 8.309 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005507/0.4187, allocations: 1.986 MB / 0.6365 GB, free: 6.312 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.4188, allocations: 67.77 kB / 0.6366 GB, free: 6.234 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/0.4215, allocations: 1.938 MB / 0.6385 GB, free: 4.293 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.4216, allocations: 37.7 kB / 0.6385 GB, free: 4.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001463/0.423, allocations: 1.915 MB / 0.6404 GB, free: 2.312 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.4233, allocations: 325.5 kB / 0.6407 GB, free: 1.992 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008077/0.4242, allocations: 0.6234 MB / 0.6413 GB, free: 1.359 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.4243, allocations: 357.9 kB / 0.6416 GB, free: 1.004 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.4258, allocations: 0.8881 MB / 0.6425 GB, free: 116 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/0.4289, allocations: 2.744 MB / 0.6452 GB, free: 12.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004837/0.4337, allocations: 3.97 MB / 0.6491 GB, free: 7.543 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.082e-05/0.4337, allocations: 20 kB / 0.6491 GB, free: 7.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005812/0.4395, allocations: 3.53 MB / 0.6525 GB, free: 3.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.54e-05/0.4396, allocations: 36 kB / 0.6526 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-05/0.4397, allocations: 64.84 kB / 0.6526 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.715e-05/0.4398, allocations: 91.94 kB / 0.6527 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/0.4417, allocations: 0.6589 MB / 0.6534 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000113/0.4418, allocations: 131.5 kB / 0.6535 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.4435, allocations: 428.8 kB / 0.6539 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.4438, allocations: 184 kB / 0.6541 GB, free: 2.41 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.00201/0.4458, allocations: 1.343 MB / 0.6554 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.446, allocations: 166.9 kB / 0.6555 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.4464, allocations: 196.9 kB / 0.6557 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.4464, allocations: 15.94 kB / 0.6557 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4464, allocations: 0 / 0.6557 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4464, allocations: 3.984 kB / 0.6558 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006377/0.4528, allocations: 3.997 MB / 0.6597 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.4528, allocations: 8 kB / 0.6597 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.4532, allocations: 107.8 kB / 0.6598 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.4532, allocations: 8 kB / 0.6598 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.4533, allocations: 20 kB / 0.6598 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/0.4533, allocations: 15.92 kB / 0.6598 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.4533, allocations: 8 kB / 0.6598 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.4549, allocations: 1.275 MB / 0.6611 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/0.4553, allocations: 182.6 kB / 0.6612 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.4554, allocations: 19.98 kB / 0.6613 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/0.4559, allocations: 27.94 kB / 0.6613 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.456, allocations: 59.8 kB / 0.6613 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/0.4561, allocations: 35.98 kB / 0.6614 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001859/0.4579, allocations: 1.263 MB / 0.6626 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4579, allocations: 0 / 0.6626 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002393/0.4603, allocations: 0.6968 MB / 0.6633 GB, free: 8.723 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.002098/0.4624, allocations: 1.869 MB / 0.6651 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003162/0.4656, allocations: 1.959 MB / 0.667 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4656, allocations: 3.938 kB / 0.667 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.4662, allocations: 442.6 kB / 0.6674 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.4674, allocations: 240 kB / 0.6677 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02946/0.4969, allocations: 20.94 MB / 0.6881 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002618/0.4995, allocations: 2.279 MB / 0.6904 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002135/0.5016, allocations: 0.9442 MB / 0.6913 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/0.503, allocations: 1.046 MB / 0.6923 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.503, allocations: 4 kB / 0.6923 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07181/0.5748, allocations: 35.18 MB / 0.7267 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.77, allocations: 0 / 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.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 --stepSize=0.000219912 --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: 15.71097940672189] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutTorque.torque[3]', 'cutTorque.torque[2]', 'cutTorque.torque[1]'] 12.86584149999544 13.112703905 12.770301099 Calling exit ...