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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008908/0.0008907, allocations: 94.77 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 202.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2145/0.2145, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003216, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1438, allocations: 63.56 MB / 483.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3295/0.4734, allocations: 36.77 MB / 0.5077 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02054/0.494, allocations: 7.582 MB / 0.5151 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008621/0.5027, allocations: 161.4 kB / 0.5152 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.5042, allocations: 321.6 kB / 0.5155 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00377/0.5079, allocations: 1.112 MB / 0.5166 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.509, allocations: 325.3 kB / 0.5169 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005984/0.515, allocations: 3.765 MB / 0.5206 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006597/0.5216, allocations: 4.173 MB / 0.5247 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.5235, allocations: 0.7152 MB / 0.5254 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/0.5259, allocations: 1.167 MB / 0.5265 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006861/0.5266, allocations: 98.22 kB / 0.5266 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.5285, allocations: 0.643 MB / 0.5272 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001679/0.5302, allocations: 1.156 MB / 0.5284 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.5318, allocations: 1.359 MB / 0.5297 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.5362, allocations: 4.729 MB / 0.5343 GB, free: 2.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.5362, allocations: 0 / 0.5343 GB, free: 2.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5362, allocations: 0 / 0.5343 GB, free: 2.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001062/0.5363, allocations: 0 / 0.5343 GB, free: 2.555 MB / 382.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.004339/0.5407, allocations: 2.665 MB / 0.5369 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5407, allocations: 8.844 kB / 0.5369 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005222/0.546, allocations: 1.65 MB / 0.5385 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003475/0.5495, allocations: 1.482 MB / 0.54 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.5496, allocations: 176.1 kB / 0.5401 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005139/0.5502, allocations: 238.4 kB / 0.5404 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.5628, allocations: 7.112 MB / 0.5473 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.3e-05/0.5629, allocations: 11.88 kB / 0.5473 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003013/0.5632, allocations: 107.2 kB / 0.5474 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002199/0.5654, allocations: 1.443 MB / 0.5488 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.5771, allocations: 5.953 MB / 0.5547 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03188/0.609, allocations: 22.46 MB / 0.5766 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/0.6137, allocations: 2.197 MB / 0.5787 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.6148, allocations: 0.7737 MB / 0.5795 GB, free: 7.781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006538/0.6213, allocations: 3.861 MB / 0.5833 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.6214, allocations: 35.12 kB / 0.5833 GB, free: 3.758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 3.126e-06/0.6214, allocations: 0 / 0.5833 GB, free: 3.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.005963/0.6274, allocations: 2.244 MB / 0.5855 GB, free: 1.512 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.6274, allocations: 59.97 kB / 0.5855 GB, free: 1.438 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.6304, allocations: 2.054 MB / 0.5876 GB, free: 15.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.6305, allocations: 40.2 kB / 0.5876 GB, free: 15.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/0.632, allocations: 2.032 MB / 0.5896 GB, free: 13.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/0.6323, allocations: 341.2 kB / 0.5899 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/0.6327, allocations: 295.6 kB / 0.5902 GB, free: 12.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.6329, allocations: 361.9 kB / 0.5905 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.6342, allocations: 0.9352 MB / 0.5914 GB, free: 11.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003085/0.6373, allocations: 2.868 MB / 0.5942 GB, free: 7.547 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004578/0.6419, allocations: 4.158 MB / 0.5983 GB, free: 2.438 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.909e-05/0.6419, allocations: 20 kB / 0.5983 GB, free: 2.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005471/0.6474, allocations: 3.694 MB / 0.6019 GB, free: 14.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.6475, allocations: 40.25 kB / 0.602 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.351e-05/0.6476, allocations: 68 kB / 0.602 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.693e-05/0.6477, allocations: 88 kB / 0.6021 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/0.6496, allocations: 0.694 MB / 0.6028 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001042/0.6497, allocations: 135.5 kB / 0.6029 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.6518, allocations: 427.3 kB / 0.6033 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/0.652, allocations: 199.1 kB / 0.6035 GB, free: 13.08 MB / 462.1 MB 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.002741/0.6548, allocations: 1.507 MB / 0.605 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.6551, allocations: 169.8 kB / 0.6052 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004567/0.6556, allocations: 214.2 kB / 0.6054 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.6556, allocations: 12 kB / 0.6054 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.6556, allocations: 0 / 0.6054 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.6556, allocations: 3.984 kB / 0.6054 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007966/0.6636, allocations: 4.936 MB / 0.6102 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.6637, allocations: 11.94 kB / 0.6102 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.6641, allocations: 115.8 kB / 0.6103 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.6641, allocations: 8 kB / 0.6103 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/0.6642, allocations: 27.98 kB / 0.6103 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.339e-05/0.6642, allocations: 11.94 kB / 0.6104 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/0.6642, allocations: 15.94 kB / 0.6104 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.6659, allocations: 1.4 MB / 0.6117 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005158/0.6665, allocations: 294.3 kB / 0.612 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.6666, allocations: 24 kB / 0.612 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.6672, allocations: 39.78 kB / 0.6121 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.6673, allocations: 75.05 kB / 0.6122 GB, free: 3.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.6674, allocations: 32 kB / 0.6122 GB, free: 3.898 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002153/0.6696, allocations: 1.448 MB / 0.6136 GB, free: 2.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6696, allocations: 4 kB / 0.6136 GB, free: 2.426 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00307/0.6726, allocations: 0.7619 MB / 0.6143 GB, free: 1.66 MB / 462.1 MB 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.0003537/0.673, allocations: 153.7 kB / 0.6145 GB, free: 1.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003488/0.6765, allocations: 2.142 MB / 0.6166 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.6765, allocations: 4.125 kB / 0.6166 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006431/0.6772, allocations: 0.5013 MB / 0.6171 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/0.6806, allocations: 261.8 kB / 0.6173 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.6931, allocations: 7.268 MB / 0.6244 GB, free: 7.219 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002891/0.696, allocations: 2.514 MB / 0.6269 GB, free: 4.672 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002619/0.6987, allocations: 1.024 MB / 0.6279 GB, free: 3.645 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/0.699, allocations: 135.4 kB / 0.628 GB, free: 3.516 MB / 478.1 MB Notification: Performance of SimCode: time 2.124e-06/0.6991, allocations: 0 / 0.628 GB, free: 3.516 MB / 478.1 MB Notification: Performance of Templates: time 0.03844/0.7375, allocations: 15.45 MB / 0.6431 GB, free: 4.133 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (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) 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) Reference file matches