Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002212/0.002212, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3789/0.3789, allocations: 34.26 MB / 295.3 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.39e-06/5.39e-06, allocations: 4 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/3.268e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01346/0.01349, allocations: 8.922 MB / 386.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007903/0.0214, allocations: 2.936 MB / 389.1 MB, free: 7.062 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002367/0.02376, allocations: 63.75 kB / 389.2 MB, free: 7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006454/0.03022, allocations: 2.71 MB / 391.9 MB, free: 4.281 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004008/0.03423, allocations: 1.252 MB / 393.2 MB, free: 3.023 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.03541, allocations: 383.2 kB / 393.5 MB, free: 2.648 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004434/0.03985, allocations: 2.589 MB / 396.1 MB, free: 56 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004223/0.04407, allocations: 2.304 MB / 398.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00268/0.04675, allocations: 1.552 MB / 400 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.04919, allocations: 1.336 MB / 401.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000565/0.04975, allocations: 252 kB / 401.6 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.0516, allocations: 0.6943 MB / 402.3 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00166/0.05326, allocations: 1.422 MB / 403.7 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.05483, allocations: 0.8762 MB / 404.6 MB, free: 7.574 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00677/0.0616, allocations: 5.085 MB / 409.6 MB, free: 2.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.06161, allocations: 0 / 409.6 MB, free: 2.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.06161, allocations: 0 / 409.6 MB, free: 2.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000123/0.06173, allocations: 0 / 409.6 MB, free: 2.473 MB / 378.7 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.006941/0.06867, allocations: 3.239 MB / 412.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.06871, allocations: 12.03 kB / 412.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006341/0.07505, allocations: 2.015 MB / 414.9 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/0.07855, allocations: 1.454 MB / 416.4 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.07873, allocations: 180.9 kB / 416.5 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004815/0.07921, allocations: 232.3 kB / 416.8 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.09214, allocations: 7.126 MB / 423.9 MB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-05/0.0922, allocations: 11.88 kB / 423.9 MB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003265/0.09253, allocations: 111.9 kB / 424 MB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002741/0.09527, allocations: 1.447 MB / 425.5 MB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/0.1074, allocations: 5.944 MB / 431.4 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2035/0.311, allocations: 20.36 MB / 451.8 MB, free: 86.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003945/0.3149, allocations: 1.756 MB / 453.5 MB, free: 86.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007811/0.3157, allocations: 0.7088 MB / 454.2 MB, free: 86.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005469/0.3211, allocations: 3.326 MB / 457.5 MB, free: 85.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.3212, allocations: 41.95 kB / 457.6 MB, free: 85.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 2.615e-06/0.3212, allocations: 0 / 457.6 MB, free: 85.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.005525/0.3267, allocations: 2.421 MB / 460 MB, free: 84.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.3267, allocations: 58.69 kB / 460.1 MB, free: 84.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.329, allocations: 2.007 MB / 462.1 MB, free: 83.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.329, allocations: 42.97 kB / 462.1 MB, free: 83.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008425/0.3298, allocations: 2.115 MB / 464.2 MB, free: 82.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.33, allocations: 356.6 kB / 464.6 MB, free: 82.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006148/0.3306, allocations: 0.6359 MB / 465.2 MB, free: 81.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.3307, allocations: 352 kB / 465.6 MB, free: 81.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.3317, allocations: 0.9365 MB / 466.5 MB, free: 81.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.3334, allocations: 2.866 MB / 469.4 MB, free: 78.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/0.3364, allocations: 4.15 MB / 473.5 MB, free: 74.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.699e-05/0.3365, allocations: 20.41 kB / 473.5 MB, free: 74.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.004607/0.3411, allocations: 3.864 MB / 477.4 MB, free: 73.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.3411, allocations: 36.69 kB / 477.4 MB, free: 73.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.435e-05/0.3412, allocations: 66.97 kB / 477.5 MB, free: 73.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.282e-05/0.3413, allocations: 93.88 kB / 477.6 MB, free: 73.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.343, allocations: 0.6909 MB / 478.3 MB, free: 73.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.818e-05/0.3431, allocations: 131.2 kB / 478.4 MB, free: 73.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.345, allocations: 431.2 kB / 478.8 MB, free: 73.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002738/0.3453, allocations: 199.8 kB / 479 MB, free: 73 MB / 410.7 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.00216/0.3475, allocations: 1.501 MB / 480.5 MB, free: 72.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/0.3478, allocations: 187.4 kB / 480.7 MB, free: 72.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.3481, allocations: 201.8 kB / 480.9 MB, free: 72.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.3481, allocations: 14.5 kB / 480.9 MB, free: 72.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.3481, allocations: 0 / 480.9 MB, free: 72.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.3481, allocations: 7.172 kB / 480.9 MB, free: 72.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006927/0.3551, allocations: 3.795 MB / 484.7 MB, free: 70.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.3551, allocations: 7.062 kB / 484.7 MB, free: 70.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/0.3555, allocations: 116.5 kB / 484.8 MB, free: 70.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-05/0.3556, allocations: 10.56 kB / 484.9 MB, free: 70.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/0.3556, allocations: 20.34 kB / 484.9 MB, free: 70.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.756e-05/0.3556, allocations: 18.88 kB / 484.9 MB, free: 70.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/0.3556, allocations: 13.12 kB / 484.9 MB, free: 70.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.3574, allocations: 1.386 MB / 486.3 MB, free: 69.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.3577, allocations: 167.2 kB / 486.5 MB, free: 69.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.3578, allocations: 28.08 kB / 486.5 MB, free: 69.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.3583, allocations: 28.8 kB / 486.5 MB, free: 69.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3584, allocations: 70.89 kB / 486.6 MB, free: 69.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/0.3585, allocations: 32.03 kB / 486.6 MB, free: 69.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001499/0.36, allocations: 1.157 MB / 487.8 MB, free: 69.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.36, allocations: 0 / 487.8 MB, free: 69.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003245/0.3632, allocations: 0.8139 MB / 488.6 MB, free: 68.91 MB / 410.7 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.0002943/0.3635, allocations: 152.8 kB / 488.7 MB, free: 68.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.3664, allocations: 2.085 MB / 490.8 MB, free: 68.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.3665, allocations: 0 / 490.8 MB, free: 68.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004671/0.3669, allocations: 481.9 kB / 491.3 MB, free: 67.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.3682, allocations: 227 kB / 491.5 MB, free: 67.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00834/0.3765, allocations: 5.827 MB / 497.3 MB, free: 65.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002714/0.3792, allocations: 1.952 MB / 499.3 MB, free: 64.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002094/0.3813, allocations: 0.9917 MB / 0.4886 GB, free: 64.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/0.3817, allocations: 130.3 kB / 0.4887 GB, free: 64.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.585e-06/0.3817, allocations: 0 / 0.4887 GB, free: 64.39 MB / 410.7 MB Notification: Performance of Templates: time 0.0248/0.4065, allocations: 12.77 MB / 0.5011 GB, free: 55.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.614867549971677]