Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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.001013/0.001013, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.000997/0.000997, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.991/0.991, allocations: 177 MB / 204.8 MB, free: 5.605 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.2919/0.2919, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.95e-05, allocations: 3.156 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.0111/0.01111, allocations: 14.45 MB / 393.2 MB, free: 3.578 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008448/0.01956, allocations: 4.987 MB / 398.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/0.02139, allocations: 143.3 kB / 398.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005822/0.02721, allocations: 6.434 MB / 404.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.03135, allocations: 2.916 MB / 407.7 MB, free: 5.051 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.0333, allocations: 1.797 MB / 409.5 MB, free: 3.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00693/0.04023, allocations: 9.121 MB / 418.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006354/0.04658, allocations: 6.592 MB / 425.2 MB, free: 3.434 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005615/0.05219, allocations: 4.507 MB / 429.7 MB, free: 14.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004413/0.05661, allocations: 4.451 MB / 434.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007883/0.0574, allocations: 0.582 MB / 434.7 MB, free: 9.875 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.05919, allocations: 1.373 MB / 436.1 MB, free: 8.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00238/0.06157, allocations: 3.822 MB / 439.9 MB, free: 4.668 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002154/0.06373, allocations: 2.294 MB / 442.2 MB, free: 2.367 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1701/0.2338, allocations: 7.587 MB / 449.8 MB, free: 66.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2338, allocations: 0 / 449.8 MB, free: 66.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2339, allocations: 0 / 449.8 MB, free: 66.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003191/0.2342, allocations: 2.906 kB / 449.8 MB, free: 66.99 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: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01012/0.2443, allocations: 9.301 MB / 459.1 MB, free: 63.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2443, allocations: 9.281 kB / 459.1 MB, free: 63.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005485/0.2498, allocations: 3.341 MB / 462.5 MB, free: 63.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003795/0.2536, allocations: 4.106 MB / 466.6 MB, free: 62.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.2538, allocations: 420.3 kB / 467 MB, free: 62.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005116/0.2543, allocations: 0.5408 MB / 467.5 MB, free: 62.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/0.2657, allocations: 10.4 MB / 477.9 MB, free: 57.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/0.2658, allocations: 63.8 kB / 478 MB, free: 57.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004316/0.2663, allocations: 261.9 kB / 478.3 MB, free: 57.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002656/0.2689, allocations: 2.926 MB / 481.2 MB, free: 56.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.2794, allocations: 5.235 MB / 486.4 MB, free: 56.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04501/0.3244, allocations: 72.18 MB / 0.5455 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007224/0.3316, allocations: 3.462 MB / 0.5489 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008854/0.3325, allocations: 0.7659 MB / 0.5496 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007438/0.3399, allocations: 6.328 MB / 0.5558 GB, free: 6.086 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.34, allocations: 54.7 kB / 0.5559 GB, free: 6.023 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 5.631e-06/0.34, allocations: 4 kB / 0.5559 GB, free: 6.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02353/0.3635, allocations: 13.08 MB / 0.5686 GB, free: 9.016 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/0.3636, allocations: 157.3 kB / 0.5688 GB, free: 8.836 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006712/0.3703, allocations: 5.53 MB / 0.5742 GB, free: 3.324 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.3704, allocations: 56.12 kB / 0.5742 GB, free: 3.266 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003267/0.3737, allocations: 5.499 MB / 0.5796 GB, free: 13.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009776/0.3747, allocations: 0.874 MB / 0.5805 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/0.3763, allocations: 1.818 MB / 0.5822 GB, free: 11.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3764, allocations: 476.8 kB / 0.5827 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.3777, allocations: 0.7892 MB / 0.5835 GB, free: 9.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005569/0.3833, allocations: 8.692 MB / 0.592 GB, free: 13.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1858/0.5691, allocations: 10.48 MB / 0.6022 GB, free: 132.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002627/0.5694, allocations: 53.56 kB / 0.6022 GB, free: 132.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01128/0.5806, allocations: 7.055 MB / 0.6091 GB, free: 131.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.194e-05/0.5807, allocations: 88.75 kB / 0.6092 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001622/0.5809, allocations: 190.2 kB / 0.6094 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.581, allocations: 252.6 kB / 0.6096 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/0.5842, allocations: 1.934 MB / 0.6115 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000234/0.5845, allocations: 378.8 kB / 0.6119 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003726/0.5882, allocations: 0.6244 MB / 0.6125 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004495/0.5886, allocations: 0.516 MB / 0.613 GB, free: 131.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.002305/0.5909, allocations: 0.8701 MB / 0.6139 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005496/0.5915, allocations: 0.5649 MB / 0.6144 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.5919, allocations: 495.4 kB / 0.6149 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.592, allocations: 23.97 kB / 0.6149 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/0.592, allocations: 3.188 kB / 0.6149 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.592, allocations: 6.609 kB / 0.6149 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.603, allocations: 10.17 MB / 0.6248 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.782e-05/0.6031, allocations: 46.69 kB / 0.6249 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008715/0.604, allocations: 455.7 kB / 0.6253 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-05/0.604, allocations: 60.91 kB / 0.6254 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.6042, allocations: 97.94 kB / 0.6255 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.887e-05/0.6042, allocations: 90 kB / 0.6256 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.331e-05/0.6043, allocations: 73.38 kB / 0.6256 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.6075, allocations: 4.11 MB / 0.6296 GB, free: 124.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006838/0.6081, allocations: 0.6006 MB / 0.6302 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004165/0.6086, allocations: 105.8 kB / 0.6303 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.6098, allocations: 240.7 kB / 0.6306 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.61, allocations: 313.3 kB / 0.6309 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/0.6102, allocations: 129.4 kB / 0.631 GB, free: 124 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0029/0.6131, allocations: 2.407 MB / 0.6333 GB, free: 123.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6131, allocations: 0 / 0.6333 GB, free: 123.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0047/0.6178, allocations: 1.49 MB / 0.6348 GB, free: 123.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.0004171/0.6182, allocations: 295.2 kB / 0.6351 GB, free: 123.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003956/0.6222, allocations: 3.674 MB / 0.6387 GB, free: 122.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/0.6222, allocations: 11.09 kB / 0.6387 GB, free: 122.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006155/0.6228, allocations: 0.749 MB / 0.6394 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.6253, allocations: 0.8327 MB / 0.6402 GB, free: 121.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.6399, allocations: 13.74 MB / 0.6536 GB, free: 112.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002069/0.642, allocations: 2.104 MB / 0.6557 GB, free: 111.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004615/0.6466, allocations: 2.198 MB / 0.6578 GB, free: 109.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006876/0.6473, allocations: 348.6 kB / 0.6582 GB, free: 109.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.833e-06/0.6473, allocations: 0 / 0.6582 GB, free: 109.5 MB / 474.7 MB Notification: Performance of Templates: time 0.06074/0.708, allocations: 35.25 MB / 0.6926 GB, free: 79.37 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.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: 4.948374896775931]