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.0009709/0.0009709, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001012/0.001012, allocations: 169.9 kB / 24.99 MB, free: 8.289 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.9617/0.9617, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2435/0.2435, allocations: 34.27 MB / 296 MB, free: 0.7734 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.583e-06/1.583e-06, allocations: 0 / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.044e-05, allocations: 5.828 kB / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.009235/0.009255, allocations: 11.79 MB / 389.8 MB, free: 7.145 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0064/0.01565, allocations: 3.866 MB / 393.7 MB, free: 3.266 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.01721, allocations: 67.75 kB / 393.7 MB, free: 3.199 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.01937, allocations: 1.397 MB / 395.1 MB, free: 1.797 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.02318, allocations: 1.836 MB / 397 MB, free: 15.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009613/0.02414, allocations: 0.526 MB / 397.5 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004457/0.02859, allocations: 3.974 MB / 401.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002795/0.03139, allocations: 2.153 MB / 403.6 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.03405, allocations: 1.847 MB / 405.5 MB, free: 7.402 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.03663, allocations: 1.933 MB / 407.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000585/0.03721, allocations: 240 kB / 407.6 MB, free: 5.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.0387, allocations: 0.9125 MB / 408.6 MB, free: 4.316 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.03997, allocations: 1.679 MB / 410.2 MB, free: 2.633 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.04121, allocations: 1 MB / 411.2 MB, free: 1.629 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004606/0.04582, allocations: 4.062 MB / 415.3 MB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.04582, allocations: 0 / 415.3 MB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.04582, allocations: 0 / 415.3 MB, free: 13.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001271/0.04595, allocations: 0 / 415.3 MB, free: 13.55 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.006127/0.05208, allocations: 4.592 MB / 419.9 MB, free: 8.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.05212, allocations: 8.031 kB / 419.9 MB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008584/0.0607, allocations: 3.629 MB / 423.5 MB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.06324, allocations: 1.685 MB / 425.2 MB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.06337, allocations: 189 kB / 425.4 MB, free: 3.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004037/0.06377, allocations: 240.2 kB / 425.6 MB, free: 3.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008041/0.07181, allocations: 5.343 MB / 431 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.135e-05/0.07188, allocations: 31.69 kB / 431 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003246/0.07221, allocations: 119.8 kB / 431.1 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003324/0.07553, allocations: 2.553 MB / 433.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008443/0.08398, allocations: 3.334 MB / 437 MB, free: 7.137 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1737/0.2577, allocations: 33.7 MB / 470.7 MB, free: 72.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005775/0.2634, allocations: 2.519 MB / 473.2 MB, free: 71.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.2647, allocations: 0.6661 MB / 473.9 MB, free: 71.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007102/0.2654, allocations: 0.5194 MB / 474.4 MB, free: 71.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.2654, allocations: 54.05 kB / 474.5 MB, free: 71.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 5.32e-06/0.2654, allocations: 2.188 kB / 474.5 MB, free: 71.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.01702/0.2824, allocations: 8.184 MB / 482.7 MB, free: 69.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2825, allocations: 71.5 kB / 482.7 MB, free: 69.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.2845, allocations: 2.465 MB / 485.2 MB, free: 68.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.2847, allocations: 55.77 kB / 485.2 MB, free: 68.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.2857, allocations: 2.861 MB / 488.1 MB, free: 66.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000609/0.2863, allocations: 0.928 MB / 489 MB, free: 65.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.2873, allocations: 1.111 MB / 490.1 MB, free: 65.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.2874, allocations: 0.5387 MB / 490.7 MB, free: 64.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.2887, allocations: 0.6627 MB / 491.3 MB, free: 64.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002438/0.2911, allocations: 4.911 MB / 496.3 MB, free: 59.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004315/0.2954, allocations: 6.171 MB / 0.4907 GB, free: 52.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.099e-05/0.2955, allocations: 28.41 kB / 0.4907 GB, free: 52.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.006936/0.3024, allocations: 4.929 MB / 0.4955 GB, free: 50.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/0.3025, allocations: 50.7 kB / 0.4955 GB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.573e-05/0.3026, allocations: 105.9 kB / 0.4956 GB, free: 50.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.3038, allocations: 0.5569 MB / 0.4962 GB, free: 50.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/0.3059, allocations: 1.185 MB / 0.4973 GB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.3082, allocations: 3.013 MB / 0.5003 GB, free: 48.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/0.3104, allocations: 322.1 kB / 0.5006 GB, free: 48.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003053/0.3107, allocations: 301.2 kB / 0.5009 GB, free: 48.21 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.001205/0.3119, allocations: 0.5637 MB / 0.5014 GB, free: 47.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003472/0.3122, allocations: 315.8 kB / 0.5017 GB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/0.3152, allocations: 2.421 MB / 0.5041 GB, free: 46.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/0.3152, allocations: 44.28 kB / 0.5041 GB, free: 46.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.3152, allocations: 11.83 kB / 0.5041 GB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.3153, allocations: 8.578 kB / 0.5042 GB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008575/0.3238, allocations: 6.136 MB / 0.5101 GB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.3239, allocations: 4.906 kB / 0.5102 GB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008491/0.3247, allocations: 366.3 kB / 0.5105 GB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.3257, allocations: 434.5 kB / 0.5109 GB, free: 42.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.3258, allocations: 49.81 kB / 0.511 GB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.3277, allocations: 2.442 MB / 0.5133 GB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3277, allocations: 11.94 kB / 0.5134 GB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003601/0.3313, allocations: 2.948 MB / 0.5162 GB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.3317, allocations: 245.8 kB / 0.5165 GB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.3319, allocations: 35.75 kB / 0.5165 GB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/0.3325, allocations: 172.5 kB / 0.5167 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.3327, allocations: 140.2 kB / 0.5168 GB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/0.3328, allocations: 61.97 kB / 0.5169 GB, free: 36.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009355/0.3337, allocations: 1.046 MB / 0.5179 GB, free: 35.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3337, allocations: 4.031 kB / 0.5179 GB, free: 35.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002485/0.3362, allocations: 0.9941 MB / 0.5189 GB, free: 34.57 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.0003357/0.3366, allocations: 193.5 kB / 0.519 GB, free: 34.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003156/0.3397, allocations: 2.845 MB / 0.5218 GB, free: 31.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3397, allocations: 2 kB / 0.5218 GB, free: 31.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008718/0.3406, allocations: 0.933 MB / 0.5227 GB, free: 30.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/0.3416, allocations: 295.2 kB / 0.523 GB, free: 30.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008221/0.3498, allocations: 7.495 MB / 0.5303 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008231/0.3506, allocations: 1.174 MB / 0.5315 GB, free: 22.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001989/0.3526, allocations: 1.577 MB / 0.533 GB, free: 21.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.3531, allocations: 192.5 kB / 0.5332 GB, free: 21.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.884e-06/0.3531, allocations: 0 / 0.5332 GB, free: 21.37 MB / 410.7 MB Notification: Performance of Templates: time 0.03733/0.3904, allocations: 25.25 MB / 0.5579 GB, free: 12.52 MB / 426.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.111532383132726]