Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009411/0.0009411, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009941/0.0009941, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9169/0.9169, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1636/0.1636, allocations: 34.25 MB / 296.1 MB, free: 13.98 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 325.3 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.347e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.1627/0.1627, allocations: 17.05 MB / 342.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009795/0.1725, allocations: 5.413 MB / 347.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.1742, allocations: 125.2 kB / 347.9 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00312/0.1773, allocations: 3.221 MB / 351.1 MB, free: 17.99 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003481/0.1808, allocations: 2.698 MB / 353.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.1822, allocations: 1.159 MB / 355 MB, free: 16.08 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005324/0.1875, allocations: 9.028 MB / 364 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/0.1909, allocations: 4.408 MB / 368.4 MB, free: 6.859 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003222/0.1941, allocations: 4.044 MB / 372.4 MB, free: 3.105 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002869/0.197, allocations: 3.664 MB / 376.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006557/0.1977, allocations: 460 kB / 376.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.1993, allocations: 1.324 MB / 377.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001723/0.201, allocations: 3.02 MB / 380.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.2025, allocations: 1.876 MB / 382.8 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00499/0.2075, allocations: 6.669 MB / 389.4 MB, free: 2.801 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2075, allocations: 3.938 kB / 389.5 MB, free: 2.797 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2075, allocations: 3.938 kB / 389.5 MB, free: 2.793 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.959e-05/0.2075, allocations: 0 / 389.5 MB, free: 2.793 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: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.007009/0.2146, allocations: 6.624 MB / 396.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2146, allocations: 12.03 kB / 396.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004781/0.2194, allocations: 1.901 MB / 398 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.2225, allocations: 2.879 MB / 400.9 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.2226, allocations: 316.9 kB / 401.2 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004916/0.2231, allocations: 432 kB / 401.6 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007278/0.2304, allocations: 6.964 MB / 408.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.449e-05/0.2305, allocations: 55.56 kB / 408.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003406/0.2309, allocations: 203.7 kB / 408.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002269/0.2331, allocations: 2.772 MB / 411.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006196/0.2393, allocations: 3.874 MB / 415.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03332/0.2726, allocations: 40.38 MB / 455.9 MB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005566/0.2782, allocations: 2.611 MB / 458.5 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.2792, allocations: 0.6328 MB / 459.1 MB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008754/0.288, allocations: 6.368 MB / 465.5 MB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.288, allocations: 64.56 kB / 465.5 MB, free: 4.637 MB / 410.7 MB Notification: Performance of pre-optimization done (n=256): time 4.248e-06/0.288, allocations: 0 / 465.5 MB, free: 4.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=272): time 0.0209/0.3089, allocations: 9.643 MB / 475.2 MB, free: 10.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.309, allocations: 103.1 kB / 475.3 MB, free: 10.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.3118, allocations: 3.847 MB / 479.1 MB, free: 6.883 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.312, allocations: 61.7 kB / 479.2 MB, free: 6.816 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.3136, allocations: 3.984 MB / 483.2 MB, free: 2.793 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005407/0.3141, allocations: 1.058 MB / 484.2 MB, free: 1.727 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.3152, allocations: 1.395 MB / 485.6 MB, free: 332 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.501e-05/0.3153, allocations: 305.1 kB / 485.9 MB, free: 24 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.3167, allocations: 0.9626 MB / 486.9 MB, free: 15.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/0.3197, allocations: 5.048 MB / 491.9 MB, free: 7.938 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004654/0.3243, allocations: 6.641 MB / 498.6 MB, free: 15.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.89e-05/0.3244, allocations: 40 kB / 498.6 MB, free: 15.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=994) (initialization): time 0.005291/0.3297, allocations: 5.123 MB / 0.4919 GB, free: 10 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.3297, allocations: 69.56 kB / 0.492 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.926e-05/0.3298, allocations: 148 kB / 0.4921 GB, free: 9.793 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007556/0.3305, allocations: 419.3 kB / 0.4925 GB, free: 9.375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/0.3333, allocations: 1.72 MB / 0.4942 GB, free: 7.652 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.3358, allocations: 3.443 MB / 0.4976 GB, free: 4.023 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/0.3384, allocations: 284 kB / 0.4978 GB, free: 3.746 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003341/0.3387, allocations: 380 kB / 0.4982 GB, free: 3.375 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * 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 (935): * Single equations (assignments): 927 * 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.001608/0.3403, allocations: 0.705 MB / 0.4989 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003913/0.3407, allocations: 299.7 kB / 0.4992 GB, free: 2.359 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.343, allocations: 1.605 MB / 0.5007 GB, free: 0.707 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.3431, allocations: 35.92 kB / 0.5008 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3431, allocations: 3.938 kB / 0.5008 GB, free: 0.668 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.3431, allocations: 11.95 kB / 0.5008 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2009/0.544, allocations: 6.024 MB / 0.5067 GB, free: 141.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.544, allocations: 13.03 kB / 0.5067 GB, free: 141.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.5452, allocations: 394.2 kB / 0.5071 GB, free: 141.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.5462, allocations: 408.6 kB / 0.5075 GB, free: 141.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.5463, allocations: 55.62 kB / 0.5075 GB, free: 141.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.5484, allocations: 3.115 MB / 0.5105 GB, free: 139.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/0.5484, allocations: 18.62 kB / 0.5106 GB, free: 139.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.5516, allocations: 2.265 MB / 0.5128 GB, free: 138.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007578/0.5524, allocations: 425.3 kB / 0.5132 GB, free: 138.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003597/0.5527, allocations: 53.88 kB / 0.5132 GB, free: 138.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008664/0.5536, allocations: 53.16 kB / 0.5133 GB, free: 138.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.5538, allocations: 178.1 kB / 0.5135 GB, free: 138.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.554, allocations: 76.08 kB / 0.5135 GB, free: 138.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001453/0.5554, allocations: 1.451 MB / 0.5149 GB, free: 138.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5554, allocations: 0 / 0.5149 GB, free: 138.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004413/0.5598, allocations: 1.492 MB / 0.5164 GB, free: 138.3 MB / 458.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.0004072/0.5602, allocations: 199.7 kB / 0.5166 GB, free: 138.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003856/0.5641, allocations: 3.269 MB / 0.5198 GB, free: 137.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001556/0.5642, allocations: 109.2 kB / 0.5199 GB, free: 137.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008503/0.5651, allocations: 0.9236 MB / 0.5208 GB, free: 137.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.5675, allocations: 0.9499 MB / 0.5217 GB, free: 137.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.5791, allocations: 10.94 MB / 0.5324 GB, free: 130.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.5804, allocations: 1.753 MB / 0.5341 GB, free: 128.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001424/0.5818, allocations: 0.6229 MB / 0.5347 GB, free: 128.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.583, allocations: 0.725 MB / 0.5354 GB, free: 127.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.663e-06/0.583, allocations: 0 / 0.5354 GB, free: 127.8 MB / 458.7 MB Notification: Performance of Templates: time 0.05847/0.6414, allocations: 43.88 MB / 0.5783 GB, free: 85.37 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",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.545830183196813]