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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001715/0.002813, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001547/0.002587, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9168/0.9168, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1649/1.082, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1328/0.1328, allocations: 32.81 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0221/0.1549, allocations: 12.53 MB / 284.5 MB, free: 9.711 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 2.054e-06/2.054e-06, allocations: 0 / 285.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.695e-05, allocations: 2.312 kB / 285.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01298/0.01301, allocations: 11.72 MB / 297.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009969/0.02297, allocations: 4.001 MB / 301.6 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.02493, allocations: 67.75 kB / 301.6 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.02687, allocations: 1.381 MB / 303 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.03014, allocations: 1.843 MB / 304.9 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009295/0.03107, allocations: 498.8 kB / 305.3 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003147/0.03422, allocations: 3.854 MB / 309.2 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.0365, allocations: 1.908 MB / 311.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.03873, allocations: 1.932 MB / 313 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002066/0.0408, allocations: 1.8 MB / 314.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004213/0.04122, allocations: 240 kB / 315.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.04261, allocations: 0.9477 MB / 316 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000952/0.04356, allocations: 1.535 MB / 317.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007861/0.04435, allocations: 0.837 MB / 318.4 MB, free: 7.703 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002893/0.04724, allocations: 3.844 MB / 322.2 MB, free: 3.844 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-05/0.04725, allocations: 0 / 322.2 MB, free: 3.844 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.04726, allocations: 3.938 kB / 322.2 MB, free: 3.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.124e-05/0.04732, allocations: 0 / 322.2 MB, free: 3.84 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.1815/0.2288, allocations: 4.679 MB / 326.9 MB, free: 17.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2289, allocations: 9.188 kB / 326.9 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003718/0.2326, allocations: 1.39 MB / 328.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.2343, allocations: 1.407 MB / 329.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.811e-05/0.2344, allocations: 191.5 kB / 329.9 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002915/0.2347, allocations: 244.8 kB / 330.2 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/0.2389, allocations: 4.46 MB / 334.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.208e-05/0.239, allocations: 26.38 kB / 334.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.2392, allocations: 120.9 kB / 334.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001724/0.2409, allocations: 2.055 MB / 336.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004049/0.245, allocations: 2.558 MB / 339.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/0.261, allocations: 25.39 MB / 364.8 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.2635, allocations: 1.323 MB / 366.1 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.264, allocations: 332.5 kB / 366.4 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004871/0.2688, allocations: 3.68 MB / 370.1 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.2689, allocations: 45.75 kB / 370.1 MB, free: 4.543 MB / 330.7 MB Notification: Performance of pre-optimization done (n=166): time 2.786e-06/0.2689, allocations: 0 / 370.1 MB, free: 4.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=167): time 0.006802/0.2757, allocations: 3.691 MB / 373.8 MB, free: 0.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.2757, allocations: 68.39 kB / 373.9 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.2773, allocations: 2.4 MB / 376.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/0.2774, allocations: 41.7 kB / 376.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.2785, allocations: 2.83 MB / 379.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.2788, allocations: 0.6472 MB / 379.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007206/0.2795, allocations: 0.9564 MB / 380.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.2796, allocations: 362.5 kB / 381.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009068/0.2805, allocations: 0.6381 MB / 381.8 MB, free: 9.625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/0.2826, allocations: 3.548 MB / 385.3 MB, free: 4.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003341/0.286, allocations: 4.985 MB / 390.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.362e-05/0.286, allocations: 32 kB / 390.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.003528/0.2895, allocations: 3.385 MB / 393.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.2896, allocations: 48 kB / 393.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/0.2897, allocations: 120 kB / 393.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002585/0.2899, allocations: 186.2 kB / 394.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.2918, allocations: 1.217 MB / 395.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008269/0.2926, allocations: 1.441 MB / 396.7 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.294, allocations: 192 kB / 396.9 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/0.2943, allocations: 278.8 kB / 397.2 MB, free: 7.871 MB / 362.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.0008305/0.2951, allocations: 0.5122 MB / 397.7 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.2953, allocations: 163.8 kB / 397.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009176/0.2962, allocations: 0.8354 MB / 398.7 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.2962, allocations: 12 kB / 398.7 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2962, allocations: 0 / 398.7 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.2962, allocations: 11.98 kB / 398.7 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.2999, allocations: 3.531 MB / 402.2 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.2999, allocations: 16 kB / 402.3 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004953/0.3004, allocations: 203.7 kB / 402.4 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.3006, allocations: 229.7 kB / 402.7 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.3007, allocations: 60.11 kB / 402.7 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/0.3008, allocations: 27.98 kB / 402.8 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007183/0.3015, allocations: 1.367 MB / 404.1 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.3015, allocations: 11.94 kB / 404.1 MB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.3027, allocations: 1.249 MB / 405.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.3028, allocations: 31.98 kB / 405.4 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.3032, allocations: 26.66 kB / 405.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3033, allocations: 88.67 kB / 405.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/0.3034, allocations: 43.98 kB / 405.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006082/0.304, allocations: 0.8375 MB / 406.4 MB, free: 14.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.304, allocations: 0 / 406.4 MB, free: 14.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001881/0.3059, allocations: 0.8855 MB / 407.3 MB, free: 14.08 MB / 378.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.000298/0.3062, allocations: 167.2 kB / 407.5 MB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.308, allocations: 2.195 MB / 409.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001088/0.3081, allocations: 78.48 kB / 409.7 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005506/0.3087, allocations: 0.5727 MB / 410.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.3102, allocations: 1.853 MB / 412.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008001/0.3182, allocations: 7.089 MB / 419.2 MB, free: 2.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009399/0.3191, allocations: 1.15 MB / 420.4 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007993/0.3199, allocations: 401.8 kB / 420.8 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/0.3204, allocations: 403.1 kB / 421.2 MB, free: 120 kB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.3204, allocations: 0 / 421.2 MB, free: 120 kB / 378.7 MB Notification: Performance of Templates: time 0.03668/0.3571, allocations: 20 MB / 441.2 MB, free: 12.32 MB / 410.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.402063482441008]