Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001489/0.001489, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002131/0.002131, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.456/1.456, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.87 MB / 361.3 MB, free: 4.445 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 79.88 kB / 0.4971 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3743, allocations: 66.01 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01329/0.3876, allocations: 10.19 MB / 0.5715 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007501/0.3951, allocations: 3.109 MB / 0.5745 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.3971, allocations: 59.81 kB / 0.5746 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005501/0.4026, allocations: 2.652 MB / 0.5772 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003244/0.4058, allocations: 1.207 MB / 0.5783 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009743/0.4068, allocations: 359.3 kB / 0.5787 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003881/0.4107, allocations: 2.547 MB / 0.5812 GB, free: 444 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003079/0.4138, allocations: 2.117 MB / 0.5832 GB, free: 14.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.4154, allocations: 1.067 MB / 0.5843 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.4176, allocations: 1.484 MB / 0.5857 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006328/0.4182, allocations: 256 kB / 0.586 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.4199, allocations: 0.7879 MB / 0.5867 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00159/0.4214, allocations: 1.363 MB / 0.5881 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.4232, allocations: 1.553 MB / 0.5896 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005867/0.429, allocations: 5.136 MB / 0.5946 GB, free: 2.598 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.429, allocations: 3.938 kB / 0.5946 GB, free: 2.594 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.429, allocations: 0 / 0.5946 GB, free: 2.594 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001462/0.4292, allocations: 0 / 0.5946 GB, free: 2.594 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.006224/0.4354, allocations: 3.274 MB / 0.5978 GB, free: 15.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4354, allocations: 12.02 kB / 0.5978 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00526/0.4407, allocations: 1.625 MB / 0.5994 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.4437, allocations: 1.447 MB / 0.6008 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.4438, allocations: 180.9 kB / 0.601 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/0.4443, allocations: 235.8 kB / 0.6012 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.4566, allocations: 7.102 MB / 0.6081 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-05/0.4567, allocations: 15.88 kB / 0.6082 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002865/0.457, allocations: 107.9 kB / 0.6083 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002375/0.4594, allocations: 1.447 MB / 0.6097 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.4707, allocations: 5.944 MB / 0.6155 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03337/0.5041, allocations: 22.25 MB / 0.6372 GB, free: 5.945 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004894/0.509, allocations: 1.665 MB / 0.6388 GB, free: 4.266 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.5102, allocations: 0.7093 MB / 0.6395 GB, free: 3.555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007096/0.5173, allocations: 3.397 MB / 0.6428 GB, free: 132 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.5174, allocations: 43.22 kB / 0.6429 GB, free: 80 kB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 2.915e-06/0.5174, allocations: 0 / 0.6429 GB, free: 80 kB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006879/0.5243, allocations: 2.253 MB / 0.6451 GB, free: 13.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.5243, allocations: 60.06 kB / 0.6451 GB, free: 13.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004339/0.5287, allocations: 2.056 MB / 0.6472 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-05/0.5288, allocations: 37.7 kB / 0.6472 GB, free: 11.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.5306, allocations: 2.118 MB / 0.6493 GB, free: 9.508 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005085/0.5311, allocations: 357.3 kB / 0.6496 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/0.5322, allocations: 0.6512 MB / 0.6502 GB, free: 8.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002328/0.5324, allocations: 369.8 kB / 0.6506 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.534, allocations: 0.9313 MB / 0.6515 GB, free: 7.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003182/0.5372, allocations: 2.872 MB / 0.6543 GB, free: 3.359 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005035/0.5422, allocations: 4.155 MB / 0.6584 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.763e-05/0.5422, allocations: 20 kB / 0.6584 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006245/0.5485, allocations: 3.707 MB / 0.662 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/0.5485, allocations: 36 kB / 0.662 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.912e-05/0.5486, allocations: 68 kB / 0.6621 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001058/0.5488, allocations: 91.98 kB / 0.6622 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.551, allocations: 0.6862 MB / 0.6629 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001375/0.5511, allocations: 135.4 kB / 0.663 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.5535, allocations: 448.6 kB / 0.6634 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/0.5538, allocations: 200 kB / 0.6636 GB, free: 8.863 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (382): * Single equations (assignments): 377 * 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.002412/0.5562, allocations: 1.508 MB / 0.6651 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.5565, allocations: 174.8 kB / 0.6652 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.5569, allocations: 210.2 kB / 0.6654 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.5569, allocations: 12 kB / 0.6655 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5569, allocations: 0 / 0.6655 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.5569, allocations: 3.984 kB / 0.6655 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008027/0.5649, allocations: 4.923 MB / 0.6703 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.5649, allocations: 12 kB / 0.6703 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/0.5654, allocations: 111.8 kB / 0.6704 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.251e-05/0.5654, allocations: 15.98 kB / 0.6704 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.5655, allocations: 23.98 kB / 0.6704 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.471e-05/0.5655, allocations: 15.94 kB / 0.6704 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/0.5655, allocations: 11.94 kB / 0.6704 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.5672, allocations: 1.427 MB / 0.6718 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/0.5676, allocations: 218.5 kB / 0.6721 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.5678, allocations: 20 kB / 0.6721 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005394/0.5684, allocations: 43.92 kB / 0.6721 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/0.5685, allocations: 67.55 kB / 0.6722 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.37e-05/0.5685, allocations: 39.98 kB / 0.6722 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002043/0.5706, allocations: 1.444 MB / 0.6736 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5706, allocations: 0 / 0.6736 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002735/0.5733, allocations: 0.7902 MB / 0.6744 GB, free: 13.49 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0003207/0.5736, allocations: 146.8 kB / 0.6745 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003385/0.577, allocations: 2.079 MB / 0.6766 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.577, allocations: 0 / 0.6766 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006476/0.5777, allocations: 482.2 kB / 0.677 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.579, allocations: 273.3 kB / 0.6773 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.5892, allocations: 5.805 MB / 0.683 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002784/0.592, allocations: 2.514 MB / 0.6854 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002218/0.5942, allocations: 1.02 MB / 0.6864 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.5946, allocations: 135.4 kB / 0.6865 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.5946, allocations: 4 kB / 0.6865 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of Templates: time 0.03725/0.6318, allocations: 19.3 MB / 0.7054 GB, free: 13.6 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.860917940735817]