Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.0013/0.0013, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.0009011/0.0009011, allocations: 162.1 kB / 24.92 MB, free: 8.77 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.9483/0.9483, allocations: 177 MB / 205.2 MB, free: 5.438 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.2508/0.2508, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.672e-05, allocations: 4.984 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01316/0.01318, allocations: 14.52 MB / 340.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007389/0.02057, allocations: 5.173 MB / 345.6 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.02163, allocations: 123.4 kB / 345.7 MB, free: 3.262 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004656/0.02629, allocations: 5.369 MB / 351.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003649/0.02994, allocations: 2.694 MB / 353.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.03188, allocations: 1.404 MB / 355.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006712/0.0386, allocations: 9.048 MB / 364.3 MB, free: 0.707 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004166/0.04276, allocations: 5.8 MB / 370.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004948/0.04771, allocations: 5.346 MB / 375.4 MB, free: 5.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003593/0.0513, allocations: 3.725 MB / 379.1 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006175/0.05192, allocations: 0.5547 MB / 379.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.05367, allocations: 1.514 MB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002226/0.0559, allocations: 3.398 MB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.05764, allocations: 2.103 MB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005464/0.0631, allocations: 7.038 MB / 393.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.06311, allocations: 0 / 393.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.06311, allocations: 0 / 393.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001012/0.06321, allocations: 0 / 393.7 MB, free: 3.047 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.007276/0.07049, allocations: 7.096 MB / 400.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.07052, allocations: 8.031 kB / 400.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003777/0.0743, allocations: 1.639 MB / 402.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003675/0.07797, allocations: 3.291 MB / 405.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.07813, allocations: 365.7 kB / 406.1 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005041/0.07864, allocations: 492 kB / 406.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006852/0.08549, allocations: 7.2 MB / 413.8 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.08563, allocations: 71.44 kB / 413.9 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003723/0.086, allocations: 235.8 kB / 414.1 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001699/0.0877, allocations: 2.223 MB / 416.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005665/0.09337, allocations: 3.473 MB / 419.8 MB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2099/0.3033, allocations: 44.46 MB / 464.3 MB, free: 76.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.315, allocations: 2.046 MB / 466.3 MB, free: 76.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.3155, allocations: 376.1 kB / 466.7 MB, free: 76.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/0.3275, allocations: 4.349 MB / 471 MB, free: 75.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3275, allocations: 48.62 kB / 471.1 MB, free: 75.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 3.727e-06/0.3275, allocations: 0 / 471.1 MB, free: 75.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.01617/0.3437, allocations: 5.052 MB / 476.1 MB, free: 74.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.3437, allocations: 246.8 kB / 476.4 MB, free: 73.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003635/0.3474, allocations: 4.859 MB / 481.2 MB, free: 72.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.366e-05/0.3474, allocations: 44.39 kB / 481.3 MB, free: 72.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.3489, allocations: 4.456 MB / 485.7 MB, free: 68.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.3492, allocations: 0.6208 MB / 486.3 MB, free: 68.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.3504, allocations: 1.563 MB / 487.9 MB, free: 67.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.261e-05/0.3504, allocations: 301.1 kB / 488.2 MB, free: 66.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.3518, allocations: 0.9068 MB / 489.1 MB, free: 65.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/0.3543, allocations: 6.114 MB / 495.2 MB, free: 57.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.3582, allocations: 7.727 MB / 0.4912 GB, free: 47.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.6e-05/0.3582, allocations: 52 kB / 0.4912 GB, free: 47.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.007487/0.3657, allocations: 5.518 MB / 0.4966 GB, free: 41.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.469e-05/0.3658, allocations: 92.03 kB / 0.4967 GB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/0.366, allocations: 188 kB / 0.4969 GB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005691/0.3665, allocations: 347 kB / 0.4972 GB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/0.3704, allocations: 1.831 MB / 0.499 GB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.3721, allocations: 3.965 MB / 0.5029 GB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.3752, allocations: 375.6 kB / 0.5032 GB, free: 34.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/0.3754, allocations: 439.9 kB / 0.5036 GB, free: 34.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1017): * Single equations (assignments): 1011 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (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.001245/0.3767, allocations: 0.8112 MB / 0.5044 GB, free: 33.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.377, allocations: 279.7 kB / 0.5047 GB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007402/0.3777, allocations: 0.7967 MB / 0.5055 GB, free: 32.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.3777, allocations: 23.98 kB / 0.5055 GB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3777, allocations: 3.938 kB / 0.5055 GB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3777, allocations: 10.66 kB / 0.5055 GB, free: 32.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004387/0.3821, allocations: 4.709 MB / 0.5101 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3821, allocations: 4 kB / 0.5101 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.3826, allocations: 195.7 kB / 0.5103 GB, free: 27.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.383, allocations: 391.2 kB / 0.5107 GB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.3831, allocations: 24 kB / 0.5107 GB, free: 26.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008918/0.384, allocations: 3.616 MB / 0.5142 GB, free: 23.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.384, allocations: 8 kB / 0.5142 GB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.3851, allocations: 1.799 MB / 0.516 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/0.3855, allocations: 464.7 kB / 0.5164 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/0.3858, allocations: 28 kB / 0.5165 GB, free: 20.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007214/0.3865, allocations: 35.98 kB / 0.5165 GB, free: 20.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3867, allocations: 95.44 kB / 0.5166 GB, free: 20.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.3867, allocations: 35.94 kB / 0.5166 GB, free: 20.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001166/0.3879, allocations: 1.841 MB / 0.5184 GB, free: 18.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3879, allocations: 4 kB / 0.5184 GB, free: 18.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003247/0.3911, allocations: 1.375 MB / 0.5198 GB, free: 17.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.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 (114): * Single equations (assignments): 108 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (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.0002402/0.3914, allocations: 156.6 kB / 0.5199 GB, free: 17.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.3937, allocations: 3.26 MB / 0.5231 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001528/0.3938, allocations: 130.2 kB / 0.5232 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.3942, allocations: 0.6584 MB / 0.5239 GB, free: 13.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.3962, allocations: 0.9394 MB / 0.5248 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008323/0.4045, allocations: 10.54 MB / 0.5351 GB, free: 1.406 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.4057, allocations: 1.777 MB / 0.5368 GB, free: 15.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001376/0.4071, allocations: 0.6823 MB / 0.5375 GB, free: 14.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000983/0.408, allocations: 0.7432 MB / 0.5382 GB, free: 14.2 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/0.408, allocations: 0 / 0.5382 GB, free: 14.2 MB / 426.7 MB Notification: Performance of Templates: time 0.05666/0.4647, allocations: 39.16 MB / 0.5764 GB, free: 7.492 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.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.389090921264142]