Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.00102/0.00102, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001756/0.002776, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001127/0.001127, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.0026, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9958/0.9958, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08729/1.083, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2363/0.2363, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02473/0.261, allocations: 13.23 MB / 292.6 MB, free: 6.473 MB / 282.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.332e-05, allocations: 9.266 kB / 293.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01277/0.0128, allocations: 11.66 MB / 305.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007064/0.01986, allocations: 4.018 MB / 309.6 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008604/0.02072, allocations: 71.75 kB / 309.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.02225, allocations: 1.374 MB / 311 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.02482, allocations: 1.82 MB / 312.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008096/0.02563, allocations: 486.8 kB / 313.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003486/0.02911, allocations: 3.934 MB / 317.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.03105, allocations: 1.904 MB / 319.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.03279, allocations: 1.92 MB / 321.1 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.03433, allocations: 1.8 MB / 322.9 MB, free: 8.066 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.0346, allocations: 240 kB / 323.1 MB, free: 7.832 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.03574, allocations: 0.9244 MB / 324 MB, free: 6.906 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000869/0.03661, allocations: 1.508 MB / 325.5 MB, free: 5.395 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006865/0.0373, allocations: 0.8135 MB / 326.3 MB, free: 4.578 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.03994, allocations: 3.797 MB / 330.1 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.591e-05/0.03995, allocations: 0 / 330.1 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.03996, allocations: 0 / 330.1 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.463e-05/0.04002, allocations: 0 / 330.1 MB, free: 0.7656 MB / 314.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.004159/0.04418, allocations: 4.654 MB / 334.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.04421, allocations: 8.922 kB / 334.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00388/0.04809, allocations: 1.39 MB / 336.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.05009, allocations: 1.401 MB / 337.6 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.955e-05/0.05019, allocations: 193 kB / 337.8 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003696/0.05056, allocations: 248.1 kB / 338 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005318/0.05588, allocations: 4.46 MB / 342.5 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.456e-05/0.05593, allocations: 23.75 kB / 342.5 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/0.05614, allocations: 115.8 kB / 342.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001877/0.05802, allocations: 2.187 MB / 344.8 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005028/0.06304, allocations: 2.578 MB / 347.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02438/0.08742, allocations: 25.37 MB / 372.7 MB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/0.09027, allocations: 1.326 MB / 374.1 MB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.09077, allocations: 333.9 kB / 374.4 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005607/0.09638, allocations: 3.686 MB / 378.1 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.09641, allocations: 43.56 kB / 378.1 MB, free: 15.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=166): time 3.507e-06/0.09641, allocations: 0 / 378.1 MB, free: 15.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.006872/0.1033, allocations: 3.476 MB / 381.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1033, allocations: 60.41 kB / 381.7 MB, free: 11.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.1051, allocations: 2.396 MB / 384.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/0.1052, allocations: 45.7 kB / 384.1 MB, free: 9.203 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.1063, allocations: 2.823 MB / 386.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003779/0.1067, allocations: 0.6511 MB / 387.6 MB, free: 5.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007613/0.1075, allocations: 0.9538 MB / 388.5 MB, free: 4.727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1076, allocations: 357.8 kB / 388.9 MB, free: 4.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000954/0.1085, allocations: 0.6381 MB / 389.5 MB, free: 3.727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/0.1107, allocations: 3.557 MB / 393.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/0.1143, allocations: 4.624 MB / 397.7 MB, free: 8.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.166e-05/0.1143, allocations: 32 kB / 397.7 MB, free: 8.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.004399/0.1187, allocations: 3.378 MB / 401.1 MB, free: 5.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.1188, allocations: 55.94 kB / 401.2 MB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-05/0.1189, allocations: 108.1 kB / 401.3 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.1192, allocations: 179.6 kB / 401.4 MB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.1213, allocations: 1.221 MB / 402.7 MB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.1223, allocations: 1.444 MB / 404.1 MB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.1243, allocations: 204 kB / 404.3 MB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/0.1245, allocations: 264 kB / 404.6 MB, free: 1.547 MB / 394.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.001298/0.1258, allocations: 0.5316 MB / 405.1 MB, free: 1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.1261, allocations: 159.8 kB / 405.3 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.1274, allocations: 0.8275 MB / 406.1 MB, free: 16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.1274, allocations: 20.03 kB / 406.1 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1274, allocations: 11.98 kB / 406.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.1274, allocations: 3.984 kB / 406.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004904/0.1324, allocations: 3.518 MB / 409.6 MB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.1324, allocations: 4 kB / 409.6 MB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.1329, allocations: 203.8 kB / 409.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.1332, allocations: 238.2 kB / 410.1 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/0.1334, allocations: 44.31 kB / 410.1 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.371e-05/0.1335, allocations: 31.98 kB / 410.1 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008173/0.1343, allocations: 1.372 MB / 411.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.1343, allocations: 8 kB / 411.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.1356, allocations: 1.249 MB / 412.8 MB, free: 9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.1359, allocations: 27.98 kB / 412.8 MB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.1363, allocations: 24 kB / 412.8 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.1364, allocations: 92.86 kB / 412.9 MB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.894e-05/0.1365, allocations: 47.92 kB / 413 MB, free: 8.812 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007374/0.1372, allocations: 0.8267 MB / 413.8 MB, free: 7.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1372, allocations: 0 / 413.8 MB, free: 7.973 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002384/0.1396, allocations: 0.8631 MB / 414.6 MB, free: 7.109 MB / 410.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.0003257/0.1399, allocations: 160 kB / 414.8 MB, free: 6.941 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00236/0.1423, allocations: 2.094 MB / 416.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001369/0.1424, allocations: 74.5 kB / 417 MB, free: 4.777 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.1429, allocations: 0.4904 MB / 417.5 MB, free: 4.266 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.1445, allocations: 0.7118 MB / 418.2 MB, free: 3.551 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.1551, allocations: 7.095 MB / 425.3 MB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.1564, allocations: 1.153 MB / 426.4 MB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001126/0.1575, allocations: 400.3 kB / 426.8 MB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006674/0.1581, allocations: 437.2 kB / 427.2 MB, free: 10.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.824e-06/0.1582, allocations: 0 / 427.2 MB, free: 10.32 MB / 426.7 MB Notification: Performance of Templates: time 0.192/0.3502, allocations: 21.48 MB / 448.7 MB, free: 109.3 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.8507208209484816]