Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.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.001039/0.001039, 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.00112/0.00112, allocations: 165 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 0.9784/0.9784, allocations: 177.1 MB / 205 MB, free: 5.297 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.2902/0.2902, allocations: 34.26 MB / 295.7 MB, free: 0.6289 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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.757e-06/3.757e-06, allocations: 4 kB / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/3.107e-05, allocations: 2.312 kB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01337/0.0134, allocations: 11.31 MB / 389.4 MB, free: 7.262 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009807/0.02321, allocations: 3.991 MB / 393.4 MB, free: 3.258 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.02471, allocations: 67.75 kB / 393.4 MB, free: 3.191 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.02664, allocations: 1.265 MB / 394.7 MB, free: 1.922 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.02922, allocations: 1.836 MB / 396.5 MB, free: 80 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009955/0.03021, allocations: 0.6078 MB / 397.1 MB, free: 15.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00325/0.03347, allocations: 4.705 MB / 401.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/0.03591, allocations: 2.251 MB / 404.1 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.03776, allocations: 1.871 MB / 406 MB, free: 6.605 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.03939, allocations: 2.069 MB / 408 MB, free: 4.531 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002748/0.03966, allocations: 224 kB / 408.2 MB, free: 4.312 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.04113, allocations: 1.248 MB / 409.5 MB, free: 3.062 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009245/0.04206, allocations: 1.694 MB / 411.2 MB, free: 1.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009843/0.04304, allocations: 0.9769 MB / 412.2 MB, free: 392 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006484/0.04952, allocations: 4.195 MB / 416.4 MB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.04953, allocations: 0 / 416.4 MB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.04953, allocations: 3.938 kB / 416.4 MB, free: 12.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000159/0.04969, allocations: 4 kB / 416.4 MB, free: 12.16 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.007962/0.05765, allocations: 4.61 MB / 421 MB, free: 7.488 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.05771, allocations: 8.031 kB / 421 MB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01789/0.07561, allocations: 6.71 MB / 427.7 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.07925, allocations: 1.882 MB / 429.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.07939, allocations: 180.8 kB / 429.7 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007325/0.08012, allocations: 308.5 kB / 430.1 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009334/0.08946, allocations: 5.715 MB / 435.8 MB, free: 8.027 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-05/0.08952, allocations: 31.77 kB / 435.8 MB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003063/0.08983, allocations: 111.8 kB / 435.9 MB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002953/0.09278, allocations: 2.455 MB / 438.4 MB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009158/0.1019, allocations: 3.826 MB / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1809/0.2828, allocations: 35.28 MB / 477.5 MB, free: 65.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004705/0.2875, allocations: 2.922 MB / 480.4 MB, free: 64.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007751/0.2883, allocations: 0.6488 MB / 481 MB, free: 64.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005316/0.2888, allocations: 0.5128 MB / 481.6 MB, free: 64.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2888, allocations: 56.8 kB / 481.6 MB, free: 64.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 4.038e-06/0.2889, allocations: 3 kB / 481.6 MB, free: 64.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.01527/0.3041, allocations: 8.85 MB / 490.5 MB, free: 62.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006796/0.3048, allocations: 1.969 MB / 492.4 MB, free: 60.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002484/0.3073, allocations: 2.7 MB / 495.1 MB, free: 59.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.3074, allocations: 55.39 kB / 495.2 MB, free: 59.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.3089, allocations: 2.909 MB / 498.1 MB, free: 57.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005693/0.3095, allocations: 0.9249 MB / 499 MB, free: 56.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/0.3107, allocations: 1.176 MB / 0.4885 GB, free: 56.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.3107, allocations: 477.9 kB / 0.4889 GB, free: 55.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.3122, allocations: 0.8291 MB / 0.4897 GB, free: 55.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/0.3151, allocations: 5.286 MB / 0.4949 GB, free: 49.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004421/0.3195, allocations: 6.752 MB / 0.5015 GB, free: 42.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.049e-05/0.3195, allocations: 30.75 kB / 0.5015 GB, free: 42.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.04551/0.365, allocations: 28.96 MB / 0.5298 GB, free: 23.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.485e-05/0.3651, allocations: 52 kB / 0.5299 GB, free: 23.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.032/0.3971, allocations: 20.17 MB / 0.5495 GB, free: 2.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05807/0.4552, allocations: 29.21 MB / 0.5781 GB, free: 5.562 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/0.4583, allocations: 1.315 MB / 0.5794 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/0.4745, allocations: 10.02 MB / 0.5891 GB, free: 9.988 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003575/0.478, allocations: 0.5488 MB / 0.5897 GB, free: 9.441 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003816/0.4784, allocations: 320 kB / 0.59 GB, free: 9.129 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (661): * Single equations (assignments): 650 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.00144/0.4799, allocations: 0.581 MB / 0.5905 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004309/0.4803, allocations: 331.8 kB / 0.5909 GB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/0.484, allocations: 2.62 MB / 0.5934 GB, free: 5.555 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002887/0.4869, allocations: 1.835 MB / 0.5952 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.4869, allocations: 4 kB / 0.5952 GB, free: 3.699 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.4869, allocations: 7.969 kB / 0.5952 GB, free: 3.691 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1675/0.6544, allocations: 7.906 MB / 0.6029 GB, free: 127.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.6544, allocations: 5.562 kB / 0.603 GB, free: 127.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.6555, allocations: 454.6 kB / 0.6034 GB, free: 127.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.6568, allocations: 0.6146 MB / 0.604 GB, free: 127.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.6569, allocations: 46.22 kB / 0.604 GB, free: 127.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.6594, allocations: 4.4 MB / 0.6083 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004417/0.6599, allocations: 1.92 MB / 0.6102 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004281/0.6642, allocations: 3.22 MB / 0.6133 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/0.6646, allocations: 277.8 kB / 0.6136 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/0.6648, allocations: 46.17 kB / 0.6137 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008457/0.6657, allocations: 237.8 kB / 0.6139 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/0.6659, allocations: 153.6 kB / 0.614 GB, free: 121.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.666, allocations: 64.8 kB / 0.6141 GB, free: 121.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.667, allocations: 1.145 MB / 0.6152 GB, free: 121.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.667, allocations: 0 / 0.6152 GB, free: 121.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003244/0.6703, allocations: 1.226 MB / 0.6164 GB, free: 121.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003567/0.6706, allocations: 201.5 kB / 0.6166 GB, free: 121.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004897/0.6755, allocations: 4.042 MB / 0.6205 GB, free: 120.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6755, allocations: 0 / 0.6205 GB, free: 120.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.6768, allocations: 1.319 MB / 0.6218 GB, free: 120.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.6779, allocations: 331.4 kB / 0.6222 GB, free: 120.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008694/0.6866, allocations: 7.856 MB / 0.6298 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.6876, allocations: 1.17 MB / 0.631 GB, free: 116.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002382/0.69, allocations: 1.674 MB / 0.6326 GB, free: 116.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/0.6905, allocations: 218.4 kB / 0.6328 GB, free: 116.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6905, allocations: 0 / 0.6328 GB, free: 116.4 MB / 458.7 MB Notification: Performance of Templates: time 0.05149/0.742, allocations: 50.04 MB / 0.6817 GB, free: 81.59 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.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.59943110216409]