Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.0009791/0.0009791, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001082/0.001082, allocations: 174.8 kB / 25.61 MB, free: 8.91 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.9983/0.9983, allocations: 177.1 MB / 206.1 MB, free: 4.488 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.1445/0.1445, allocations: 34.25 MB / 296.8 MB, free: 13.93 MB / 282.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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.358e-05, allocations: 6.25 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.007884/0.007897, allocations: 12.68 MB / 392 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006232/0.01413, allocations: 4.055 MB / 396 MB, free: 6.586 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.01552, allocations: 79.69 kB / 396.1 MB, free: 6.508 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.01733, allocations: 1.923 MB / 398 MB, free: 4.578 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.01968, allocations: 1.925 MB / 400 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.02045, allocations: 0.6002 MB / 400.6 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0028/0.02325, allocations: 4.27 MB / 404.8 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.02506, allocations: 2.614 MB / 407.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.0267, allocations: 2.175 MB / 409.6 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.02831, allocations: 2.104 MB / 411.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002847/0.02859, allocations: 288 kB / 412 MB, free: 6.523 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.0297, allocations: 0.9555 MB / 413 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.03078, allocations: 1.85 MB / 414.8 MB, free: 3.711 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009254/0.0317, allocations: 1.144 MB / 416 MB, free: 2.562 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.03503, allocations: 4.413 MB / 420.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.03503, allocations: 0 / 420.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.03503, allocations: 4 kB / 420.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.748e-05/0.0351, allocations: 0 / 420.4 MB, free: 14.13 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.004461/0.03956, allocations: 4.84 MB / 425.2 MB, free: 9.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.0396, allocations: 11.97 kB / 425.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004449/0.04405, allocations: 1.91 MB / 427.1 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.0461, allocations: 1.733 MB / 428.9 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.04622, allocations: 221.8 kB / 429.1 MB, free: 5.309 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003642/0.04658, allocations: 292.1 kB / 429.4 MB, free: 5.023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005235/0.05182, allocations: 5.117 MB / 434.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.799e-05/0.05188, allocations: 27.77 kB / 434.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/0.05212, allocations: 139.8 kB / 434.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001855/0.05398, allocations: 2.242 MB / 436.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003797/0.05777, allocations: 2.676 MB / 439.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02423/0.082, allocations: 35.36 MB / 474.9 MB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.08494, allocations: 1.457 MB / 476.4 MB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005144/0.08546, allocations: 445.4 kB / 476.8 MB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00528/0.09074, allocations: 4.018 MB / 480.8 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.09078, allocations: 50.7 kB / 480.9 MB, free: 15.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 3.126e-06/0.09078, allocations: 4 kB / 480.9 MB, free: 15.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=187): time 0.01011/0.1009, allocations: 5.511 MB / 486.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.1009, allocations: 64.72 kB / 486.5 MB, free: 10.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.1031, allocations: 2.755 MB / 489.2 MB, free: 7.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.1031, allocations: 45.7 kB / 489.3 MB, free: 7.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.1045, allocations: 3.222 MB / 492.5 MB, free: 3.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004276/0.105, allocations: 0.7637 MB / 493.2 MB, free: 3.195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000936/0.1059, allocations: 1.172 MB / 494.4 MB, free: 2.012 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.106, allocations: 476.8 kB / 494.9 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007693/0.1068, allocations: 0.5217 MB / 495.4 MB, free: 1.016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1635/0.2703, allocations: 5.079 MB / 0.4887 GB, free: 103.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/0.2736, allocations: 6.151 MB / 0.4948 GB, free: 97.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-05/0.2736, allocations: 30.12 kB / 0.4948 GB, free: 97.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.00645/0.2801, allocations: 4.149 MB / 0.4988 GB, free: 96.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.304e-05/0.2801, allocations: 52.09 kB / 0.4989 GB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-05/0.2802, allocations: 106.3 kB / 0.499 GB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/0.2805, allocations: 185.5 kB / 0.4992 GB, free: 96.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/0.2827, allocations: 1.143 MB / 0.5003 GB, free: 96.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.2838, allocations: 1.989 MB / 0.5022 GB, free: 95.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/0.2869, allocations: 198 kB / 0.5024 GB, free: 95.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/0.2871, allocations: 278.7 kB / 0.5027 GB, free: 95.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 491 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (654): * Single equations (assignments): 647 * 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.001379/0.2885, allocations: 0.5816 MB / 0.5032 GB, free: 94.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.2888, allocations: 312.5 kB / 0.5035 GB, free: 94.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.29, allocations: 1.093 MB / 0.5046 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.2901, allocations: 21.31 kB / 0.5046 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2901, allocations: 1.406 kB / 0.5046 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.2901, allocations: 14.53 kB / 0.5046 GB, free: 94.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005466/0.2955, allocations: 4.944 MB / 0.5095 GB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.2955, allocations: 9.969 kB / 0.5095 GB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.296, allocations: 224.5 kB / 0.5097 GB, free: 92.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/0.2962, allocations: 60.73 kB / 0.5098 GB, free: 92.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.2962, allocations: 43.58 kB / 0.5098 GB, free: 92.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005802/0.2968, allocations: 1.784 MB / 0.5115 GB, free: 90.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.2968, allocations: 11.94 kB / 0.5116 GB, free: 90.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.2983, allocations: 1.849 MB / 0.5134 GB, free: 89.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.2985, allocations: 248.2 kB / 0.5136 GB, free: 88.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.2987, allocations: 35.06 kB / 0.5136 GB, free: 88.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.2991, allocations: 27.5 kB / 0.5137 GB, free: 88.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.2992, allocations: 123.5 kB / 0.5138 GB, free: 88.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.09e-05/0.2993, allocations: 55.62 kB / 0.5138 GB, free: 88.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007258/0.3, allocations: 1.087 MB / 0.5149 GB, free: 88.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3, allocations: 0 / 0.5149 GB, free: 88.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002873/0.3029, allocations: 0.9184 MB / 0.5158 GB, free: 87.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (141): * Single equations (assignments): 134 * 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.0003534/0.3032, allocations: 178.5 kB / 0.516 GB, free: 87.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.3058, allocations: 2.434 MB / 0.5183 GB, free: 84.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.3058, allocations: 4 kB / 0.5183 GB, free: 84.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005535/0.3064, allocations: 0.6674 MB / 0.519 GB, free: 84.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3075, allocations: 312.7 kB / 0.5193 GB, free: 84.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008407/0.3159, allocations: 7.724 MB / 0.5268 GB, free: 76.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009515/0.3168, allocations: 1.264 MB / 0.5281 GB, free: 75.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000991/0.3178, allocations: 429.9 kB / 0.5285 GB, free: 75.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005555/0.3184, allocations: 498.1 kB / 0.5289 GB, free: 74.97 MB / 410.7 MB Notification: Performance of SimCode: time 2.124e-06/0.3184, allocations: 0 / 0.5289 GB, free: 74.97 MB / 410.7 MB Notification: Performance of Templates: time 0.03624/0.3546, allocations: 23.69 MB / 0.5521 GB, free: 51.76 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.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.168911071959883]