Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 91.22 kB / 20.42 MB, free: 4.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9522/0.9522, allocations: 158.6 MB / 185.7 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2181/0.2181, allocations: 32.38 MB / 270.4 MB, free: 14.69 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.048e-05, allocations: 13.34 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.03106/0.03109, allocations: 17.92 MB / 365.6 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.04528, allocations: 5.265 MB / 370.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/0.04843, allocations: 127.4 kB / 371 MB, free: 2.027 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005253/0.05369, allocations: 3.293 MB / 374.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00643/0.06012, allocations: 2.803 MB / 377.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.06226, allocations: 1.166 MB / 378.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009696/0.07195, allocations: 8.641 MB / 386.9 MB, free: 2.082 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006727/0.07868, allocations: 4.842 MB / 391.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008124/0.0868, allocations: 4.074 MB / 395.8 MB, free: 9.098 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005398/0.0922, allocations: 3.878 MB / 399.7 MB, free: 5.211 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001603/0.0938, allocations: 468 kB / 400.1 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.09682, allocations: 1.295 MB / 401.4 MB, free: 3.457 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003453/0.1003, allocations: 3.105 MB / 404.5 MB, free: 352 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00297/0.1032, allocations: 1.928 MB / 406.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009672/0.1129, allocations: 6.826 MB / 413.3 MB, free: 7.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.1129, allocations: 3.938 kB / 413.3 MB, free: 7.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1129, allocations: 0 / 413.3 MB, free: 7.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004377/0.1134, allocations: 4 kB / 413.3 MB, free: 7.547 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: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.01677/0.1301, allocations: 8.12 MB / 421.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.1302, allocations: 8.031 kB / 421.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.1411, allocations: 4.642 MB / 426.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006718/0.1478, allocations: 3.615 MB / 429.7 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.1481, allocations: 324.5 kB / 430 MB, free: 6.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.1497, allocations: 440 kB / 430.4 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.204/0.3536, allocations: 8.659 MB / 439.1 MB, free: 77.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/0.3539, allocations: 59.22 kB / 439.2 MB, free: 77.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006008/0.3545, allocations: 196.9 kB / 439.4 MB, free: 77.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00451/0.359, allocations: 3.226 MB / 442.6 MB, free: 77.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/0.3768, allocations: 5.14 MB / 447.7 MB, free: 77.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05543/0.4323, allocations: 55.97 MB / 0.4919 GB, free: 25.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006923/0.4392, allocations: 2.964 MB / 0.4948 GB, free: 22.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.4408, allocations: 0.9628 MB / 0.4957 GB, free: 21.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.4514, allocations: 7.286 MB / 0.5028 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.4515, allocations: 67.31 kB / 0.5029 GB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=256): time 6.312e-06/0.4515, allocations: 0 / 0.5029 GB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=272): time 0.02785/0.4793, allocations: 13.11 MB / 0.5157 GB, free: 1.625 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.4794, allocations: 103 kB / 0.5158 GB, free: 1.504 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005273/0.4846, allocations: 4.395 MB / 0.5201 GB, free: 13.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002305/0.4849, allocations: 61.7 kB / 0.5201 GB, free: 13.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002926/0.4878, allocations: 4.553 MB / 0.5246 GB, free: 8.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001362/0.4892, allocations: 1.103 MB / 0.5257 GB, free: 7.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/0.4907, allocations: 1.599 MB / 0.5272 GB, free: 5.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4909, allocations: 484.7 kB / 0.5277 GB, free: 5.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.4924, allocations: 0.8737 MB / 0.5285 GB, free: 4.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004833/0.4973, allocations: 7.217 MB / 0.5356 GB, free: 10.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009069/0.5063, allocations: 8.902 MB / 0.5443 GB, free: 14.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002186/0.5066, allocations: 40 kB / 0.5443 GB, free: 14.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.01262/0.5192, allocations: 6.686 MB / 0.5509 GB, free: 8.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.069e-05/0.5193, allocations: 72 kB / 0.5509 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/0.5194, allocations: 152.1 kB / 0.5511 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.5207, allocations: 0.5222 MB / 0.5516 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004557/0.5252, allocations: 1.782 MB / 0.5533 GB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004819/0.5301, allocations: 4.771 MB / 0.558 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/0.5357, allocations: 0.5971 MB / 0.5586 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007397/0.5365, allocations: 447.8 kB / 0.559 GB, free: 15.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 681 * Number of states: 0 () * Number of discrete variables: 48 (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 (944): * Single equations (assignments): 936 * 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 {(2,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002614/0.5391, allocations: 0.7596 MB / 0.5597 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/0.5401, allocations: 0.5039 MB / 0.5602 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/0.5445, allocations: 2.195 MB / 0.5624 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-05/0.5445, allocations: 38.52 kB / 0.5624 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.5445, allocations: 0 / 0.5624 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/0.5445, allocations: 11.95 kB / 0.5624 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.5591, allocations: 7.791 MB / 0.57 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.5591, allocations: 8 kB / 0.57 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.5605, allocations: 459.3 kB / 0.5705 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.5616, allocations: 247.2 kB / 0.5707 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001725/0.5617, allocations: 56 kB / 0.5708 GB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003506/0.5653, allocations: 4.337 MB / 0.575 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/0.5653, allocations: 19.88 kB / 0.575 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005728/0.571, allocations: 3.116 MB / 0.5781 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/0.5729, allocations: 0.7586 MB / 0.5788 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005799/0.5734, allocations: 59.98 kB / 0.5789 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/0.5751, allocations: 295.3 kB / 0.5791 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000354/0.5755, allocations: 181.4 kB / 0.5793 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/0.5756, allocations: 80 kB / 0.5794 GB, free: 9.824 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003086/0.5787, allocations: 1.96 MB / 0.5813 GB, free: 7.859 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5787, allocations: 0 / 0.5813 GB, free: 7.859 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006908/0.5856, allocations: 1.542 MB / 0.5828 GB, free: 6.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 7 (revolute.phi,revolute.w,revolute1.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 (220): * Single equations (assignments): 212 * 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,2,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.0007855/0.5864, allocations: 229 kB / 0.583 GB, free: 6.094 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009471/0.5959, allocations: 3.993 MB / 0.5869 GB, free: 2.094 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.935e-05/0.5959, allocations: 4 kB / 0.5869 GB, free: 2.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.598, allocations: 1.229 MB / 0.5881 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003646/0.6017, allocations: 0.5953 MB / 0.5887 GB, free: 248 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2061/0.8078, allocations: 11.48 MB / 0.5999 GB, free: 141.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002406/0.8102, allocations: 1.81 MB / 0.6017 GB, free: 141.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004497/0.8147, allocations: 2.099 MB / 0.6037 GB, free: 141.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009885/0.8157, allocations: 313.9 kB / 0.604 GB, free: 141.2 MB / 442.7 MB Notification: Performance of SimCode: time 3.226e-06/0.8157, allocations: 0 / 0.604 GB, free: 141.2 MB / 442.7 MB Notification: Performance of Templates: time 0.0839/0.8996, allocations: 42.61 MB / 0.6456 GB, free: 104.6 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.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: 5.063989775720984]