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.001037/0.001037, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001089/0.001089, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.3112/0.3112, allocations: 32.8 MB / 294.6 MB, free: 1.285 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.362e-06/1.362e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.533e-05, allocations: 6.25 kB / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01214/0.01217, allocations: 11.8 MB / 387.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007408/0.01957, allocations: 3.855 MB / 391.7 MB, free: 5.254 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.02104, allocations: 67.75 kB / 391.7 MB, free: 5.188 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.02341, allocations: 1.393 MB / 393.1 MB, free: 3.789 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.02678, allocations: 1.832 MB / 395 MB, free: 1.949 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.02781, allocations: 0.526 MB / 395.5 MB, free: 1.422 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00419/0.032, allocations: 3.987 MB / 399.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.03462, allocations: 2.153 MB / 401.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.0374, allocations: 1.843 MB / 403.5 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00283/0.04023, allocations: 1.941 MB / 405.4 MB, free: 7.445 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009651/0.0412, allocations: 244 kB / 405.6 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.04316, allocations: 0.9047 MB / 406.5 MB, free: 6.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.04441, allocations: 1.683 MB / 408.2 MB, free: 4.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.04552, allocations: 0.9925 MB / 409.2 MB, free: 3.617 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.05017, allocations: 4.062 MB / 413.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.05018, allocations: 0 / 413.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.05018, allocations: 4 kB / 413.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001145/0.05029, allocations: 0 / 413.3 MB, free: 15.54 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.005185/0.05548, allocations: 4.592 MB / 417.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.05552, allocations: 8.031 kB / 417.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006568/0.06209, allocations: 3.621 MB / 421.5 MB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.0641, allocations: 1.688 MB / 423.2 MB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.0642, allocations: 193 kB / 423.4 MB, free: 5.324 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/0.06452, allocations: 248.2 kB / 423.6 MB, free: 5.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006528/0.07105, allocations: 5.335 MB / 429 MB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.62e-05/0.07112, allocations: 27.75 kB / 429 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002713/0.07139, allocations: 119.8 kB / 429.1 MB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002487/0.07388, allocations: 2.553 MB / 431.7 MB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009202/0.08308, allocations: 3.332 MB / 435 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2042/0.2873, allocations: 33.7 MB / 468.7 MB, free: 73.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006277/0.2936, allocations: 2.525 MB / 471.2 MB, free: 73.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.2946, allocations: 0.6644 MB / 471.9 MB, free: 73.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005961/0.2952, allocations: 0.5176 MB / 472.4 MB, free: 72.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2953, allocations: 58.02 kB / 472.5 MB, free: 72.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 4.819e-06/0.2953, allocations: 0 / 472.5 MB, free: 72.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.01716/0.3124, allocations: 8.179 MB / 480.6 MB, free: 71.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.3125, allocations: 75.09 kB / 480.7 MB, free: 71.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.3153, allocations: 2.463 MB / 483.2 MB, free: 70 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.3154, allocations: 56.11 kB / 483.2 MB, free: 69.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.3168, allocations: 2.868 MB / 486.1 MB, free: 67.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009381/0.3177, allocations: 0.9229 MB / 487 MB, free: 67.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/0.319, allocations: 1.102 MB / 488.1 MB, free: 66.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.3192, allocations: 0.5384 MB / 488.7 MB, free: 66.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.3204, allocations: 0.6626 MB / 489.3 MB, free: 66.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/0.3231, allocations: 4.908 MB / 494.2 MB, free: 60.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004782/0.3279, allocations: 6.183 MB / 0.4887 GB, free: 53.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.979e-05/0.3279, allocations: 29.19 kB / 0.4887 GB, free: 53.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.00706/0.335, allocations: 4.927 MB / 0.4935 GB, free: 52.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.3351, allocations: 49.12 kB / 0.4936 GB, free: 52.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.022e-05/0.3351, allocations: 98.59 kB / 0.4937 GB, free: 52.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.3363, allocations: 0.5557 MB / 0.4942 GB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.3384, allocations: 1.191 MB / 0.4954 GB, free: 51.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.3408, allocations: 3.019 MB / 0.4983 GB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.3429, allocations: 321.6 kB / 0.4986 GB, free: 49.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/0.3432, allocations: 308.7 kB / 0.4989 GB, free: 49.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * 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 (635): * Single equations (assignments): 628 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001318/0.3445, allocations: 0.5544 MB / 0.4995 GB, free: 48.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.3449, allocations: 325.8 kB / 0.4998 GB, free: 48.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/0.348, allocations: 2.42 MB / 0.5021 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.792e-05/0.3481, allocations: 40.19 kB / 0.5022 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.3481, allocations: 3.031 kB / 0.5022 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.3481, allocations: 9.844 kB / 0.5022 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008792/0.3569, allocations: 6.138 MB / 0.5082 GB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.3569, allocations: 6.688 kB / 0.5082 GB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008879/0.3578, allocations: 366.8 kB / 0.5085 GB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.359, allocations: 441.7 kB / 0.509 GB, free: 45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.3591, allocations: 41.39 kB / 0.509 GB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.3611, allocations: 2.443 MB / 0.5114 GB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.3611, allocations: 16.53 kB / 0.5114 GB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004129/0.3653, allocations: 2.951 MB / 0.5143 GB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.3658, allocations: 244.1 kB / 0.5145 GB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/0.3661, allocations: 37.88 kB / 0.5146 GB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.3673, allocations: 171.4 kB / 0.5147 GB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/0.3676, allocations: 136.2 kB / 0.5148 GB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.3678, allocations: 70.19 kB / 0.5149 GB, free: 39.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001903/0.3697, allocations: 1.039 MB / 0.5159 GB, free: 38.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3697, allocations: 0 / 0.5159 GB, free: 38.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004994/0.3747, allocations: 0.9935 MB / 0.5169 GB, free: 37.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (178): * Single equations (assignments): 171 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005436/0.3752, allocations: 191.9 kB / 0.5171 GB, free: 37.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005901/0.3811, allocations: 2.851 MB / 0.5199 GB, free: 34.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.3812, allocations: 0 / 0.5199 GB, free: 34.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.3826, allocations: 0.9272 MB / 0.5208 GB, free: 33.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.3844, allocations: 290.5 kB / 0.521 GB, free: 33.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.3968, allocations: 7.5 MB / 0.5284 GB, free: 26.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.3982, allocations: 1.172 MB / 0.5295 GB, free: 25.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002586/0.4008, allocations: 1.575 MB / 0.5311 GB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/0.4014, allocations: 195.7 kB / 0.5312 GB, free: 24.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.585e-06/0.4014, allocations: 0 / 0.5312 GB, free: 24.71 MB / 410.7 MB Notification: Performance of Templates: time 0.03323/0.4346, allocations: 25.25 MB / 0.5559 GB, free: 376 kB / 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 -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: 4.230136404978111]