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.001989/0.001989, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.002115/0.002115, allocations: 169.6 kB / 23.53 MB, free: 0.8984 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 1.463/1.463, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.212/0.212, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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 2.495e-06/2.495e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.506e-05, allocations: 6.312 kB / 347 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02644/0.02647, allocations: 17.8 MB / 364.8 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01532/0.04179, allocations: 5.25 MB / 370 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004299/0.04609, allocations: 131.4 kB / 370.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008039/0.05413, allocations: 3.285 MB / 373.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009705/0.06384, allocations: 2.799 MB / 376.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.06755, allocations: 1.15 MB / 377.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01654/0.08409, allocations: 8.657 MB / 386 MB, free: 2.578 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009958/0.09405, allocations: 4.846 MB / 390.9 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008498/0.1025, allocations: 3.672 MB / 394.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008068/0.1106, allocations: 3.967 MB / 398.5 MB, free: 6.016 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001906/0.1125, allocations: 476 kB / 399 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004092/0.1166, allocations: 1.295 MB / 400.3 MB, free: 4.254 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005552/0.1222, allocations: 3.121 MB / 403.4 MB, free: 1.125 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005883/0.128, allocations: 1.928 MB / 405.3 MB, free: 15.19 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01891/0.147, allocations: 10.36 MB / 415.7 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.147, allocations: 0 / 415.7 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.147, allocations: 0 / 415.7 MB, free: 4.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005034/0.1475, allocations: 0 / 415.7 MB, free: 4.797 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.02719/0.1747, allocations: 8.666 MB / 424.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.1747, allocations: 12.03 kB / 424.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02343/0.1981, allocations: 4.693 MB / 429.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/0.2145, allocations: 3.665 MB / 432.7 MB, free: 3.605 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000611/0.2151, allocations: 324.6 kB / 433 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0036/0.2187, allocations: 440 kB / 433.5 MB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2121/0.4308, allocations: 9.29 MB / 442.8 MB, free: 81.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002919/0.4311, allocations: 59.53 kB / 442.8 MB, free: 81.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001145/0.4323, allocations: 202.7 kB / 443 MB, free: 81.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006423/0.4387, allocations: 3.459 MB / 446.5 MB, free: 81.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02355/0.4622, allocations: 6.228 MB / 452.7 MB, free: 77.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08589/0.5481, allocations: 64.16 MB / 0.5047 GB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01471/0.5628, allocations: 3.981 MB / 0.5086 GB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003656/0.5665, allocations: 1.442 MB / 0.51 GB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/0.5678, allocations: 0.6154 MB / 0.5106 GB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.5678, allocations: 71.89 kB / 0.5107 GB, free: 6.176 MB / 362.7 MB Notification: Performance of pre-optimization done (n=367): time 7.584e-06/0.5678, allocations: 0 / 0.5107 GB, free: 6.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=419): time 0.1066/0.6744, allocations: 25.59 MB / 0.5357 GB, free: 12.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.6745, allocations: 120 kB / 0.5358 GB, free: 12.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009145/0.6837, allocations: 4.847 MB / 0.5406 GB, free: 8.129 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001115/0.6848, allocations: 85.7 kB / 0.5406 GB, free: 8.039 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00537/0.6902, allocations: 4.407 MB / 0.5449 GB, free: 3.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003935/0.6941, allocations: 1.719 MB / 0.5466 GB, free: 1.957 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003976/0.6981, allocations: 1.931 MB / 0.5485 GB, free: 16 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002824/0.6984, allocations: 476.8 kB / 0.549 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003958/0.7023, allocations: 1.339 MB / 0.5503 GB, free: 14.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/0.7133, allocations: 7.226 MB / 0.5573 GB, free: 4.457 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01928/0.7326, allocations: 9.583 MB / 0.5667 GB, free: 8.352 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004792/0.7331, allocations: 36 kB / 0.5667 GB, free: 8.316 MB / 426.7 MB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.03073/0.7638, allocations: 8.986 MB / 0.5755 GB, free: 15.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.764, allocations: 60 kB / 0.5755 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002524/0.7642, allocations: 135.9 kB / 0.5757 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/0.7764, allocations: 1.981 MB / 0.5776 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01225/0.7887, allocations: 1.821 MB / 0.5794 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02427/0.8129, allocations: 8.103 MB / 0.5873 GB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01345/0.8264, allocations: 0.636 MB / 0.5879 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002344/0.8287, allocations: 435.9 kB / 0.5883 GB, free: 1.871 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * 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 (951): * Single equations (assignments): 943 * 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,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006708/0.8354, allocations: 0.9004 MB / 0.5892 GB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003146/0.8386, allocations: 0.5595 MB / 0.5898 GB, free: 404 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2586/1.097, allocations: 6.081 MB / 0.5957 GB, free: 137.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001764/1.097, allocations: 73.27 kB / 0.5958 GB, free: 137.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.214e-05/1.097, allocations: 9.031 kB / 0.5958 GB, free: 137.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001065/1.098, allocations: 20.06 kB / 0.5958 GB, free: 137.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04351/1.141, allocations: 14.06 MB / 0.6095 GB, free: 134.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-05/1.141, allocations: 11.31 kB / 0.6095 GB, free: 134.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003825/1.145, allocations: 0.691 MB / 0.6102 GB, free: 134.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007829/1.153, allocations: 1.789 MB / 0.612 GB, free: 134.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001088/1.154, allocations: 83.52 kB / 0.612 GB, free: 134.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/1.166, allocations: 6.866 MB / 0.6187 GB, free: 129.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.437e-05/1.166, allocations: 18.62 kB / 0.6188 GB, free: 129.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/1.184, allocations: 6.939 MB / 0.6255 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004742/1.188, allocations: 1.102 MB / 0.6266 GB, free: 124.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002308/1.191, allocations: 72 kB / 0.6267 GB, free: 124.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004948/1.196, allocations: 451.2 kB / 0.6271 GB, free: 124.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/1.197, allocations: 269.9 kB / 0.6274 GB, free: 124.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004691/1.197, allocations: 112 kB / 0.6275 GB, free: 123.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004911/1.202, allocations: 2.123 MB / 0.6296 GB, free: 121.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.01e-07/1.202, allocations: 0 / 0.6296 GB, free: 121.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01168/1.214, allocations: 1.917 MB / 0.6314 GB, free: 119.9 MB / 442.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 (334): * Single equations (assignments): 326 * 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,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00164/1.215, allocations: 257.6 kB / 0.6317 GB, free: 119.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01574/1.231, allocations: 5.587 MB / 0.6371 GB, free: 114.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.601e-05/1.231, allocations: 4 kB / 0.6371 GB, free: 114.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005818/1.237, allocations: 2.342 MB / 0.6394 GB, free: 111.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008557/1.246, allocations: 0.6153 MB / 0.64 GB, free: 111.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02973/1.275, allocations: 12.96 MB / 0.6527 GB, free: 97.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008105/1.283, allocations: 3.687 MB / 0.6563 GB, free: 94.24 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0059/1.289, allocations: 2.159 MB / 0.6584 GB, free: 92.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/1.291, allocations: 348.4 kB / 0.6587 GB, free: 91.73 MB / 442.7 MB Notification: Performance of SimCode: time 3.426e-06/1.291, allocations: 4 kB / 0.6587 GB, free: 91.73 MB / 442.7 MB Notification: Performance of Templates: time 0.1083/1.4, allocations: 69.13 MB / 0.7262 GB, free: 22.59 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.47890492901206]