Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0014/0.0014, allocations: 91.67 kB / 21.19 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001696, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.027/1.027, allocations: 177 MB / 204.8 MB, free: 5.207 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2951/0.2951, allocations: 34.86 MB / 296.3 MB, free: 432 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.386e-06/3.386e-06, allocations: 0 / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.084e-05/6.422e-05, allocations: 2.312 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01624/0.0163, allocations: 17.46 MB / 396.2 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.02631, allocations: 5.221 MB / 401.5 MB, free: 11.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/0.02916, allocations: 131.4 kB / 401.6 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00382/0.03298, allocations: 3.266 MB / 404.9 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005323/0.0383, allocations: 2.71 MB / 407.6 MB, free: 5.129 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.04024, allocations: 1.154 MB / 408.7 MB, free: 3.973 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00937/0.04961, allocations: 9.023 MB / 417.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006357/0.05597, allocations: 4.756 MB / 422.5 MB, free: 6.129 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006829/0.0628, allocations: 3.598 MB / 426.1 MB, free: 2.523 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005448/0.06825, allocations: 3.909 MB / 430 MB, free: 14.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001574/0.06982, allocations: 472 kB / 430.5 MB, free: 14.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.07244, allocations: 1.284 MB / 431.8 MB, free: 12.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002636/0.07507, allocations: 3.039 MB / 434.8 MB, free: 9.812 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003181/0.07825, allocations: 1.881 MB / 436.7 MB, free: 7.926 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009607/0.08786, allocations: 6.698 MB / 443.4 MB, free: 1.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.08787, allocations: 0 / 443.4 MB, free: 1.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.08787, allocations: 3.938 kB / 443.4 MB, free: 1.199 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004092/0.08828, allocations: 0 / 443.4 MB, free: 1.199 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.1865/0.2748, allocations: 7.959 MB / 451.3 MB, free: 95.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.2749, allocations: 8.75 kB / 451.3 MB, free: 95.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009409/0.2843, allocations: 4.65 MB / 456 MB, free: 94.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005381/0.2897, allocations: 3.534 MB / 459.5 MB, free: 93.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.2898, allocations: 316.9 kB / 459.8 MB, free: 93.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006451/0.2905, allocations: 434.5 kB / 460.3 MB, free: 93.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/0.3038, allocations: 8.591 MB / 468.9 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.3039, allocations: 56.83 kB / 468.9 MB, free: 89.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004534/0.3044, allocations: 203.2 kB / 469.1 MB, free: 89.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003579/0.308, allocations: 3.378 MB / 472.5 MB, free: 88.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/0.3252, allocations: 5.504 MB / 478 MB, free: 87.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05119/0.3764, allocations: 53.89 MB / 0.5194 GB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008746/0.3851, allocations: 4.265 MB / 0.5236 GB, free: 35.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002506/0.3876, allocations: 1.423 MB / 0.525 GB, free: 34.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007797/0.3884, allocations: 0.6161 MB / 0.5256 GB, free: 33.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.3884, allocations: 67.91 kB / 0.5256 GB, free: 33.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=367): time 9.258e-06/0.3884, allocations: 0 / 0.5256 GB, free: 33.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=419): time 0.05288/0.4413, allocations: 25.02 MB / 0.5501 GB, free: 8.633 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.4414, allocations: 120 kB / 0.5502 GB, free: 8.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003784/0.4452, allocations: 3.846 MB / 0.5539 GB, free: 4.629 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000509/0.4457, allocations: 81.7 kB / 0.554 GB, free: 4.543 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.4471, allocations: 4.111 MB / 0.558 GB, free: 452 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001479/0.4486, allocations: 1.609 MB / 0.5596 GB, free: 14.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001872/0.4504, allocations: 1.64 MB / 0.5612 GB, free: 13.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4505, allocations: 476.8 kB / 0.5617 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/0.4529, allocations: 1.233 MB / 0.5629 GB, free: 11.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004634/0.4575, allocations: 6.798 MB / 0.5695 GB, free: 2.215 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008353/0.4658, allocations: 8.891 MB / 0.5782 GB, free: 6.883 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-05/0.4659, allocations: 40 kB / 0.5782 GB, free: 6.844 MB / 442.7 MB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.01494/0.4809, allocations: 8.704 MB / 0.5867 GB, free: 14.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.384e-05/0.481, allocations: 61 kB / 0.5868 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/0.4811, allocations: 128 kB / 0.5869 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004442/0.4855, allocations: 1.957 MB / 0.5888 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004379/0.4899, allocations: 1.813 MB / 0.5906 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009064/0.499, allocations: 7.788 MB / 0.5982 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005141/0.5041, allocations: 0.6087 MB / 0.5988 GB, free: 1.508 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008888/0.505, allocations: 427.9 kB / 0.5992 GB, free: 1.09 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.002376/0.5074, allocations: 0.7478 MB / 0.5999 GB, free: 336 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1708/0.6782, allocations: 0.5527 MB / 0.6005 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/0.6889, allocations: 5.749 MB / 0.6061 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.506e-05/0.6889, allocations: 66.56 kB / 0.6061 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.689, allocations: 9.594 kB / 0.6062 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-05/0.689, allocations: 18.56 kB / 0.6062 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/0.7117, allocations: 12.37 MB / 0.6183 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.7118, allocations: 9.75 kB / 0.6183 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/0.7136, allocations: 0.6859 MB / 0.6189 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004276/0.7179, allocations: 1.76 MB / 0.6207 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004366/0.7183, allocations: 84.86 kB / 0.6207 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007366/0.7257, allocations: 6.605 MB / 0.6272 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.7257, allocations: 15.94 kB / 0.6272 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/0.7383, allocations: 6.623 MB / 0.6337 GB, free: 113.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/0.7398, allocations: 483.6 kB / 0.6341 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/0.7409, allocations: 77.94 kB / 0.6342 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002679/0.7436, allocations: 428.9 kB / 0.6346 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000708/0.7443, allocations: 282.5 kB / 0.6349 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/0.7446, allocations: 109.2 kB / 0.635 GB, free: 112.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003132/0.7477, allocations: 1.738 MB / 0.6367 GB, free: 112.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7477, allocations: 0 / 0.6367 GB, free: 112.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00674/0.7545, allocations: 1.862 MB / 0.6385 GB, free: 112.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.0007879/0.7553, allocations: 245 kB / 0.6387 GB, free: 112 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008823/0.7641, allocations: 5.134 MB / 0.6437 GB, free: 110.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/0.7641, allocations: 3.875 kB / 0.6437 GB, free: 110.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003111/0.7672, allocations: 2.17 MB / 0.6459 GB, free: 109.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/0.7704, allocations: 0.6314 MB / 0.6465 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/0.7887, allocations: 12.56 MB / 0.6588 GB, free: 99.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0026/0.7913, allocations: 1.84 MB / 0.6606 GB, free: 98.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004758/0.796, allocations: 2.142 MB / 0.6626 GB, free: 96.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/0.7975, allocations: 346.4 kB / 0.663 GB, free: 96.51 MB / 458.7 MB Notification: Performance of SimCode: time 2.845e-06/0.7975, allocations: 0 / 0.663 GB, free: 96.51 MB / 458.7 MB Notification: Performance of Templates: time 0.07315/0.8706, allocations: 68.21 MB / 0.7296 GB, free: 29.09 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 5.425246596336365]