Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001006/0.001006, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001536/0.001536, allocations: 168.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.9467/0.9467, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2405/0.2405, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.103e-06/1.103e-06, allocations: 0 / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.615e-05, allocations: 2.312 kB / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.008046/0.008063, allocations: 11.54 MB / 334.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006105/0.01417, allocations: 3.971 MB / 338.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000596/0.01476, allocations: 71.75 kB / 338.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.01627, allocations: 1.397 MB / 340.2 MB, free: 8.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.01826, allocations: 1.847 MB / 342.1 MB, free: 6.805 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.01893, allocations: 0.5339 MB / 342.6 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002405/0.02134, allocations: 3.974 MB / 346.6 MB, free: 2.289 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.0227, allocations: 2.208 MB / 348.8 MB, free: 32 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.02408, allocations: 1.882 MB / 350.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.02541, allocations: 1.816 MB / 352.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.02562, allocations: 240 kB / 352.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009127/0.02653, allocations: 0.8892 MB / 353.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008394/0.02737, allocations: 1.683 MB / 355.3 MB, free: 9.512 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006507/0.02802, allocations: 0.9964 MB / 356.3 MB, free: 8.512 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.03053, allocations: 4.05 MB / 360.3 MB, free: 4.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.03054, allocations: 3.938 kB / 360.3 MB, free: 4.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.03054, allocations: 0 / 360.3 MB, free: 4.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.03057, allocations: 0 / 360.3 MB, free: 4.441 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.003213/0.03378, allocations: 3.857 MB / 364.2 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.03381, allocations: 8.031 kB / 364.2 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/0.03719, allocations: 1.401 MB / 365.6 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.03866, allocations: 1.389 MB / 367 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.643e-05/0.03874, allocations: 189 kB / 367.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/0.03904, allocations: 248.1 kB / 367.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004059/0.0431, allocations: 4.455 MB / 371.9 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.223e-05/0.04316, allocations: 31.73 kB / 371.9 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/0.04339, allocations: 119.8 kB / 372 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001831/0.04522, allocations: 2.171 MB / 374.2 MB, free: 6.062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004266/0.04948, allocations: 2.572 MB / 376.8 MB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01978/0.06927, allocations: 25.37 MB / 402.1 MB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.07181, allocations: 1.364 MB / 403.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005148/0.07232, allocations: 334.9 kB / 403.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004916/0.07724, allocations: 3.737 MB / 407.6 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.07727, allocations: 43.56 kB / 407.6 MB, free: 3.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=166): time 2.976e-06/0.07727, allocations: 0 / 407.6 MB, free: 3.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.006435/0.0837, allocations: 3.539 MB / 411.1 MB, free: 108 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.08374, allocations: 64.41 kB / 411.2 MB, free: 32 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.08538, allocations: 2.399 MB / 413.6 MB, free: 13.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.08544, allocations: 41.7 kB / 413.6 MB, free: 13.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.08663, allocations: 2.83 MB / 416.5 MB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.08695, allocations: 0.6472 MB / 417.1 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008297/0.08778, allocations: 0.9538 MB / 418.1 MB, free: 9.082 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.08788, allocations: 357.8 kB / 418.4 MB, free: 8.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009309/0.08881, allocations: 0.6381 MB / 419.1 MB, free: 8.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/0.09084, allocations: 3.557 MB / 422.6 MB, free: 3.016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003107/0.09395, allocations: 4.624 MB / 427.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.37e-05/0.09398, allocations: 32 kB / 427.3 MB, free: 12.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.00348/0.09746, allocations: 3.381 MB / 430.7 MB, free: 9.449 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.09751, allocations: 51.94 kB / 430.7 MB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-05/0.09757, allocations: 112.1 kB / 430.8 MB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/0.09781, allocations: 179.6 kB / 431 MB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.09952, allocations: 1.096 MB / 432.1 MB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000841/0.1004, allocations: 1.44 MB / 433.5 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.1018, allocations: 211.9 kB / 433.7 MB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.102, allocations: 268 kB / 434 MB, free: 6.004 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.0009543/0.1029, allocations: 0.52 MB / 434.5 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.1031, allocations: 159.8 kB / 434.7 MB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009469/0.1041, allocations: 0.8275 MB / 435.5 MB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.1041, allocations: 24.03 kB / 435.5 MB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1041, allocations: 4 kB / 435.5 MB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1041, allocations: 3.984 kB / 435.5 MB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003953/0.1081, allocations: 3.545 MB / 439.1 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.1081, allocations: 4 kB / 439.1 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004345/0.1085, allocations: 175.8 kB / 439.3 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/0.1086, allocations: 60.23 kB / 439.3 MB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/0.1087, allocations: 23.98 kB / 439.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007301/0.1094, allocations: 1.373 MB / 440.7 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1094, allocations: 4 kB / 440.7 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.1106, allocations: 1.261 MB / 442 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.1108, allocations: 214.3 kB / 442.2 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.111, allocations: 31.98 kB / 442.2 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.1114, allocations: 28.14 kB / 442.2 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.1115, allocations: 92.7 kB / 442.3 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/0.1115, allocations: 47.92 kB / 442.4 MB, free: 13.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006216/0.1122, allocations: 0.8267 MB / 443.2 MB, free: 12.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1122, allocations: 0 / 443.2 MB, free: 12.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001982/0.1141, allocations: 0.8593 MB / 444.1 MB, free: 11.58 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.0002756/0.1144, allocations: 160 kB / 444.2 MB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.1163, allocations: 2.093 MB / 446.3 MB, free: 9.328 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.379e-05/0.1164, allocations: 59.94 kB / 446.4 MB, free: 9.266 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004239/0.1168, allocations: 498.2 kB / 446.9 MB, free: 8.762 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009975/0.1178, allocations: 0.5339 MB / 447.4 MB, free: 8.223 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007298/0.1251, allocations: 6.896 MB / 454.3 MB, free: 1.191 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009436/0.126, allocations: 1.148 MB / 455.4 MB, free: 24 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.122/0.248, allocations: 400.1 kB / 455.8 MB, free: 127 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/0.2487, allocations: 434.8 kB / 456.3 MB, free: 126.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2487, allocations: 2.625 kB / 456.3 MB, free: 126.9 MB / 426.7 MB Notification: Performance of Templates: time 0.03343/0.2821, allocations: 21.16 MB / 477.4 MB, free: 115.1 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.688022698275745]