Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001254/0.001254, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.004336/0.004336, allocations: 169.1 kB / 24.82 MB, free: 8.867 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.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2711/0.2711, allocations: 32.8 MB / 294.6 MB, free: 1.164 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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.961e-05, allocations: 6.25 kB / 376.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.009201/0.009231, allocations: 11.02 MB / 387.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007195/0.01643, allocations: 3.952 MB / 391.5 MB, free: 5.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.01799, allocations: 67.75 kB / 391.5 MB, free: 5.254 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.01979, allocations: 1.237 MB / 392.8 MB, free: 4.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00377/0.02356, allocations: 1.844 MB / 394.6 MB, free: 2.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.02512, allocations: 0.6078 MB / 395.2 MB, free: 1.551 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005805/0.03093, allocations: 4.713 MB / 399.9 MB, free: 12.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/0.03438, allocations: 2.255 MB / 402.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.03772, allocations: 1.867 MB / 404.1 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002865/0.04059, allocations: 2.081 MB / 406.1 MB, free: 6.594 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008231/0.04141, allocations: 224 kB / 406.4 MB, free: 6.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.04375, allocations: 1.244 MB / 407.6 MB, free: 5.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001391/0.04514, allocations: 1.69 MB / 409.3 MB, free: 3.434 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.04642, allocations: 0.9808 MB / 410.3 MB, free: 2.449 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004573/0.05099, allocations: 4.195 MB / 414.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.051, allocations: 0 / 414.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.051, allocations: 0 / 414.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00012/0.05112, allocations: 4 kB / 414.5 MB, free: 14.23 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.00513/0.05625, allocations: 4.403 MB / 418.9 MB, free: 9.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.0563, allocations: 12.03 kB / 418.9 MB, free: 9.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006605/0.06291, allocations: 2.332 MB / 421.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/0.0658, allocations: 1.663 MB / 422.9 MB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.06591, allocations: 180.8 kB / 423.1 MB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005133/0.06642, allocations: 300.5 kB / 423.3 MB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006489/0.07291, allocations: 4.984 MB / 428.3 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-05/0.07297, allocations: 27.7 kB / 428.4 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/0.07318, allocations: 111.8 kB / 428.5 MB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001864/0.07505, allocations: 2.151 MB / 430.6 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005129/0.08018, allocations: 2.932 MB / 433.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2033/0.2835, allocations: 33.38 MB / 466.9 MB, free: 66.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004434/0.2879, allocations: 2.532 MB / 469.5 MB, free: 66.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007755/0.2887, allocations: 0.5348 MB / 470 MB, free: 66.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005969/0.2893, allocations: 0.5077 MB / 470.5 MB, free: 66.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.2893, allocations: 57.08 kB / 470.6 MB, free: 66.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 3.727e-06/0.2893, allocations: 0 / 470.6 MB, free: 66.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.01455/0.3039, allocations: 6.851 MB / 477.4 MB, free: 66.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007222/0.3046, allocations: 1.944 MB / 479.4 MB, free: 64.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.3072, allocations: 2.68 MB / 482 MB, free: 63.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002317/0.3075, allocations: 54.33 kB / 482.1 MB, free: 63.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.3086, allocations: 2.946 MB / 485 MB, free: 62.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006575/0.3093, allocations: 0.9303 MB / 486 MB, free: 61.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/0.3104, allocations: 1.197 MB / 487.2 MB, free: 61.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.808e-05/0.3105, allocations: 476.8 kB / 487.6 MB, free: 60.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.3116, allocations: 0.7384 MB / 488.4 MB, free: 60.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002459/0.3141, allocations: 5.234 MB / 493.6 MB, free: 54.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005229/0.3193, allocations: 6.59 MB / 0.4885 GB, free: 48.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/0.3195, allocations: 33.91 kB / 0.4885 GB, free: 48.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02538/0.3448, allocations: 5.724 MB / 0.4941 GB, free: 46.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.3449, allocations: 52.03 kB / 0.4941 GB, free: 46.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01622/0.3612, allocations: 2.101 MB / 0.4962 GB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03006/0.3912, allocations: 3.342 MB / 0.4995 GB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/0.3944, allocations: 1.151 MB / 0.5006 GB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.4046, allocations: 5.361 MB / 0.5058 GB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/0.408, allocations: 206.9 kB / 0.506 GB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005401/0.4085, allocations: 277 kB / 0.5063 GB, free: 41.04 MB / 410.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 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],spherical.sphereColor[1],spherical.sphereColor[2],spherical.sphereColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],frame_a.color_x[1],frame_a.color_x[2],frame_a.color_x[3],frame_a1.color_x[1],frame_a1.color_x[2],frame_a1.color_x[3]) * 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.001404/0.4099, allocations: 0.5744 MB / 0.5068 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004692/0.4104, allocations: 336.5 kB / 0.5072 GB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/0.4136, allocations: 2.195 MB / 0.5093 GB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002202/0.4158, allocations: 1.374 MB / 0.5106 GB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.4158, allocations: 3.938 kB / 0.5106 GB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/0.4158, allocations: 9.609 kB / 0.5107 GB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.4259, allocations: 6.303 MB / 0.5168 GB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.4259, allocations: 8 kB / 0.5168 GB, free: 35.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008224/0.4267, allocations: 279.4 kB / 0.5171 GB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.4278, allocations: 383.3 kB / 0.5175 GB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.4279, allocations: 47.12 kB / 0.5175 GB, free: 35.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.4301, allocations: 4.158 MB / 0.5216 GB, free: 31.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006086/0.4307, allocations: 1.875 MB / 0.5234 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004337/0.4351, allocations: 2.692 MB / 0.526 GB, free: 26.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007597/0.4358, allocations: 264.7 kB / 0.5263 GB, free: 26.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.436, allocations: 39.66 kB / 0.5263 GB, free: 26.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/0.4367, allocations: 40.97 kB / 0.5263 GB, free: 26.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/0.4369, allocations: 149 kB / 0.5265 GB, free: 26.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.591e-05/0.437, allocations: 59.41 kB / 0.5265 GB, free: 26.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001062/0.4381, allocations: 1.064 MB / 0.5276 GB, free: 25.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4381, allocations: 0 / 0.5276 GB, free: 25.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003677/0.4418, allocations: 1.233 MB / 0.5288 GB, free: 24.07 MB / 410.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.0003952/0.4422, allocations: 196 kB / 0.529 GB, free: 23.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004431/0.4466, allocations: 3.201 MB / 0.5321 GB, free: 21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.4466, allocations: 4.188 kB / 0.5321 GB, free: 21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.4478, allocations: 1.14 MB / 0.5332 GB, free: 19.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.4489, allocations: 318.1 kB / 0.5335 GB, free: 19.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009675/0.4586, allocations: 7.81 MB / 0.5412 GB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009666/0.4596, allocations: 1.17 MB / 0.5423 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001208/0.4608, allocations: 418.5 kB / 0.5427 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007542/0.4615, allocations: 486.1 kB / 0.5432 GB, free: 9.863 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.4615, allocations: 3.938 kB / 0.5432 GB, free: 9.859 MB / 410.7 MB Notification: Performance of Templates: time 0.06805/0.5296, allocations: 51.64 MB / 0.5936 GB, free: 6.383 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.800564941950142]