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.001585/0.001585, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001122/0.001122, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 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 0.966/0.966, allocations: 177 MB / 205.2 MB, free: 5.039 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.2556/0.2556, allocations: 34.86 MB / 296.6 MB, free: 472 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 1.693e-06/1.693e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.506e-05, allocations: 9.266 kB / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01177/0.01178, allocations: 17.06 MB / 343 MB, free: 5.949 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0089/0.02068, allocations: 5.412 MB / 348.4 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.02252, allocations: 127.4 kB / 348.6 MB, free: 404 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003181/0.0257, allocations: 3.211 MB / 351.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.02925, allocations: 2.698 MB / 354.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.03062, allocations: 1.158 MB / 355.6 MB, free: 9.301 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006971/0.0376, allocations: 9.039 MB / 364.7 MB, free: 264 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005247/0.04284, allocations: 4.405 MB / 369.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004752/0.0476, allocations: 4.042 MB / 373.1 MB, free: 7.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003138/0.05073, allocations: 3.663 MB / 376.8 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006793/0.05141, allocations: 464 kB / 377.2 MB, free: 3.605 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.05292, allocations: 1.315 MB / 378.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001766/0.05468, allocations: 3.027 MB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.05648, allocations: 1.869 MB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005027/0.06151, allocations: 6.679 MB / 390.1 MB, free: 6.676 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.06151, allocations: 0 / 390.1 MB, free: 6.676 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.06151, allocations: 0 / 390.1 MB, free: 6.676 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001187/0.06163, allocations: 0 / 390.1 MB, free: 6.676 MB / 362.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.006781/0.06841, allocations: 6.625 MB / 396.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.06845, allocations: 8.031 kB / 396.8 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00452/0.07297, allocations: 1.901 MB / 398.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/0.07594, allocations: 2.89 MB / 401.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.07607, allocations: 312.4 kB / 401.9 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/0.07654, allocations: 436 kB / 402.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007056/0.0836, allocations: 6.968 MB / 409.3 MB, free: 2.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001/0.0837, allocations: 59.5 kB / 409.3 MB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003406/0.08404, allocations: 199.8 kB / 409.5 MB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00221/0.08625, allocations: 2.768 MB / 412.3 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006639/0.09289, allocations: 3.879 MB / 416.2 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1849/0.2778, allocations: 40.37 MB / 456.5 MB, free: 82.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005721/0.2835, allocations: 2.616 MB / 459.1 MB, free: 82.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/0.2843, allocations: 0.6372 MB / 459.8 MB, free: 82.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00816/0.2924, allocations: 6.376 MB / 466.2 MB, free: 82.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2925, allocations: 54.12 kB / 466.2 MB, free: 81.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=256): time 3.377e-06/0.2925, allocations: 0 / 466.2 MB, free: 81.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=272): time 0.0195/0.312, allocations: 9.633 MB / 475.8 MB, free: 78.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.312, allocations: 103.1 kB / 475.9 MB, free: 78.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.3145, allocations: 3.843 MB / 479.8 MB, free: 75.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.3146, allocations: 63.61 kB / 479.8 MB, free: 75.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.3156, allocations: 3.994 MB / 483.8 MB, free: 71.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005373/0.3162, allocations: 1.048 MB / 484.9 MB, free: 70.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.3174, allocations: 1.398 MB / 486.3 MB, free: 69.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.511e-05/0.3174, allocations: 305.1 kB / 486.6 MB, free: 69.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.3192, allocations: 0.9626 MB / 487.5 MB, free: 68.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/0.3218, allocations: 5.052 MB / 492.6 MB, free: 61.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004386/0.3262, allocations: 6.645 MB / 499.2 MB, free: 53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-05/0.3263, allocations: 40 kB / 499.3 MB, free: 52.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=994) (initialization): time 0.006484/0.3328, allocations: 5.114 MB / 0.4926 GB, free: 47.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.3328, allocations: 69.56 kB / 0.4926 GB, free: 47.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.3329, allocations: 148 kB / 0.4928 GB, free: 47.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009519/0.3339, allocations: 415.8 kB / 0.4932 GB, free: 47.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003556/0.3374, allocations: 1.72 MB / 0.4949 GB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.3399, allocations: 3.448 MB / 0.4982 GB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003535/0.3435, allocations: 280 kB / 0.4985 GB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004058/0.3439, allocations: 372 kB / 0.4988 GB, free: 41.18 MB / 410.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.001596/0.3455, allocations: 0.7175 MB / 0.4995 GB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004997/0.346, allocations: 295.7 kB / 0.4998 GB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.3484, allocations: 1.612 MB / 0.5014 GB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.3485, allocations: 32 kB / 0.5014 GB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3485, allocations: 3.984 kB / 0.5014 GB, free: 38.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.3485, allocations: 11.97 kB / 0.5014 GB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008092/0.3566, allocations: 6.026 MB / 0.5073 GB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.3566, allocations: 16.03 kB / 0.5073 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.3578, allocations: 387.4 kB / 0.5077 GB, free: 31.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000838/0.3586, allocations: 408.5 kB / 0.5081 GB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/0.3588, allocations: 55.98 kB / 0.5082 GB, free: 31.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.3607, allocations: 3.112 MB / 0.5112 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.3607, allocations: 15.94 kB / 0.5112 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003003/0.3637, allocations: 2.275 MB / 0.5134 GB, free: 25.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006111/0.3643, allocations: 430.3 kB / 0.5138 GB, free: 25.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004255/0.3648, allocations: 55.98 kB / 0.5139 GB, free: 25.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.3659, allocations: 51.98 kB / 0.5139 GB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.3662, allocations: 177.5 kB / 0.5141 GB, free: 24.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.3663, allocations: 67.98 kB / 0.5142 GB, free: 24.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001319/0.3676, allocations: 1.452 MB / 0.5156 GB, free: 23.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3676, allocations: 0 / 0.5156 GB, free: 23.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004444/0.372, allocations: 1.496 MB / 0.5171 GB, free: 21.84 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.000347/0.3724, allocations: 198.8 kB / 0.5173 GB, free: 21.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00361/0.376, allocations: 3.269 MB / 0.5204 GB, free: 18.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000179/0.3762, allocations: 108.2 kB / 0.5205 GB, free: 18.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009156/0.3771, allocations: 0.9308 MB / 0.5215 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/0.3799, allocations: 0.9484 MB / 0.5224 GB, free: 16.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.3954, allocations: 10.95 MB / 0.5331 GB, free: 5.203 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.3967, allocations: 1.757 MB / 0.5348 GB, free: 3.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001872/0.3986, allocations: 0.6202 MB / 0.5354 GB, free: 2.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.3998, allocations: 0.7276 MB / 0.5361 GB, free: 2.062 MB / 410.7 MB Notification: Performance of SimCode: time 2.605e-06/0.3998, allocations: 0 / 0.5361 GB, free: 2.062 MB / 410.7 MB Notification: Performance of Templates: time 0.06123/0.461, allocations: 43.85 MB / 0.5789 GB, free: 6.707 MB / 458.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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: 4.318353109993041]