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.001527/0.001527, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001313/0.001313, allocations: 173 kB / 24.14 MB, free: 356 kB / 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 1.008/1.008, allocations: 158.6 MB / 186 MB, free: 2.73 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.1537/0.1537, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.693e-06/1.693e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.631e-05, allocations: 2.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.1895/0.1895, allocations: 17.44 MB / 316.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.2033, allocations: 5.461 MB / 322 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004975/0.2083, allocations: 126.9 kB / 322.1 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005765/0.2141, allocations: 3.291 MB / 325.4 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007546/0.2216, allocations: 2.823 MB / 328.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.2241, allocations: 1.154 MB / 329.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.2342, allocations: 8.645 MB / 338 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008012/0.2422, allocations: 4.95 MB / 343 MB, free: 2.184 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009249/0.2514, allocations: 4.058 MB / 347 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005851/0.2573, allocations: 3.71 MB / 350.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001646/0.2589, allocations: 468 kB / 351.2 MB, free: 9.941 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003276/0.2622, allocations: 1.284 MB / 352.5 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003905/0.2661, allocations: 3.113 MB / 355.6 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004651/0.2708, allocations: 1.924 MB / 357.5 MB, free: 3.605 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.2826, allocations: 6.831 MB / 364.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.2826, allocations: 0 / 364.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2826, allocations: 0 / 364.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004307/0.283, allocations: 0 / 364.3 MB, free: 12.75 MB / 330.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.01377/0.2968, allocations: 6.714 MB / 371.1 MB, free: 5.965 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.2968, allocations: 8.031 kB / 371.1 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007866/0.3047, allocations: 1.92 MB / 373 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006362/0.311, allocations: 2.97 MB / 376 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.3113, allocations: 324.5 kB / 376.3 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001584/0.3129, allocations: 444 kB / 376.7 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01675/0.3297, allocations: 7.063 MB / 383.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001857/0.3299, allocations: 55.56 kB / 383.8 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005969/0.3305, allocations: 207.7 kB / 384 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003516/0.334, allocations: 2.842 MB / 386.9 MB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0126/0.3466, allocations: 3.924 MB / 390.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05852/0.4051, allocations: 41.08 MB / 431.9 MB, free: 6.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006952/0.412, allocations: 2.63 MB / 434.5 MB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.4137, allocations: 0.6439 MB / 435.2 MB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01391/0.4276, allocations: 6.4 MB / 441.6 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.4276, allocations: 52.56 kB / 441.6 MB, free: 13.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=256): time 6.462e-06/0.4276, allocations: 0 / 441.6 MB, free: 13.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=272): time 0.02535/0.453, allocations: 9.743 MB / 451.3 MB, free: 3.242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.4531, allocations: 107 kB / 451.5 MB, free: 3.121 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1732/0.6262, allocations: 3.923 MB / 455.4 MB, free: 121.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006017/0.6268, allocations: 62.86 kB / 455.4 MB, free: 121.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002824/0.6297, allocations: 4.065 MB / 459.5 MB, free: 119.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001785/0.6314, allocations: 1.054 MB / 460.6 MB, free: 119.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002049/0.6335, allocations: 1.405 MB / 462 MB, free: 119.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.6335, allocations: 301.6 kB / 462.3 MB, free: 118.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.6357, allocations: 0.9743 MB / 463.2 MB, free: 118.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00362/0.6393, allocations: 5.112 MB / 468.3 MB, free: 113.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008547/0.6478, allocations: 6.716 MB / 475.1 MB, free: 107.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003747/0.6482, allocations: 42.31 kB / 475.1 MB, free: 107.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.0128/0.661, allocations: 5.158 MB / 480.3 MB, free: 106.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.627e-05/0.6611, allocations: 71.47 kB / 480.3 MB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000172/0.6613, allocations: 149.6 kB / 480.5 MB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.6623, allocations: 421.1 kB / 480.9 MB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/0.6657, allocations: 1.662 MB / 482.5 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.6683, allocations: 3.446 MB / 486 MB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005416/0.6737, allocations: 282 kB / 486.3 MB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/0.6748, allocations: 391.7 kB / 486.6 MB, free: 103.3 MB / 410.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.002793/0.6776, allocations: 0.7094 MB / 487.4 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009315/0.6785, allocations: 302.3 kB / 487.7 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.6808, allocations: 1.624 MB / 489.3 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.645e-05/0.6808, allocations: 32 kB / 489.3 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6809, allocations: 1.906 kB / 489.3 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.6809, allocations: 11.62 kB / 489.3 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.6913, allocations: 6.12 MB / 495.4 MB, free: 98.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.6913, allocations: 12 kB / 495.5 MB, free: 98.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000914/0.6923, allocations: 365.2 kB / 495.8 MB, free: 98.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008906/0.6932, allocations: 418.5 kB / 496.2 MB, free: 97.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/0.6933, allocations: 55.28 kB / 496.3 MB, free: 97.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.6953, allocations: 3.103 MB / 499.4 MB, free: 94.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.6953, allocations: 15.94 kB / 499.4 MB, free: 94.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003279/0.6986, allocations: 2.283 MB / 0.4899 GB, free: 92.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001846/0.7004, allocations: 0.6297 MB / 0.4905 GB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000705/0.7011, allocations: 55.81 kB / 0.4906 GB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.7021, allocations: 52 kB / 0.4906 GB, free: 91.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.7024, allocations: 173.5 kB / 0.4908 GB, free: 91.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.7025, allocations: 71.98 kB / 0.4909 GB, free: 91.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001735/0.7042, allocations: 1.505 MB / 0.4923 GB, free: 89.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7042, allocations: 0 / 0.4923 GB, free: 89.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006147/0.7103, allocations: 1.543 MB / 0.4938 GB, free: 88.43 MB / 410.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.0005131/0.7109, allocations: 203.7 kB / 0.494 GB, free: 88.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005067/0.7159, allocations: 3.297 MB / 0.4973 GB, free: 84.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002668/0.7162, allocations: 109 kB / 0.4974 GB, free: 84.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.7173, allocations: 0.9238 MB / 0.4983 GB, free: 83.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004724/0.722, allocations: 0.9531 MB / 0.4992 GB, free: 82.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/0.7387, allocations: 11.18 MB / 0.5101 GB, free: 71.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002445/0.7412, allocations: 1.792 MB / 0.5119 GB, free: 69.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002379/0.7435, allocations: 0.633 MB / 0.5125 GB, free: 69.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/0.7449, allocations: 0.7315 MB / 0.5132 GB, free: 68.36 MB / 410.7 MB Notification: Performance of SimCode: time 2.925e-06/0.7449, allocations: 0 / 0.5132 GB, free: 68.36 MB / 410.7 MB Notification: Performance of Templates: time 0.06519/0.8101, allocations: 44.88 MB / 0.557 GB, free: 23.6 MB / 410.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: 4.856978096999228]