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.0009001/0.0009001, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003864/0.003864, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8753/0.8753, allocations: 177 MB / 204.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2338/0.2338, allocations: 34.25 MB / 295.6 MB, free: 0.6758 MB / 266.7 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 1.493e-06/1.493e-06, allocations: 0 / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.083e-05, allocations: 6.219 kB / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.1796/0.1796, allocations: 8.932 MB / 452.3 MB, free: 39.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.1825, allocations: 2.917 MB / 455.3 MB, free: 37.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.1829, allocations: 60.47 kB / 455.3 MB, free: 37.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.1849, allocations: 2.669 MB / 458 MB, free: 36.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.1861, allocations: 1.24 MB / 459.2 MB, free: 35.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.1865, allocations: 392 kB / 459.6 MB, free: 35.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.1878, allocations: 2.577 MB / 462.2 MB, free: 34.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.189, allocations: 2.25 MB / 464.4 MB, free: 33.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007711/0.1898, allocations: 1.554 MB / 466 MB, free: 32.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007658/0.1905, allocations: 1.327 MB / 467.3 MB, free: 32.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.1907, allocations: 253.2 kB / 467.6 MB, free: 32.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005752/0.1913, allocations: 0.7066 MB / 468.3 MB, free: 32.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005184/0.1918, allocations: 1.413 MB / 469.7 MB, free: 31.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.1922, allocations: 0.8813 MB / 470.6 MB, free: 31.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.1945, allocations: 5.083 MB / 475.6 MB, free: 29.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1945, allocations: 0 / 475.6 MB, free: 29.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1945, allocations: 0 / 475.6 MB, free: 29.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.121e-05/0.1945, allocations: 0 / 475.6 MB, free: 29.63 MB / 410.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.00252/0.197, allocations: 3.244 MB / 478.9 MB, free: 27.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1971, allocations: 9.344 kB / 478.9 MB, free: 27.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/0.1996, allocations: 1.632 MB / 480.5 MB, free: 27.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.2012, allocations: 1.45 MB / 482 MB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.2013, allocations: 183.3 kB / 482.2 MB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/0.2016, allocations: 227.9 kB / 482.4 MB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00698/0.2085, allocations: 7.128 MB / 489.5 MB, free: 23.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.232e-05/0.2086, allocations: 18.16 kB / 489.5 MB, free: 23.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.2088, allocations: 111.8 kB / 489.6 MB, free: 23.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001404/0.2102, allocations: 1.439 MB / 491.1 MB, free: 23.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00693/0.2171, allocations: 5.95 MB / 497 MB, free: 21.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01476/0.2319, allocations: 20.31 MB / 0.5052 GB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.2342, allocations: 1.761 MB / 0.5069 GB, free: 3.887 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005492/0.2348, allocations: 0.7113 MB / 0.5076 GB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00334/0.2381, allocations: 3.309 MB / 0.5109 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.2381, allocations: 51.08 kB / 0.5109 GB, free: 15.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 3.126e-06/0.2381, allocations: 0 / 0.5109 GB, free: 15.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=87): time 0.003595/0.2417, allocations: 2.398 MB / 0.5132 GB, free: 13.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.2418, allocations: 60.06 kB / 0.5133 GB, free: 13.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.2435, allocations: 2.013 MB / 0.5153 GB, free: 11.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.2435, allocations: 37.7 kB / 0.5153 GB, free: 11.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008475/0.2444, allocations: 2.11 MB / 0.5174 GB, free: 9.105 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.2445, allocations: 349.3 kB / 0.5177 GB, free: 8.762 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005117/0.2451, allocations: 0.6473 MB / 0.5183 GB, free: 8.105 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.2452, allocations: 345.9 kB / 0.5187 GB, free: 7.762 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008148/0.246, allocations: 0.9313 MB / 0.5196 GB, free: 6.828 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.2476, allocations: 2.879 MB / 0.5224 GB, free: 2.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/0.2502, allocations: 4.147 MB / 0.5264 GB, free: 13.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/0.2502, allocations: 20 kB / 0.5265 GB, free: 13.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.003131/0.2533, allocations: 3.694 MB / 0.5301 GB, free: 10.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.2534, allocations: 39.92 kB / 0.5301 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.82e-05/0.2534, allocations: 72 kB / 0.5302 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.424e-05/0.2535, allocations: 88 kB / 0.5303 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.2545, allocations: 0.6939 MB / 0.5309 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.957e-05/0.2546, allocations: 132.1 kB / 0.5311 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009832/0.2556, allocations: 433.7 kB / 0.5315 GB, free: 8.711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.2557, allocations: 192 kB / 0.5317 GB, free: 8.523 MB / 442.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.001499/0.2572, allocations: 1.511 MB / 0.5331 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2573, allocations: 166.8 kB / 0.5333 GB, free: 6.836 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.2575, allocations: 201 kB / 0.5335 GB, free: 6.629 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.2575, allocations: 12 kB / 0.5335 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2575, allocations: 4 kB / 0.5335 GB, free: 6.613 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2575, allocations: 3.984 kB / 0.5335 GB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.2613, allocations: 3.782 MB / 0.5372 GB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2613, allocations: 12.09 kB / 0.5372 GB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.2616, allocations: 123.7 kB / 0.5373 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.2617, allocations: 12 kB / 0.5373 GB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.2617, allocations: 20 kB / 0.5374 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/0.2617, allocations: 19.92 kB / 0.5374 GB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.2617, allocations: 15.88 kB / 0.5374 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.2627, allocations: 1.381 MB / 0.5387 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.2629, allocations: 162.7 kB / 0.5389 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/0.263, allocations: 20 kB / 0.5389 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.2632, allocations: 31.97 kB / 0.5389 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.2633, allocations: 67.67 kB / 0.539 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.2633, allocations: 39.97 kB / 0.539 GB, free: 0.668 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009359/0.2643, allocations: 1.155 MB / 0.5402 GB, free: 15.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2643, allocations: 0 / 0.5402 GB, free: 15.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001614/0.2659, allocations: 0.8055 MB / 0.541 GB, free: 14.71 MB / 458.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.0002706/0.2661, allocations: 154.9 kB / 0.5411 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.2679, allocations: 2.076 MB / 0.5431 GB, free: 12.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2679, allocations: 4 kB / 0.5431 GB, free: 12.49 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.2682, allocations: 481.2 kB / 0.5436 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/0.2689, allocations: 218.1 kB / 0.5438 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/0.2748, allocations: 6.094 MB / 0.5498 GB, free: 5.578 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/0.2763, allocations: 1.957 MB / 0.5517 GB, free: 3.586 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.2766, allocations: 148.5 kB / 0.5518 GB, free: 3.441 MB / 458.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2766, allocations: 0 / 0.5518 GB, free: 3.441 MB / 458.7 MB Notification: Performance of Templates: time 0.03011/0.3067, allocations: 33.26 MB / 0.5843 GB, free: 2.262 MB / 490.7 MB " [Timeout remaining time 660] 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.1.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: 6.614132414571941]