Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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.001369/0.001369, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001826/0.001826, allocations: 172.7 kB / 24.91 MB, free: 9.195 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.9801/0.9801, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2901/0.2901, allocations: 34.26 MB / 296.1 MB, free: 0.6445 MB / 266.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.146e-05, allocations: 4.25 kB / 325.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01154/0.01157, allocations: 11.58 MB / 336.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007631/0.0192, allocations: 3.972 MB / 340.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.02081, allocations: 71.75 kB / 340.9 MB, free: 7.898 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.02257, allocations: 1.381 MB / 342.3 MB, free: 6.512 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003078/0.02565, allocations: 1.812 MB / 344.1 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008541/0.0265, allocations: 0.526 MB / 344.6 MB, free: 4.164 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00339/0.02989, allocations: 3.983 MB / 348.6 MB, free: 180 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002417/0.03231, allocations: 2.106 MB / 350.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.03442, allocations: 1.847 MB / 352.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.03675, allocations: 1.824 MB / 354.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004845/0.03723, allocations: 236 kB / 354.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.03878, allocations: 0.9204 MB / 355.6 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.03988, allocations: 1.683 MB / 357.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.04095, allocations: 0.9925 MB / 358.2 MB, free: 6.508 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003728/0.04468, allocations: 4.058 MB / 362.3 MB, free: 2.434 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.04469, allocations: 0 / 362.3 MB, free: 2.434 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.04469, allocations: 0 / 362.3 MB, free: 2.434 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001368/0.04483, allocations: 0 / 362.3 MB, free: 2.434 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.004173/0.049, allocations: 3.853 MB / 366.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.04903, allocations: 12.03 kB / 366.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003674/0.05271, allocations: 1.393 MB / 367.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.05477, allocations: 1.393 MB / 368.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.872e-05/0.05486, allocations: 185 kB / 369.1 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/0.05517, allocations: 252.2 kB / 369.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005092/0.06026, allocations: 4.459 MB / 373.8 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.015e-05/0.06032, allocations: 27.75 kB / 373.9 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.06054, allocations: 115.8 kB / 374 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00202/0.06256, allocations: 2.167 MB / 376.1 MB, free: 4.066 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005784/0.06835, allocations: 2.578 MB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02556/0.09391, allocations: 25.38 MB / 404.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.09705, allocations: 1.352 MB / 405.5 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.09758, allocations: 336.3 kB / 405.8 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00581/0.1034, allocations: 3.737 MB / 409.5 MB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.1034, allocations: 47.5 kB / 409.6 MB, free: 1.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=166): time 4.88e-06/0.1034, allocations: 0 / 409.6 MB, free: 1.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.00773/0.1112, allocations: 3.535 MB / 413.1 MB, free: 14.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.1112, allocations: 64.41 kB / 413.2 MB, free: 14.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.1133, allocations: 2.392 MB / 415.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/0.1133, allocations: 45.7 kB / 415.6 MB, free: 11.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.1147, allocations: 2.826 MB / 418.4 MB, free: 8.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003827/0.115, allocations: 0.6472 MB / 419.1 MB, free: 8.055 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007737/0.1158, allocations: 0.9577 MB / 420 MB, free: 7.086 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1159, allocations: 361.8 kB / 420.4 MB, free: 6.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.1169, allocations: 0.642 MB / 421 MB, free: 6.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002301/0.1193, allocations: 3.545 MB / 424.6 MB, free: 1.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003261/0.1225, allocations: 4.624 MB / 429.2 MB, free: 10.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.829e-05/0.1226, allocations: 32 kB / 429.2 MB, free: 10.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.003943/0.1265, allocations: 3.384 MB / 432.6 MB, free: 7.453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.1265, allocations: 60.86 kB / 432.7 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.895e-05/0.1266, allocations: 104 kB / 432.8 MB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.1269, allocations: 183.7 kB / 432.9 MB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.1287, allocations: 1.135 MB / 434.1 MB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009294/0.1297, allocations: 1.448 MB / 435.5 MB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.1314, allocations: 196 kB / 435.7 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.1317, allocations: 268 kB / 436 MB, free: 3.973 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (628): * Single equations (assignments): 621 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001061/0.1327, allocations: 0.52 MB / 436.5 MB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.133, allocations: 163.8 kB / 436.7 MB, free: 3.281 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.1341, allocations: 0.8236 MB / 437.5 MB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.1341, allocations: 23.94 kB / 437.5 MB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1341, allocations: 0 / 437.5 MB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1341, allocations: 3.984 kB / 437.5 MB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/0.1385, allocations: 3.549 MB / 441.1 MB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.1385, allocations: 4 kB / 441.1 MB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.139, allocations: 191.8 kB / 441.3 MB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/0.1391, allocations: 52.02 kB / 441.3 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.1392, allocations: 31.98 kB / 441.3 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009307/0.1401, allocations: 1.369 MB / 442.7 MB, free: 13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.1401, allocations: 11.94 kB / 442.7 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.1418, allocations: 1.249 MB / 444 MB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.1422, allocations: 218.3 kB / 444.2 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.1423, allocations: 27.98 kB / 444.2 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.1428, allocations: 27.98 kB / 444.2 MB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.1429, allocations: 92.67 kB / 444.3 MB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.327e-05/0.143, allocations: 51.92 kB / 444.4 MB, free: 11.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008191/0.1438, allocations: 0.8267 MB / 445.2 MB, free: 10.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1438, allocations: 4 kB / 445.2 MB, free: 10.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00266/0.1465, allocations: 0.8593 MB / 446.1 MB, free: 9.535 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 (revolute.phi,revolute.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 (120): * Single equations (assignments): 113 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003242/0.1468, allocations: 152.9 kB / 446.2 MB, free: 9.375 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.1494, allocations: 2.096 MB / 448.3 MB, free: 7.281 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001054/0.1495, allocations: 61.88 kB / 448.4 MB, free: 7.219 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000497/0.15, allocations: 0.4904 MB / 448.9 MB, free: 6.711 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.1515, allocations: 0.5422 MB / 449.4 MB, free: 6.164 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1434/0.295, allocations: 6.889 MB / 456.3 MB, free: 125.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.2963, allocations: 1.143 MB / 457.4 MB, free: 125 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001079/0.2974, allocations: 403.1 kB / 457.8 MB, free: 125 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/0.298, allocations: 434.7 kB / 458.3 MB, free: 124.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.893e-06/0.298, allocations: 3.719 kB / 458.3 MB, free: 124.9 MB / 426.7 MB Notification: Performance of Templates: time 0.03376/0.3317, allocations: 21.14 MB / 479.4 MB, free: 111.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.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: 3.8621634249575436]