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.001639/0.001639, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001891/0.001891, allocations: 161 kB / 24.56 MB, free: 16 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.036/1.036, allocations: 177.1 MB / 205 MB, free: 5.633 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.2726/0.2726, allocations: 32.81 MB / 294.3 MB, free: 1.207 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.813e-06/1.813e-06, allocations: 0 / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.529e-05/3.71e-05, allocations: 6.25 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01526/0.0153, allocations: 11.83 MB / 387.9 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009361/0.02466, allocations: 3.87 MB / 391.7 MB, free: 4.859 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003249/0.02791, allocations: 67.81 kB / 391.8 MB, free: 4.793 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002976/0.03089, allocations: 1.397 MB / 393.2 MB, free: 3.391 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.03457, allocations: 1.84 MB / 395 MB, free: 1.543 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009853/0.03555, allocations: 0.5222 MB / 395.6 MB, free: 1.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004269/0.03982, allocations: 3.983 MB / 399.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.04265, allocations: 2.153 MB / 401.7 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.04559, allocations: 1.851 MB / 403.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.04812, allocations: 1.937 MB / 405.5 MB, free: 7.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005343/0.04866, allocations: 240 kB / 405.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.0503, allocations: 0.9048 MB / 406.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00133/0.05163, allocations: 1.679 MB / 408.3 MB, free: 4.219 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.05299, allocations: 1 MB / 409.3 MB, free: 3.215 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005299/0.05829, allocations: 4.066 MB / 413.4 MB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.05829, allocations: 0 / 413.4 MB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.05829, allocations: 0 / 413.4 MB, free: 15.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000131/0.05843, allocations: 0 / 413.4 MB, free: 15.13 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.006238/0.06466, allocations: 4.592 MB / 418 MB, free: 10.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.06471, allocations: 8.031 kB / 418 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006504/0.07121, allocations: 3.629 MB / 421.6 MB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.07404, allocations: 1.685 MB / 423.3 MB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.07416, allocations: 189 kB / 423.5 MB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004803/0.07464, allocations: 244.2 kB / 423.7 MB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008925/0.08357, allocations: 5.343 MB / 429 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.737e-05/0.08364, allocations: 23.75 kB / 429.1 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002966/0.08393, allocations: 115.8 kB / 429.2 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00264/0.08657, allocations: 2.557 MB / 431.7 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008734/0.09531, allocations: 3.334 MB / 435.1 MB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2008/0.2961, allocations: 33.69 MB / 468.8 MB, free: 67.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/0.3007, allocations: 2.521 MB / 471.3 MB, free: 67.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.3017, allocations: 0.6751 MB / 472 MB, free: 67.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006219/0.3024, allocations: 0.5156 MB / 472.5 MB, free: 67.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.3024, allocations: 56.48 kB / 472.5 MB, free: 67.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 4.358e-06/0.3024, allocations: 0 / 472.5 MB, free: 67.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.0158/0.3182, allocations: 8.191 MB / 480.7 MB, free: 65.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.3182, allocations: 71.34 kB / 480.8 MB, free: 65.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/0.3208, allocations: 2.472 MB / 483.3 MB, free: 64.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.321, allocations: 51.58 kB / 483.3 MB, free: 64.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.322, allocations: 2.856 MB / 486.2 MB, free: 62.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005952/0.3226, allocations: 0.9246 MB / 487.1 MB, free: 62.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/0.3237, allocations: 1.11 MB / 488.2 MB, free: 61.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.3238, allocations: 0.5387 MB / 488.7 MB, free: 60.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.325, allocations: 0.6671 MB / 489.4 MB, free: 60.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/0.3279, allocations: 4.904 MB / 494.3 MB, free: 55.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005236/0.3332, allocations: 6.179 MB / 0.4888 GB, free: 48.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.3333, allocations: 28.09 kB / 0.4888 GB, free: 48.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.007934/0.3412, allocations: 4.928 MB / 0.4936 GB, free: 47.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/0.3413, allocations: 52.78 kB / 0.4936 GB, free: 47.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/0.3414, allocations: 101.2 kB / 0.4937 GB, free: 47.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.3425, allocations: 0.5617 MB / 0.4943 GB, free: 47.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.3446, allocations: 1.183 MB / 0.4954 GB, free: 47.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.347, allocations: 3.026 MB / 0.4984 GB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/0.3491, allocations: 321.4 kB / 0.4987 GB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002956/0.3494, allocations: 300.2 kB / 0.499 GB, free: 44.62 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.001231/0.3506, allocations: 0.5687 MB / 0.4995 GB, free: 44.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/0.351, allocations: 326.7 kB / 0.4999 GB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/0.354, allocations: 2.419 MB / 0.5022 GB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-05/0.3541, allocations: 41.92 kB / 0.5023 GB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.3541, allocations: 3.812 kB / 0.5023 GB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.3541, allocations: 9.703 kB / 0.5023 GB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008408/0.3625, allocations: 6.121 MB / 0.5083 GB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.3625, allocations: 6.719 kB / 0.5083 GB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008806/0.3634, allocations: 364 kB / 0.5086 GB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.3645, allocations: 434.9 kB / 0.509 GB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.3646, allocations: 42.58 kB / 0.5091 GB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.3666, allocations: 2.449 MB / 0.5115 GB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.3666, allocations: 11.06 kB / 0.5115 GB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.3708, allocations: 2.949 MB / 0.5143 GB, free: 36.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.3712, allocations: 244.1 kB / 0.5146 GB, free: 35.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.3714, allocations: 41.08 kB / 0.5146 GB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/0.3722, allocations: 168.6 kB / 0.5148 GB, free: 35.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.3724, allocations: 142.7 kB / 0.5149 GB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/0.3725, allocations: 63 kB / 0.515 GB, free: 35.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001196/0.3737, allocations: 1.043 MB / 0.516 GB, free: 34.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3737, allocations: 0 / 0.516 GB, free: 34.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002749/0.3764, allocations: 0.9962 MB / 0.517 GB, free: 33.66 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.0003647/0.3768, allocations: 199.1 kB / 0.5172 GB, free: 33.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003849/0.3807, allocations: 2.846 MB / 0.5199 GB, free: 30.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.3807, allocations: 0 / 0.5199 GB, free: 30.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.3817, allocations: 0.9317 MB / 0.5208 GB, free: 30.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.3828, allocations: 280.4 kB / 0.5211 GB, free: 29.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.3932, allocations: 7.509 MB / 0.5284 GB, free: 22.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.3942, allocations: 1.163 MB / 0.5296 GB, free: 21.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002808/0.3971, allocations: 1.574 MB / 0.5311 GB, free: 21.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005843/0.3976, allocations: 198.8 kB / 0.5313 GB, free: 20.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.913e-06/0.3976, allocations: 0 / 0.5313 GB, free: 20.9 MB / 410.7 MB Notification: Performance of Templates: time 0.04346/0.4411, allocations: 25.25 MB / 0.556 GB, free: 13.27 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: 4.352979477029294]