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.0009513/0.0009513, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009324/0.0009324, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 1.057/1.057, allocations: 177.1 MB / 205 MB, free: 5.609 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.2611/0.2611, allocations: 34.26 MB / 295.7 MB, free: 0.6719 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 1.463e-06/1.463e-06, allocations: 0 / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.642e-05, allocations: 5.969 kB / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.009491/0.009517, allocations: 11.82 MB / 389.9 MB, free: 6.719 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006441/0.01596, allocations: 3.874 MB / 393.8 MB, free: 2.832 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.0172, allocations: 67.75 kB / 393.8 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.01933, allocations: 1.397 MB / 395.2 MB, free: 1.363 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003022/0.02235, allocations: 1.851 MB / 397.1 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.02336, allocations: 0.5183 MB / 397.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003686/0.02705, allocations: 3.983 MB / 401.6 MB, free: 11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.02947, allocations: 2.149 MB / 403.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.03185, allocations: 1.886 MB / 405.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002241/0.03409, allocations: 1.902 MB / 407.5 MB, free: 5.012 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005563/0.03465, allocations: 244 kB / 407.7 MB, free: 4.773 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.03628, allocations: 0.9125 MB / 408.7 MB, free: 3.859 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.03736, allocations: 1.667 MB / 410.3 MB, free: 2.188 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008598/0.03822, allocations: 1 MB / 411.3 MB, free: 1.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00344/0.04166, allocations: 4.054 MB / 415.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.04166, allocations: 0 / 415.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.04167, allocations: 0 / 415.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.783e-05/0.04173, allocations: 0 / 415.4 MB, free: 13.11 MB / 394.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.005162/0.04689, allocations: 4.596 MB / 420 MB, free: 8.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.04694, allocations: 12.03 kB / 420 MB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00625/0.05319, allocations: 3.629 MB / 423.6 MB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.0553, allocations: 1.733 MB / 425.3 MB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.546e-05/0.05539, allocations: 185 kB / 425.5 MB, free: 2.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/0.05572, allocations: 256.2 kB / 425.8 MB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007715/0.06344, allocations: 5.323 MB / 431.1 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.391e-05/0.0635, allocations: 27.75 kB / 431.1 MB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003109/0.06381, allocations: 119.8 kB / 431.2 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/0.06617, allocations: 2.491 MB / 433.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008906/0.07508, allocations: 3.242 MB / 437 MB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1964/0.2715, allocations: 34.34 MB / 471.3 MB, free: 66.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0036/0.2751, allocations: 1.473 MB / 472.8 MB, free: 66.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008073/0.2759, allocations: 492.8 kB / 473.3 MB, free: 66.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005976/0.2819, allocations: 4.207 MB / 477.5 MB, free: 64.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.2819, allocations: 48.98 kB / 477.5 MB, free: 64.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 4.829e-06/0.2819, allocations: 0 / 477.5 MB, free: 64.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=167): time 0.008612/0.2905, allocations: 4.785 MB / 482.3 MB, free: 63.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2906, allocations: 67.34 kB / 482.4 MB, free: 63.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002683/0.2933, allocations: 2.696 MB / 485.1 MB, free: 62.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/0.2933, allocations: 40.64 kB / 485.1 MB, free: 62.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.2945, allocations: 3.056 MB / 488.2 MB, free: 59.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004024/0.2949, allocations: 0.6818 MB / 488.9 MB, free: 59.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008166/0.2957, allocations: 1.104 MB / 490 MB, free: 58.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.2958, allocations: 0.5378 MB / 490.5 MB, free: 58.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008578/0.2966, allocations: 0.553 MB / 491 MB, free: 58.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/0.2992, allocations: 5.052 MB / 496.1 MB, free: 52.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004203/0.3034, allocations: 6.186 MB / 0.4905 GB, free: 45.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.482e-05/0.3034, allocations: 30.97 kB / 0.4905 GB, free: 45.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.005851/0.3093, allocations: 4.324 MB / 0.4948 GB, free: 43.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.261e-05/0.3094, allocations: 51.47 kB / 0.4948 GB, free: 43.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/0.3095, allocations: 107.7 kB / 0.4949 GB, free: 43.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004038/0.3099, allocations: 186.3 kB / 0.4951 GB, free: 43.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/0.312, allocations: 1.165 MB / 0.4962 GB, free: 43.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009438/0.3129, allocations: 2.01 MB / 0.4982 GB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.3149, allocations: 314.8 kB / 0.4985 GB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/0.3152, allocations: 309.7 kB / 0.4988 GB, free: 41.71 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.001168/0.3164, allocations: 0.5637 MB / 0.4993 GB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/0.3168, allocations: 298.6 kB / 0.4996 GB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.3181, allocations: 1.077 MB / 0.5007 GB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.3181, allocations: 24.42 kB / 0.5007 GB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3181, allocations: 0 / 0.5007 GB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3181, allocations: 3.375 kB / 0.5007 GB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/0.3236, allocations: 4.553 MB / 0.5052 GB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3236, allocations: 6.906 kB / 0.5052 GB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005374/0.3241, allocations: 251.7 kB / 0.5054 GB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.3243, allocations: 51.67 kB / 0.5054 GB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/0.3243, allocations: 30.7 kB / 0.5055 GB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006978/0.325, allocations: 1.823 MB / 0.5073 GB, free: 36.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.325, allocations: 11.72 kB / 0.5073 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.327, allocations: 1.707 MB / 0.5089 GB, free: 35.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000367/0.3273, allocations: 238.1 kB / 0.5092 GB, free: 35.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.3275, allocations: 28.8 kB / 0.5092 GB, free: 35.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/0.328, allocations: 124.4 kB / 0.5093 GB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.3282, allocations: 98.98 kB / 0.5094 GB, free: 35.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/0.3283, allocations: 53.67 kB / 0.5095 GB, free: 35.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001184/0.3295, allocations: 1.127 MB / 0.5106 GB, free: 35.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.3295, allocations: 0 / 0.5106 GB, free: 35.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003364/0.3328, allocations: 0.8608 MB / 0.5114 GB, free: 35.17 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.0004927/0.3333, allocations: 176.6 kB / 0.5116 GB, free: 35.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00407/0.3374, allocations: 2.476 MB / 0.514 GB, free: 33.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.3374, allocations: 4 kB / 0.514 GB, free: 33.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007066/0.3381, allocations: 0.666 MB / 0.5146 GB, free: 32.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.3393, allocations: 273.8 kB / 0.5149 GB, free: 32.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00987/0.3491, allocations: 7.037 MB / 0.5218 GB, free: 26.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.3502, allocations: 1.168 MB / 0.5229 GB, free: 25.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002361/0.3526, allocations: 1.514 MB / 0.5244 GB, free: 24.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.3529, allocations: 194.6 kB / 0.5246 GB, free: 24.15 MB / 410.7 MB Notification: Performance of SimCode: time 2.484e-06/0.3529, allocations: 0 / 0.5246 GB, free: 24.15 MB / 410.7 MB Notification: Performance of Templates: time 0.03039/0.3833, allocations: 19.67 MB / 0.5438 GB, free: 7.75 MB / 410.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 -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: 4.071831793058664]