Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001007/0.001007, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.00178/0.00178, allocations: 170.1 kB / 24.82 MB, free: 8.871 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 1.062/1.062, allocations: 177.2 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2943/0.2943, allocations: 32.81 MB / 294.6 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.088e-05/4.35e-05, allocations: 6.25 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01221/0.01225, allocations: 9.565 MB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008608/0.02086, allocations: 2.994 MB / 389 MB, free: 7.793 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.02302, allocations: 59.81 kB / 389.1 MB, free: 7.734 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004479/0.0275, allocations: 2.757 MB / 391.8 MB, free: 4.969 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003035/0.03053, allocations: 1.244 MB / 393.1 MB, free: 3.719 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009194/0.03145, allocations: 391.1 kB / 393.5 MB, free: 3.336 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003357/0.03481, allocations: 2.589 MB / 396.1 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002776/0.03758, allocations: 2.316 MB / 398.4 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.0396, allocations: 1.559 MB / 399.9 MB, free: 12.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.04152, allocations: 1.376 MB / 401.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004674/0.04199, allocations: 252 kB / 401.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.04326, allocations: 0.7098 MB / 402.3 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.04446, allocations: 1.422 MB / 403.7 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.04566, allocations: 0.88 MB / 404.6 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003898/0.04955, allocations: 3.16 MB / 407.7 MB, free: 5.012 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.04956, allocations: 4 kB / 407.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.04956, allocations: 0 / 407.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.65e-05/0.04963, allocations: 0 / 407.7 MB, free: 5.008 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.005637/0.05527, allocations: 3.539 MB / 411.3 MB, free: 1.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.05532, allocations: 12.03 kB / 411.3 MB, free: 1.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003333/0.05866, allocations: 1.072 MB / 412.4 MB, free: 328 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.06079, allocations: 1.279 MB / 413.6 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.06092, allocations: 176.9 kB / 413.8 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003536/0.06128, allocations: 236.3 kB / 414 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005793/0.06707, allocations: 3.43 MB / 417.5 MB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.101e-05/0.06712, allocations: 11.88 kB / 417.5 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/0.06738, allocations: 107.9 kB / 417.6 MB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001651/0.06903, allocations: 1.299 MB / 418.9 MB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004504/0.07353, allocations: 1.617 MB / 420.5 MB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/0.0903, allocations: 21.59 MB / 442.1 MB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.09224, allocations: 0.9594 MB / 443 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.0925, allocations: 214.3 kB / 443.3 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1612/0.2537, allocations: 2.531 MB / 445.8 MB, free: 86.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.2538, allocations: 46.08 kB / 445.8 MB, free: 86.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 3.576e-06/0.2538, allocations: 2.906 kB / 445.8 MB, free: 86.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.002785/0.2565, allocations: 1.426 MB / 447.3 MB, free: 86.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.2566, allocations: 57.84 kB / 447.3 MB, free: 86.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.258, allocations: 1.861 MB / 449.2 MB, free: 85.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.258, allocations: 39.62 kB / 449.2 MB, free: 85.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007447/0.2587, allocations: 2.228 MB / 451.4 MB, free: 84.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.2589, allocations: 376.1 kB / 451.8 MB, free: 84.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005317/0.2594, allocations: 0.724 MB / 452.5 MB, free: 84.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.2595, allocations: 0.5268 MB / 453.1 MB, free: 83.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.2598, allocations: 243.1 kB / 453.3 MB, free: 83.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009156/0.2607, allocations: 3.122 MB / 456.4 MB, free: 80.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.2628, allocations: 3.757 MB / 460.2 MB, free: 76.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.588e-05/0.2628, allocations: 18.75 kB / 460.2 MB, free: 76.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.00247/0.2653, allocations: 2.442 MB / 462.6 MB, free: 76.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.2654, allocations: 34.78 kB / 462.7 MB, free: 76.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-05/0.2654, allocations: 73.78 kB / 462.7 MB, free: 76.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.356e-05/0.2655, allocations: 89.91 kB / 462.8 MB, free: 76.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.2665, allocations: 0.6743 MB / 463.5 MB, free: 76.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.022e-05/0.2665, allocations: 141.4 kB / 463.6 MB, free: 76.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.2676, allocations: 422.1 kB / 464.1 MB, free: 76.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.2678, allocations: 171.4 kB / 464.2 MB, free: 76.12 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 (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.0008074/0.2686, allocations: 421 kB / 464.6 MB, free: 75.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.2687, allocations: 182.8 kB / 464.8 MB, free: 75.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.2689, allocations: 181.6 kB / 465 MB, free: 75.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.2689, allocations: 9.625 kB / 465 MB, free: 75.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.2689, allocations: 4 kB / 465 MB, free: 75.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.252e-05/0.269, allocations: 8.984 kB / 465 MB, free: 75.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004458/0.2734, allocations: 2.492 MB / 467.5 MB, free: 75.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.2734, allocations: 6.594 kB / 467.5 MB, free: 75.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.2737, allocations: 109.9 kB / 467.6 MB, free: 75.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.2737, allocations: 12.84 kB / 467.6 MB, free: 75.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.2737, allocations: 27.2 kB / 467.7 MB, free: 75.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.2737, allocations: 10.12 kB / 467.7 MB, free: 75.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.2738, allocations: 13.41 kB / 467.7 MB, free: 75.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/0.2747, allocations: 0.9686 MB / 468.7 MB, free: 74.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.2751, allocations: 168.9 kB / 468.8 MB, free: 74.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.2752, allocations: 20.69 kB / 468.8 MB, free: 74.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.2754, allocations: 22.56 kB / 468.9 MB, free: 74.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.2755, allocations: 67.17 kB / 468.9 MB, free: 74.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.2755, allocations: 30.11 kB / 469 MB, free: 74.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000778/0.2763, allocations: 0.756 MB / 469.7 MB, free: 74.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2763, allocations: 0 / 469.7 MB, free: 74.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00266/0.279, allocations: 0.8104 MB / 470.5 MB, free: 73.79 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.0003564/0.2793, allocations: 151.2 kB / 470.7 MB, free: 73.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001915/0.2813, allocations: 1.258 MB / 471.9 MB, free: 73.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.2813, allocations: 0.9375 kB / 471.9 MB, free: 73.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.2815, allocations: 216.5 kB / 472.1 MB, free: 73.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009442/0.2824, allocations: 219.4 kB / 472.4 MB, free: 73.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007405/0.2898, allocations: 5.008 MB / 477.4 MB, free: 70.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008926/0.2907, allocations: 0.8704 MB / 478.2 MB, free: 70.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008043/0.2915, allocations: 255.1 kB / 478.5 MB, free: 70.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/0.2919, allocations: 312.3 kB / 478.8 MB, free: 70.1 MB / 410.7 MB Notification: Performance of SimCode: time 2.836e-06/0.2919, allocations: 0 / 478.8 MB, free: 70.1 MB / 410.7 MB Notification: Performance of Templates: time 0.0356/0.3275, allocations: 13.65 MB / 492.4 MB, free: 68.39 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",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.837179006077349]