Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.001002/0.001002, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001137/0.001137, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 1.011/1.011, allocations: 177 MB / 205.2 MB, free: 5.059 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.304/0.304, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.201e-05, allocations: 5.406 kB / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01001/0.01004, allocations: 11.99 MB / 337.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007642/0.01768, allocations: 4.559 MB / 342.5 MB, free: 6.562 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.01924, allocations: 107.5 kB / 342.6 MB, free: 6.457 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00407/0.02331, allocations: 3.979 MB / 346.6 MB, free: 2.465 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004114/0.02742, allocations: 2.341 MB / 348.9 MB, free: 116 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.029, allocations: 1.127 MB / 350 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006631/0.03563, allocations: 6.783 MB / 356.8 MB, free: 8.195 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004589/0.04022, allocations: 4.245 MB / 361 MB, free: 3.859 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004604/0.04482, allocations: 3.957 MB / 365 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003261/0.04809, allocations: 2.79 MB / 367.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006801/0.04877, allocations: 420 kB / 368.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.0505, allocations: 1.389 MB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001663/0.05217, allocations: 2.622 MB / 372.2 MB, free: 8.668 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001774/0.05394, allocations: 1.604 MB / 373.8 MB, free: 7.059 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005958/0.0599, allocations: 5.691 MB / 379.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.05991, allocations: 7.922 kB / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.05991, allocations: 0 / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001473/0.06005, allocations: 0 / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.007387/0.06744, allocations: 5.626 MB / 385.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.06748, allocations: 8.031 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/0.07088, allocations: 1.308 MB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004174/0.07506, allocations: 2.607 MB / 389.1 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004266/0.07548, allocations: 283.5 kB / 389.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005909/0.07607, allocations: 380.1 kB / 389.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006967/0.08304, allocations: 5.804 MB / 395.5 MB, free: 372 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.877e-05/0.08314, allocations: 51.56 kB / 395.6 MB, free: 320 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005597/0.0837, allocations: 175.8 kB / 395.7 MB, free: 144 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001532/0.08523, allocations: 1.893 MB / 397.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00531/0.09054, allocations: 2.86 MB / 400.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03203/0.1226, allocations: 36.7 MB / 437.2 MB, free: 5.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/0.1265, allocations: 1.801 MB / 439 MB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009318/0.1275, allocations: 322.1 kB / 439.3 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.166/0.2935, allocations: 3.87 MB / 443.2 MB, free: 109.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.2935, allocations: 49.5 kB / 443.2 MB, free: 109.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 4.508e-06/0.2935, allocations: 0 / 443.2 MB, free: 109.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01029/0.3038, allocations: 4.12 MB / 447.4 MB, free: 109.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.3038, allocations: 223.1 kB / 447.6 MB, free: 109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003519/0.3074, allocations: 4.044 MB / 451.6 MB, free: 108.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/0.3074, allocations: 42.83 kB / 451.7 MB, free: 108.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.3088, allocations: 3.679 MB / 455.3 MB, free: 106.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003805/0.3092, allocations: 0.5363 MB / 455.9 MB, free: 106.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009391/0.3101, allocations: 1.332 MB / 457.2 MB, free: 106 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.159e-05/0.3102, allocations: 306.9 kB / 457.5 MB, free: 105.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.3113, allocations: 0.7803 MB / 458.3 MB, free: 105.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002352/0.3137, allocations: 5.207 MB / 463.5 MB, free: 99.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004247/0.3179, allocations: 6.602 MB / 470.1 MB, free: 92.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/0.318, allocations: 48 kB / 470.1 MB, free: 92.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.005286/0.3233, allocations: 4.702 MB / 474.8 MB, free: 88.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/0.3234, allocations: 78.66 kB / 474.9 MB, free: 88.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/0.3235, allocations: 160 kB / 475.1 MB, free: 88.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004637/0.324, allocations: 293.7 kB / 475.4 MB, free: 88.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/0.3263, allocations: 1.543 MB / 476.9 MB, free: 86.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.3276, allocations: 2.701 MB / 479.6 MB, free: 84.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/0.331, allocations: 314 kB / 479.9 MB, free: 83.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/0.3313, allocations: 376 kB / 480.3 MB, free: 83.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (860): * Single equations (assignments): 853 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001765/0.3331, allocations: 0.7084 MB / 481 MB, free: 82.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005836/0.3337, allocations: 227.7 kB / 481.2 MB, free: 82.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007521/0.3344, allocations: 0.6454 MB / 481.9 MB, free: 81.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.3344, allocations: 15.94 kB / 481.9 MB, free: 81.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.3344, allocations: 4 kB / 481.9 MB, free: 81.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.3345, allocations: 3.984 kB / 481.9 MB, free: 81.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00454/0.339, allocations: 3.921 MB / 485.8 MB, free: 77.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.339, allocations: 7.938 kB / 485.8 MB, free: 77.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.3394, allocations: 159.8 kB / 486 MB, free: 77.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.3398, allocations: 316.9 kB / 486.3 MB, free: 77.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.463e-05/0.3399, allocations: 30.48 kB / 486.3 MB, free: 77.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009174/0.3408, allocations: 2.405 MB / 488.7 MB, free: 74.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.3408, allocations: 11.94 kB / 488.7 MB, free: 74.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.3421, allocations: 1.629 MB / 490.3 MB, free: 72.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.3426, allocations: 381.1 kB / 490.7 MB, free: 72.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.3428, allocations: 28.84 kB / 490.7 MB, free: 72.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/0.3434, allocations: 27.94 kB / 490.8 MB, free: 72.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.3435, allocations: 83.69 kB / 490.9 MB, free: 72.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.3435, allocations: 35.98 kB / 490.9 MB, free: 72.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001143/0.3447, allocations: 1.505 MB / 492.4 MB, free: 70.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3447, allocations: 0 / 492.4 MB, free: 70.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004061/0.3487, allocations: 1.098 MB / 493.5 MB, free: 69.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (97): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000288/0.349, allocations: 148.1 kB / 493.6 MB, free: 69.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002634/0.3517, allocations: 2.731 MB / 496.4 MB, free: 66.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001453/0.3518, allocations: 108.2 kB / 496.5 MB, free: 66.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.3522, allocations: 496.9 kB / 497 MB, free: 66.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.3541, allocations: 0.7546 MB / 497.7 MB, free: 65.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00903/0.3632, allocations: 8.505 MB / 0.4944 GB, free: 56.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.3642, allocations: 1.436 MB / 0.4958 GB, free: 55.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001387/0.3656, allocations: 0.5645 MB / 0.4963 GB, free: 54.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007336/0.3663, allocations: 0.6144 MB / 0.4969 GB, free: 54.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.894e-06/0.3663, allocations: 0 / 0.4969 GB, free: 54.22 MB / 410.7 MB Notification: Performance of Templates: time 0.04552/0.4118, allocations: 30.47 MB / 0.5267 GB, free: 24.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.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.232232551090419]