Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.0009594/0.0009594, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001239/0.001239, allocations: 170 kB / 24.82 MB, free: 9.254 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.9802/0.9802, allocations: 177 MB / 205.1 MB, free: 5.484 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.2809/0.2809, allocations: 34.86 MB / 296.6 MB, free: 0.5234 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 379.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.189e-05, allocations: 2.312 kB / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01098/0.01101, allocations: 9.014 MB / 388.2 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006096/0.01711, allocations: 2.85 MB / 391.1 MB, free: 5.941 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009883/0.0181, allocations: 51.88 kB / 391.1 MB, free: 5.891 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.02135, allocations: 2.11 MB / 393.2 MB, free: 3.773 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.02376, allocations: 1.178 MB / 394.4 MB, free: 2.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.02424, allocations: 323.2 kB / 394.7 MB, free: 2.273 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001908/0.02615, allocations: 2.367 MB / 397.1 MB, free: 15.9 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.02747, allocations: 1.793 MB / 398.9 MB, free: 14.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000997/0.02847, allocations: 1.298 MB / 400.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000976/0.02945, allocations: 1.181 MB / 401.4 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.02966, allocations: 192 kB / 401.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006927/0.03035, allocations: 0.6396 MB / 402.2 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006612/0.03101, allocations: 1.184 MB / 403.4 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004919/0.03151, allocations: 0.7241 MB / 404.1 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.03338, allocations: 2.72 MB / 406.8 MB, free: 6.109 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.03338, allocations: 4 kB / 406.8 MB, free: 6.105 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.03339, allocations: 0 / 406.8 MB, free: 6.105 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.982e-05/0.03342, allocations: 0 / 406.8 MB, free: 6.105 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.002902/0.03633, allocations: 3.114 MB / 409.9 MB, free: 2.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.03637, allocations: 8.031 kB / 409.9 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.03837, allocations: 0.994 MB / 410.9 MB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.03961, allocations: 1.134 MB / 412.1 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.762e-05/0.0397, allocations: 144 kB / 412.2 MB, free: 0.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.03992, allocations: 184.3 kB / 412.4 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.04297, allocations: 3.035 MB / 415.4 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.043, allocations: 11.88 kB / 415.4 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.04315, allocations: 87.91 kB / 415.5 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00111/0.04426, allocations: 1.2 MB / 416.7 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.04635, allocations: 1.45 MB / 418.2 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.05992, allocations: 20.45 MB / 438.6 MB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.06157, allocations: 0.842 MB / 439.5 MB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.06181, allocations: 196.1 kB / 439.7 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002859/0.06467, allocations: 2.474 MB / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.0647, allocations: 45.89 kB / 442.2 MB, free: 1.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.144e-06/0.0647, allocations: 3.938 kB / 442.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002561/0.06726, allocations: 1.229 MB / 443.4 MB, free: 288 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.0673, allocations: 63.89 kB / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.193/0.2603, allocations: 1.784 MB / 445.3 MB, free: 94.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.2604, allocations: 36.17 kB / 445.3 MB, free: 94.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006867/0.2611, allocations: 2.028 MB / 447.3 MB, free: 93.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.2613, allocations: 339.6 kB / 447.6 MB, free: 93.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004913/0.2618, allocations: 0.6873 MB / 448.3 MB, free: 93.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.2619, allocations: 0.5287 MB / 448.9 MB, free: 93.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.2622, allocations: 224.8 kB / 449.1 MB, free: 93.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.2632, allocations: 3.006 MB / 452.1 MB, free: 89.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002532/0.2657, allocations: 3.614 MB / 455.7 MB, free: 86.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.243e-05/0.2658, allocations: 18.31 kB / 455.7 MB, free: 86.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003262/0.269, allocations: 2.327 MB / 458 MB, free: 85.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.2691, allocations: 35.59 kB / 458.1 MB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.491e-05/0.2692, allocations: 66.88 kB / 458.1 MB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.813e-05/0.2692, allocations: 91.66 kB / 458.2 MB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.2708, allocations: 0.6401 MB / 458.9 MB, free: 85.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000122/0.2709, allocations: 131.3 kB / 459 MB, free: 85.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.2725, allocations: 399.7 kB / 459.4 MB, free: 85.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.2727, allocations: 168.3 kB / 459.6 MB, free: 85.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (362): * Single equations (assignments): 357 * 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.0006784/0.2734, allocations: 422.1 kB / 460 MB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.2735, allocations: 171 kB / 460.1 MB, free: 84.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.2736, allocations: 159.1 kB / 460.3 MB, free: 84.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.2737, allocations: 10.88 kB / 460.3 MB, free: 84.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2737, allocations: 0 / 460.3 MB, free: 84.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2737, allocations: 3.422 kB / 460.3 MB, free: 84.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/0.2764, allocations: 2.809 MB / 463.1 MB, free: 84.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.2764, allocations: 7.188 kB / 463.1 MB, free: 84.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.2766, allocations: 92.69 kB / 463.2 MB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.2766, allocations: 10.34 kB / 463.2 MB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.2766, allocations: 20.69 kB / 463.2 MB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.2766, allocations: 9.375 kB / 463.3 MB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.2767, allocations: 13.45 kB / 463.3 MB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.2772, allocations: 0.8874 MB / 464.2 MB, free: 83.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.2773, allocations: 151 kB / 464.3 MB, free: 83.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.2773, allocations: 20.3 kB / 464.3 MB, free: 83.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.2775, allocations: 20.16 kB / 464.3 MB, free: 83.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.2776, allocations: 52.58 kB / 464.4 MB, free: 83.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.2776, allocations: 25.84 kB / 464.4 MB, free: 83.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004884/0.2781, allocations: 0.7305 MB / 465.1 MB, free: 83.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2781, allocations: 0 / 465.1 MB, free: 83.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001472/0.2795, allocations: 0.7083 MB / 465.9 MB, free: 82.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0002159/0.2798, allocations: 147.8 kB / 466 MB, free: 82.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.2808, allocations: 1.185 MB / 467.2 MB, free: 82.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.2808, allocations: 0 / 467.2 MB, free: 82.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.281, allocations: 203.2 kB / 467.4 MB, free: 82.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.2816, allocations: 190.6 kB / 467.6 MB, free: 82.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/0.2857, allocations: 4.376 MB / 471.9 MB, free: 79.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.2863, allocations: 0.7618 MB / 472.7 MB, free: 79.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004974/0.2868, allocations: 244 kB / 472.9 MB, free: 79.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.2871, allocations: 300.7 kB / 473.2 MB, free: 79.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2871, allocations: 0 / 473.2 MB, free: 79.4 MB / 410.7 MB Notification: Performance of Templates: time 0.02388/0.3109, allocations: 12.45 MB / 485.7 MB, free: 77.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.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.6496599819511175]