Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.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.001193/0.001193, 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.0009239/0.0009239, 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.9951/0.9951, allocations: 177 MB / 204.8 MB, free: 5.559 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.2629/0.2629, allocations: 34.85 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.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.076e-05/4.28e-05, allocations: 2.312 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01649/0.01653, allocations: 15 MB / 393.8 MB, free: 3.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00976/0.02629, allocations: 4.865 MB / 398.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.0283, allocations: 127.4 kB / 398.8 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005757/0.03405, allocations: 5.37 MB / 404.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004272/0.03833, allocations: 2.651 MB / 406.8 MB, free: 5.965 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.04026, allocations: 1.189 MB / 408 MB, free: 4.773 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007544/0.0478, allocations: 7.615 MB / 415.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005226/0.05303, allocations: 5.119 MB / 420.7 MB, free: 7.941 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00477/0.0578, allocations: 4.671 MB / 425.4 MB, free: 3.262 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003314/0.06111, allocations: 3.449 MB / 428.8 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.06217, allocations: 0.5117 MB / 429.3 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.06373, allocations: 1.354 MB / 430.7 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001822/0.06555, allocations: 3.21 MB / 433.9 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.06693, allocations: 1.975 MB / 435.9 MB, free: 8.738 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005186/0.07211, allocations: 6.668 MB / 442.6 MB, free: 2.047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.07212, allocations: 3.984 kB / 442.6 MB, free: 2.043 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.07212, allocations: 0 / 442.6 MB, free: 2.043 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.017e-05/0.07218, allocations: 0 / 442.6 MB, free: 2.043 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.1514/0.2236, allocations: 8.085 MB / 450.6 MB, free: 94.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2237, allocations: 12.42 kB / 450.7 MB, free: 94.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006341/0.23, allocations: 3.304 MB / 454 MB, free: 93.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00363/0.2336, allocations: 3.638 MB / 457.6 MB, free: 92.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.2338, allocations: 358.3 kB / 457.9 MB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004413/0.2342, allocations: 479.2 kB / 458.4 MB, free: 92.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008469/0.2427, allocations: 8.801 MB / 467.2 MB, free: 87.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.2428, allocations: 64.78 kB / 467.3 MB, free: 87.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003573/0.2431, allocations: 228.5 kB / 467.5 MB, free: 87.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001738/0.2449, allocations: 2.48 MB / 470 MB, free: 86.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009878/0.2548, allocations: 4.417 MB / 474.4 MB, free: 85.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04597/0.3007, allocations: 62.45 MB / 0.5243 GB, free: 32.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006497/0.3072, allocations: 2.703 MB / 0.5269 GB, free: 30.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.3085, allocations: 0.7424 MB / 0.5276 GB, free: 29.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006948/0.3154, allocations: 5.301 MB / 0.5328 GB, free: 24.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.3154, allocations: 58.47 kB / 0.5329 GB, free: 24.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 5.571e-06/0.3154, allocations: 4 kB / 0.5329 GB, free: 24.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.02652/0.342, allocations: 15.41 MB / 0.5479 GB, free: 8.867 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.342, allocations: 234.7 kB / 0.5481 GB, free: 8.586 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005455/0.3475, allocations: 5.336 MB / 0.5533 GB, free: 3.277 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003723/0.3478, allocations: 53.7 kB / 0.5534 GB, free: 3.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002738/0.3506, allocations: 5.033 MB / 0.5583 GB, free: 14.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001141/0.3517, allocations: 0.8206 MB / 0.5591 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002121/0.3538, allocations: 1.862 MB / 0.5609 GB, free: 11.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.354, allocations: 480.8 kB / 0.5614 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/0.3558, allocations: 0.8793 MB / 0.5622 GB, free: 10.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01545/0.3712, allocations: 8.942 MB / 0.571 GB, free: 13.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02767/0.3989, allocations: 10.76 MB / 0.5815 GB, free: 15.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001929/0.3991, allocations: 56 kB / 0.5815 GB, free: 15.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=1111) (initialization): time 0.02686/0.4259, allocations: 7.839 MB / 0.5892 GB, free: 7.223 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.426, allocations: 88 kB / 0.5893 GB, free: 7.137 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/0.4262, allocations: 192 kB / 0.5895 GB, free: 6.949 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001882/0.4281, allocations: 0.8187 MB / 0.5903 GB, free: 6.121 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005658/0.4338, allocations: 1.953 MB / 0.5922 GB, free: 4.164 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007361/0.4411, allocations: 5.608 MB / 0.5976 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005276/0.4464, allocations: 0.5072 MB / 0.5981 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008293/0.4472, allocations: 0.5193 MB / 0.5986 GB, free: 13.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 67 (torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1059): * Single equations (assignments): 1052 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002426/0.4497, allocations: 0.8825 MB / 0.5995 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008331/0.4505, allocations: 0.5242 MB / 0.6 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/0.4532, allocations: 1.836 MB / 0.6018 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.4533, allocations: 23.94 kB / 0.6018 GB, free: 9.988 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.4533, allocations: 4 kB / 0.6018 GB, free: 9.984 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.4533, allocations: 15.97 kB / 0.6019 GB, free: 9.969 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.4653, allocations: 7.184 MB / 0.6089 GB, free: 2.652 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.4653, allocations: 4.844 kB / 0.6089 GB, free: 2.648 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007641/0.4661, allocations: 283.6 kB / 0.6091 GB, free: 2.371 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.4675, allocations: 0.5297 MB / 0.6097 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.4676, allocations: 43.94 kB / 0.6097 GB, free: 1.789 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1688/0.6364, allocations: 5.202 MB / 0.6148 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.6365, allocations: 8.219 kB / 0.6148 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004299/0.6408, allocations: 3.285 MB / 0.618 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.6418, allocations: 482 kB / 0.6185 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003708/0.6422, allocations: 36.3 kB / 0.6185 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.6435, allocations: 140.3 kB / 0.6186 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.6437, allocations: 127.8 kB / 0.6188 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.6439, allocations: 58.5 kB / 0.6188 GB, free: 127.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003364/0.6472, allocations: 2.285 MB / 0.621 GB, free: 127 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6472, allocations: 0 / 0.621 GB, free: 127 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006004/0.6532, allocations: 1.484 MB / 0.6225 GB, free: 127 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (150): * Single equations (assignments): 145 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004652/0.6537, allocations: 185.9 kB / 0.6227 GB, free: 126.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006728/0.6604, allocations: 4.253 MB / 0.6268 GB, free: 126.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.6604, allocations: 3.406 kB / 0.6268 GB, free: 126.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.6619, allocations: 1.084 MB / 0.6279 GB, free: 125.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/0.665, allocations: 0.5975 MB / 0.6285 GB, free: 125.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/0.682, allocations: 10.96 MB / 0.6392 GB, free: 121.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/0.6841, allocations: 1.791 MB / 0.6409 GB, free: 121 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004922/0.689, allocations: 2.147 MB / 0.643 GB, free: 120.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.69, allocations: 312 kB / 0.6433 GB, free: 120.7 MB / 474.7 MB Notification: Performance of SimCode: time 2.204e-06/0.69, allocations: 0 / 0.6433 GB, free: 120.7 MB / 474.7 MB Notification: Performance of Templates: time 0.06755/0.7576, allocations: 41.87 MB / 0.6842 GB, free: 96.11 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Torque/Torque.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.7954769330099225]