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.0009936/0.0009936, allocations: 80.8 kB / 21.49 MB, free: 3 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.001001/0.001001, allocations: 172.7 kB / 24.91 MB, free: 9.215 MB / 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 0.9812/0.9812, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.2564/0.2564, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",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.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.171e-05, allocations: 9.5 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.007372/0.007394, allocations: 9.591 MB / 334.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005001/0.0124, allocations: 3.122 MB / 338 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006288/0.01302, allocations: 59.81 kB / 338.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002886/0.01591, allocations: 2.757 MB / 340.8 MB, free: 8.055 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.01758, allocations: 1.233 MB / 342 MB, free: 6.816 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.01814, allocations: 387.1 kB / 342.4 MB, free: 6.438 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.01997, allocations: 2.438 MB / 344.9 MB, free: 3.996 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.02155, allocations: 2.367 MB / 347.2 MB, free: 1.574 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.02256, allocations: 1.559 MB / 348.8 MB, free: 12 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.02358, allocations: 1.313 MB / 350.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000196/0.02377, allocations: 256 kB / 350.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000755/0.02453, allocations: 0.706 MB / 351.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007423/0.02527, allocations: 1.426 MB / 352.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005818/0.02585, allocations: 0.8801 MB / 353.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.02792, allocations: 3.16 MB / 356.5 MB, free: 8.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.02793, allocations: 0 / 356.5 MB, free: 8.254 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.02793, allocations: 0 / 356.5 MB, free: 8.254 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.02795, allocations: 0 / 356.5 MB, free: 8.254 MB / 330.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.002594/0.03054, allocations: 3.086 MB / 359.6 MB, free: 5.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.03058, allocations: 8.031 kB / 359.6 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.03239, allocations: 0.8085 MB / 360.4 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.0336, allocations: 1.19 MB / 361.6 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.894e-05/0.03369, allocations: 176.9 kB / 361.8 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/0.0341, allocations: 232.3 kB / 362 MB, free: 2.676 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/0.03761, allocations: 3.24 MB / 365.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.425e-05/0.03765, allocations: 11.88 kB / 365.3 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.03783, allocations: 107.9 kB / 365.4 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001088/0.03891, allocations: 1.307 MB / 366.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002852/0.04176, allocations: 1.671 MB / 368.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.05379, allocations: 16.37 MB / 384.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.05569, allocations: 0.9926 MB / 385.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.05592, allocations: 168.6 kB / 385.9 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002572/0.05849, allocations: 2.237 MB / 388.1 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.05852, allocations: 39.22 kB / 388.2 MB, free: 7.574 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 2.043e-06/0.05852, allocations: 0 / 388.2 MB, free: 7.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.002581/0.0611, allocations: 1.273 MB / 389.4 MB, free: 6.297 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.06114, allocations: 60 kB / 389.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009803/0.06212, allocations: 1.486 MB / 391 MB, free: 4.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.06215, allocations: 37.7 kB / 391 MB, free: 4.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000756/0.06291, allocations: 2.033 MB / 393 MB, free: 2.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.06307, allocations: 357.2 kB / 393.4 MB, free: 2.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004267/0.0635, allocations: 0.6041 MB / 394 MB, free: 1.672 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.06359, allocations: 353.8 kB / 394.3 MB, free: 1.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.06392, allocations: 326.7 kB / 394.7 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.06501, allocations: 2.169 MB / 396.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.06673, allocations: 2.873 MB / 399.7 MB, free: 10.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-05/0.06675, allocations: 20 kB / 399.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.001846/0.0686, allocations: 2.042 MB / 401.8 MB, free: 7.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/0.06864, allocations: 32 kB / 401.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.326e-05/0.06868, allocations: 71.94 kB / 401.9 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.785e-05/0.06874, allocations: 92.81 kB / 402 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.06983, allocations: 0.7096 MB / 402.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.14e-05/0.06989, allocations: 135.5 kB / 402.8 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008754/0.07077, allocations: 420.8 kB / 403.2 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.07091, allocations: 168 kB / 403.4 MB, free: 6.348 MB / 378.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 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],cutForceAndTorque.forceColor[1],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[3],cutForceAndTorque.torqueColor[1],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[3],fixedRotation.color[1],fixedRotation.color[2],fixedRotation.color[3],frame_b.color_x[1],frame_b.color_x[2],frame_b.color_x[3],forceAndTorque.forceColor[1],forceAndTorque.forceColor[2],forceAndTorque.forceColor[3],forceAndTorque.torqueColor[1],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[3],cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueArrow.twoHeadedArrow) * 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.0007203/0.07163, allocations: 390.9 kB / 403.8 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.931e-05/0.07173, allocations: 99.89 kB / 403.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.07188, allocations: 172.9 kB / 404 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.07189, allocations: 12 kB / 404 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.0719, allocations: 4 kB / 404 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.0719, allocations: 3.984 kB / 404 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.07432, allocations: 2.22 MB / 406.3 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.07433, allocations: 8 kB / 406.3 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.07454, allocations: 107.8 kB / 406.4 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.07455, allocations: 12 kB / 406.4 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.07458, allocations: 23.98 kB / 406.4 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.07459, allocations: 15.94 kB / 406.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/0.0746, allocations: 15.94 kB / 406.4 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.07517, allocations: 0.7134 MB / 407.1 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.07531, allocations: 158.7 kB / 407.3 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-05/0.0754, allocations: 27.98 kB / 407.3 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.07561, allocations: 16 kB / 407.3 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.07569, allocations: 63.73 kB / 407.4 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.07573, allocations: 31.98 kB / 407.4 MB, free: 2.016 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004307/0.07616, allocations: 0.5665 MB / 408 MB, free: 1.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07616, allocations: 3.938 kB / 408 MB, free: 1.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001821/0.07798, allocations: 0.8133 MB / 408.8 MB, free: 0.6328 MB / 378.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.000263/0.07824, allocations: 136 kB / 409 MB, free: 500 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.07929, allocations: 1.164 MB / 410.1 MB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.158e-05/0.07937, allocations: 47.94 kB / 410.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.07954, allocations: 190.1 kB / 410.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/0.08018, allocations: 224 kB / 410.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005963/0.08614, allocations: 5.142 MB / 415.7 MB, free: 9.582 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.08682, allocations: 0.8681 MB / 416.6 MB, free: 8.691 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005445/0.08737, allocations: 251.5 kB / 416.8 MB, free: 8.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.08771, allocations: 287.3 kB / 417.1 MB, free: 8.16 MB / 394.7 MB Notification: Performance of SimCode: time 2.295e-06/0.08771, allocations: 0 / 417.1 MB, free: 8.16 MB / 394.7 MB Notification: Performance of Templates: time 0.0225/0.1102, allocations: 13.62 MB / 430.7 MB, free: 10.71 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.173122216016054]