Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.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.001455/0.001455, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001552/0.001552, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.515/1.515, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3642/0.3642, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.554e-05/3.703e-05, allocations: 10.19 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.0222/0.02224, allocations: 15.72 MB / 392.9 MB, free: 3.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.03547, allocations: 5.104 MB / 398 MB, free: 13.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.0388, allocations: 127.4 kB / 398.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007378/0.04617, allocations: 3.176 MB / 401.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008483/0.05466, allocations: 2.714 MB / 404.1 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.05783, allocations: 1.15 MB / 405.2 MB, free: 6.773 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01447/0.07231, allocations: 9.025 MB / 414.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009795/0.0821, allocations: 4.74 MB / 419 MB, free: 8.945 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009702/0.0918, allocations: 3.594 MB / 422.6 MB, free: 5.344 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00773/0.09953, allocations: 3.889 MB / 426.5 MB, free: 1.445 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001977/0.1015, allocations: 472 kB / 426.9 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003929/0.1054, allocations: 1.283 MB / 428.2 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004993/0.1104, allocations: 3.023 MB / 431.2 MB, free: 12.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00401/0.1144, allocations: 1.877 MB / 433.1 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.1306, allocations: 10.16 MB / 443.3 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1306, allocations: 4 kB / 443.3 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1307, allocations: 4 kB / 443.3 MB, free: 0.582 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003471/0.131, allocations: 0 / 443.3 MB, free: 0.582 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: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.209/0.34, allocations: 7.489 MB / 450.8 MB, free: 98.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.34, allocations: 10.78 kB / 450.8 MB, free: 98.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01662/0.3566, allocations: 4.767 MB / 455.5 MB, free: 97.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009053/0.3657, allocations: 3.949 MB / 459.5 MB, free: 95.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/0.3659, allocations: 309.5 kB / 459.8 MB, free: 95.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/0.3677, allocations: 438.9 kB / 460.2 MB, free: 95.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02693/0.3947, allocations: 15.73 MB / 475.9 MB, free: 89.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002319/0.3949, allocations: 59.28 kB / 476 MB, free: 89.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007984/0.3957, allocations: 200.8 kB / 476.2 MB, free: 89.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007286/0.403, allocations: 3.376 MB / 479.6 MB, free: 88.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03272/0.4357, allocations: 14.83 MB / 494.4 MB, free: 77.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07034/0.506, allocations: 52.04 MB / 0.5336 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01621/0.5222, allocations: 7.023 MB / 0.5405 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005269/0.5275, allocations: 4.503 MB / 0.5449 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.5288, allocations: 0.6809 MB / 0.5456 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.5288, allocations: 65.08 kB / 0.5456 GB, free: 12.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=368): time 7.053e-06/0.5288, allocations: 0 / 0.5456 GB, free: 12.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=420): time 0.1507/0.6796, allocations: 50.29 MB / 0.5947 GB, free: 10.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.6797, allocations: 116 kB / 0.5948 GB, free: 10.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008097/0.6878, allocations: 4.455 MB / 0.5992 GB, free: 5.727 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001009/0.6888, allocations: 85.61 kB / 0.5993 GB, free: 5.641 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00431/0.6931, allocations: 3.927 MB / 0.6031 GB, free: 1.676 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002777/0.6959, allocations: 1.546 MB / 0.6046 GB, free: 120 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1637/0.8596, allocations: 1.558 MB / 0.6061 GB, free: 132.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.8596, allocations: 301.1 kB / 0.6064 GB, free: 132.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005052/0.8647, allocations: 4.29 MB / 0.6106 GB, free: 131.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006178/0.8709, allocations: 8.062 MB / 0.6185 GB, free: 125.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/0.8839, allocations: 13.29 MB / 0.6315 GB, free: 116.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/0.884, allocations: 34.56 kB / 0.6315 GB, free: 116.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=1037) (initialization): time 0.02722/0.9112, allocations: 16.18 MB / 0.6473 GB, free: 111.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.061e-05/0.9113, allocations: 59.41 kB / 0.6474 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/0.9114, allocations: 124.9 kB / 0.6475 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/0.9223, allocations: 3.953 MB / 0.6513 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006632/0.9289, allocations: 1.807 MB / 0.6531 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02163/0.9506, allocations: 17.89 MB / 0.6706 GB, free: 97.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00646/0.957, allocations: 0.6474 MB / 0.6712 GB, free: 97.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009934/0.958, allocations: 426.9 kB / 0.6716 GB, free: 96.86 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[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 (938): * Single equations (assignments): 930 * Array equations: 6 * 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 {(6,34,72.2%), (3,10,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00395/0.962, allocations: 2.877 MB / 0.6744 GB, free: 94.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/0.9632, allocations: 0.5547 MB / 0.675 GB, free: 94.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/0.9825, allocations: 12.05 MB / 0.6867 GB, free: 82.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-05/0.9826, allocations: 63.98 kB / 0.6868 GB, free: 82.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.433e-05/0.9826, allocations: 8 kB / 0.6868 GB, free: 82.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.203e-05/0.9827, allocations: 23.86 kB / 0.6868 GB, free: 82.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03351/1.016, allocations: 21.1 MB / 0.7074 GB, free: 61.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.564e-05/1.016, allocations: 18.22 kB / 0.7074 GB, free: 61.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00344/1.02, allocations: 0.6942 MB / 0.7081 GB, free: 61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01008/1.03, allocations: 3.742 MB / 0.7118 GB, free: 57.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007305/1.03, allocations: 79.98 kB / 0.7119 GB, free: 57.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/1.049, allocations: 16.51 MB / 0.728 GB, free: 40.58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/1.049, allocations: 19.88 kB / 0.728 GB, free: 40.56 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02417/1.073, allocations: 17.13 MB / 0.7447 GB, free: 23.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.075, allocations: 492.9 kB / 0.7452 GB, free: 22.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008242/1.075, allocations: 79.92 kB / 0.7453 GB, free: 22.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003243/1.079, allocations: 479 kB / 0.7457 GB, free: 22.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000846/1.079, allocations: 277.8 kB / 0.746 GB, free: 21.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003327/1.08, allocations: 112 kB / 0.7461 GB, free: 21.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003388/1.083, allocations: 2.667 MB / 0.7487 GB, free: 19.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/1.083, allocations: 2.516 kB / 0.7487 GB, free: 19.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006782/1.09, allocations: 1.889 MB / 0.7505 GB, free: 17.28 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.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 (333): * Single equations (assignments): 325 * Array equations: 6 * 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,9,100.0%), (6,31,72.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007668/1.091, allocations: 246.3 kB / 0.7508 GB, free: 17.04 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01316/1.104, allocations: 10.12 MB / 0.7607 GB, free: 6.902 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/1.104, allocations: 4 kB / 0.7607 GB, free: 6.898 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005485/1.109, allocations: 4.318 MB / 0.7649 GB, free: 2.562 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004014/1.113, allocations: 0.6541 MB / 0.7655 GB, free: 1.945 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1687/1.282, allocations: 16.41 MB / 0.7816 GB, free: 133.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00456/1.287, allocations: 4.041 MB / 0.7855 GB, free: 133 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005547/1.292, allocations: 2.735 MB / 0.7882 GB, free: 132.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/1.294, allocations: 346 kB / 0.7885 GB, free: 132.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/1.294, allocations: 3.188 kB / 0.7885 GB, free: 132.9 MB / 474.7 MB Notification: Performance of Templates: time 0.09791/1.392, allocations: 70.99 MB / 0.8578 GB, free: 89.76 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.377363414037973]