Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009162/0.0009162, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009562/0.0009562, allocations: 169 kB / 24.99 MB, free: 8.789 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.9599/0.9599, allocations: 177.1 MB / 205.3 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2873/0.2873, allocations: 32.81 MB / 294.6 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.337e-05, allocations: 2.312 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01566/0.01568, allocations: 17.41 MB / 393.4 MB, free: 3.488 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.02927, allocations: 5.209 MB / 398.6 MB, free: 14.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002884/0.03215, allocations: 135.4 kB / 398.8 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003832/0.03598, allocations: 3.247 MB / 402 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005177/0.04116, allocations: 2.718 MB / 404.7 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.04289, allocations: 1.15 MB / 405.9 MB, free: 6.988 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008219/0.05111, allocations: 9.026 MB / 414.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005075/0.05618, allocations: 4.748 MB / 419.7 MB, free: 9.152 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004856/0.06104, allocations: 3.598 MB / 423.2 MB, free: 5.547 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00496/0.066, allocations: 3.925 MB / 427.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.0674, allocations: 468 kB / 427.6 MB, free: 1.156 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.06979, allocations: 1.287 MB / 428.9 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002487/0.07228, allocations: 3.027 MB / 431.9 MB, free: 12.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002239/0.07451, allocations: 1.881 MB / 433.8 MB, free: 10.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008504/0.08302, allocations: 6.71 MB / 440.5 MB, free: 4.211 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.08303, allocations: 4 kB / 440.5 MB, free: 4.207 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.08303, allocations: 0 / 440.5 MB, free: 4.207 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003501/0.08338, allocations: 0 / 440.5 MB, free: 4.207 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.1683/0.2516, allocations: 7.95 MB / 448.5 MB, free: 102.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2517, allocations: 11.88 kB / 448.5 MB, free: 102.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008281/0.26, allocations: 4.646 MB / 453.1 MB, free: 101.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004372/0.2643, allocations: 3.535 MB / 456.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.2645, allocations: 319.3 kB / 457 MB, free: 100.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005454/0.265, allocations: 429.7 kB / 457.4 MB, free: 99.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.2759, allocations: 8.589 MB / 466 MB, free: 95.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001249/0.276, allocations: 60.62 kB / 466.1 MB, free: 95.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004004/0.2764, allocations: 195.6 kB / 466.3 MB, free: 95.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003431/0.2798, allocations: 3.379 MB / 469.6 MB, free: 95.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.2919, allocations: 5.506 MB / 475.1 MB, free: 94.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04298/0.3349, allocations: 53.89 MB / 0.5166 GB, free: 46.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.345, allocations: 4.262 MB / 0.5208 GB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.3472, allocations: 1.419 MB / 0.5222 GB, free: 40.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000827/0.348, allocations: 0.6211 MB / 0.5228 GB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.348, allocations: 76.95 kB / 0.5229 GB, free: 39.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=367): time 6.151e-06/0.348, allocations: 0 / 0.5229 GB, free: 39.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=419): time 0.05662/0.4047, allocations: 25.02 MB / 0.5473 GB, free: 14.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.4047, allocations: 116 kB / 0.5474 GB, free: 14.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003591/0.4083, allocations: 3.861 MB / 0.5512 GB, free: 10.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002175/0.4085, allocations: 85.7 kB / 0.5513 GB, free: 10.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.4098, allocations: 4.1 MB / 0.5553 GB, free: 6.496 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008929/0.4107, allocations: 1.612 MB / 0.5568 GB, free: 4.871 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/0.4121, allocations: 1.641 MB / 0.5584 GB, free: 3.219 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.4121, allocations: 476.8 kB / 0.5589 GB, free: 2.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.414, allocations: 1.237 MB / 0.5601 GB, free: 1.508 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004513/0.4185, allocations: 6.802 MB / 0.5667 GB, free: 8.223 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008564/0.4271, allocations: 8.887 MB / 0.5754 GB, free: 12.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.749e-05/0.4272, allocations: 36 kB / 0.5755 GB, free: 12.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.0137/0.4409, allocations: 8.713 MB / 0.584 GB, free: 4.062 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.4409, allocations: 66.28 kB / 0.584 GB, free: 4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.441, allocations: 128 kB / 0.5842 GB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004404/0.4455, allocations: 1.947 MB / 0.5861 GB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/0.449, allocations: 1.805 MB / 0.5878 GB, free: 112 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00887/0.4579, allocations: 7.786 MB / 0.5954 GB, free: 8.082 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003693/0.4616, allocations: 0.6126 MB / 0.596 GB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005085/0.4621, allocations: 431.9 kB / 0.5964 GB, free: 7.047 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * 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 (942): * Single equations (assignments): 934 * 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.001975/0.464, allocations: 0.7405 MB / 0.5972 GB, free: 6.293 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008556/0.4649, allocations: 0.5635 MB / 0.5977 GB, free: 5.727 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1778/0.6427, allocations: 5.75 MB / 0.6033 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.721e-05/0.6428, allocations: 62.03 kB / 0.6034 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/0.6428, allocations: 8.25 kB / 0.6034 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.681e-05/0.6429, allocations: 18.75 kB / 0.6034 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01752/0.6604, allocations: 12.38 MB / 0.6155 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.6604, allocations: 10.16 kB / 0.6155 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.662, allocations: 0.6786 MB / 0.6162 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003765/0.6658, allocations: 1.767 MB / 0.6179 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002403/0.666, allocations: 83.5 kB / 0.618 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006351/0.6724, allocations: 6.593 MB / 0.6244 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.6724, allocations: 16.94 kB / 0.6244 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009245/0.6816, allocations: 6.628 MB / 0.6309 GB, free: 118.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/0.6823, allocations: 477 kB / 0.6314 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004212/0.6828, allocations: 81.95 kB / 0.6314 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.6843, allocations: 433.3 kB / 0.6318 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004657/0.6848, allocations: 274.8 kB / 0.6321 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/0.685, allocations: 115.6 kB / 0.6322 GB, free: 117.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001777/0.6868, allocations: 1.733 MB / 0.6339 GB, free: 117.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6868, allocations: 0 / 0.6339 GB, free: 117.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004443/0.6912, allocations: 1.863 MB / 0.6357 GB, free: 117.1 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 (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.0005125/0.6917, allocations: 244 kB / 0.636 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007684/0.6994, allocations: 5.14 MB / 0.641 GB, free: 115.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/0.6994, allocations: 1.312 kB / 0.641 GB, free: 115.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002711/0.7021, allocations: 2.166 MB / 0.6431 GB, free: 114.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.7043, allocations: 0.6282 MB / 0.6437 GB, free: 114.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.7195, allocations: 12.54 MB / 0.656 GB, free: 108.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.721, allocations: 1.847 MB / 0.6578 GB, free: 106.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003146/0.7241, allocations: 2.143 MB / 0.6599 GB, free: 105.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.7252, allocations: 347.6 kB / 0.6602 GB, free: 105.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7252, allocations: 0 / 0.6602 GB, free: 105.2 MB / 458.7 MB Notification: Performance of Templates: time 0.06811/0.7933, allocations: 68.22 MB / 0.7268 GB, free: 39.25 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 5.234649386955425]