Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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: 81.08 kB / 20.65 MB, free: 3.84 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.0009817/0.0009817, allocations: 173 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9503/0.9503, allocations: 158.6 MB / 185.9 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1354/0.1354, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.594e-05, allocations: 6.312 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.007146/0.007172, allocations: 11.08 MB / 359.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006834/0.01401, allocations: 3.945 MB / 363.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.01548, allocations: 67.75 kB / 363.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.0172, allocations: 1.237 MB / 364.5 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.02035, allocations: 1.879 MB / 366.3 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.02195, allocations: 0.6077 MB / 367 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004265/0.02621, allocations: 4.568 MB / 371.5 MB, free: 1.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/0.02888, allocations: 2.271 MB / 373.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/0.03163, allocations: 1.89 MB / 375.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.0341, allocations: 2.085 MB / 377.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004884/0.03459, allocations: 224 kB / 378 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.03654, allocations: 1.263 MB / 379.2 MB, free: 9.926 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.03786, allocations: 1.718 MB / 381 MB, free: 8.203 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.03963, allocations: 0.9964 MB / 382 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004621/0.04425, allocations: 4.261 MB / 386.2 MB, free: 2.926 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.04426, allocations: 7.938 kB / 386.2 MB, free: 2.918 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.04426, allocations: 0 / 386.2 MB, free: 2.918 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001171/0.04437, allocations: 0 / 386.2 MB, free: 2.918 MB / 314.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.005839/0.05021, allocations: 4.449 MB / 390.7 MB, free: 14.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.05026, allocations: 12.03 kB / 390.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006587/0.05685, allocations: 2.152 MB / 392.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002781/0.05963, allocations: 1.686 MB / 394.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.05974, allocations: 176.8 kB / 394.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007353/0.06047, allocations: 312.5 kB / 395 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007405/0.06788, allocations: 4.984 MB / 400 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.915e-05/0.06794, allocations: 27.8 kB / 400 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/0.06819, allocations: 111.8 kB / 400.1 MB, free: 4.293 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.07055, allocations: 2.147 MB / 402.3 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006873/0.07742, allocations: 2.944 MB / 405.2 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02744/0.1049, allocations: 33.4 MB / 438.6 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/0.1095, allocations: 2.512 MB / 441.1 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/0.1104, allocations: 0.541 MB / 441.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006252/0.111, allocations: 0.5206 MB / 442.2 MB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.111, allocations: 59.33 kB / 442.3 MB, free: 9.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 4.288e-06/0.111, allocations: 0 / 442.3 MB, free: 9.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.01443/0.1254, allocations: 6.863 MB / 449.1 MB, free: 2.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009229/0.1264, allocations: 1.939 MB / 451.1 MB, free: 140 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1485/0.2749, allocations: 2.691 MB / 453.7 MB, free: 99.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000664/0.2756, allocations: 56.55 kB / 453.8 MB, free: 99.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001926/0.2775, allocations: 2.943 MB / 456.7 MB, free: 97.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001448/0.2789, allocations: 0.9355 MB / 457.7 MB, free: 97.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/0.2807, allocations: 1.195 MB / 458.9 MB, free: 97.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.2808, allocations: 478.9 kB / 459.3 MB, free: 96.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.2824, allocations: 0.7499 MB / 460.1 MB, free: 96.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/0.2856, allocations: 5.222 MB / 465.3 MB, free: 91.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005379/0.2909, allocations: 6.593 MB / 471.9 MB, free: 85.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/0.291, allocations: 33.25 kB / 471.9 MB, free: 85.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02981/0.3209, allocations: 5.708 MB / 477.6 MB, free: 83.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.146e-05/0.321, allocations: 55.12 kB / 477.7 MB, free: 83.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01639/0.3373, allocations: 2.071 MB / 479.8 MB, free: 82.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02836/0.3657, allocations: 3.285 MB / 483.1 MB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002655/0.3684, allocations: 1.158 MB / 484.2 MB, free: 78.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009699/0.3781, allocations: 5.359 MB / 489.6 MB, free: 73.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/0.3813, allocations: 204 kB / 489.8 MB, free: 72.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005534/0.3818, allocations: 277.9 kB / 490 MB, free: 72.55 MB / 378.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.001262/0.3831, allocations: 0.5727 MB / 490.6 MB, free: 71.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004222/0.3835, allocations: 329.9 kB / 490.9 MB, free: 71.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.386, allocations: 2.203 MB / 493.1 MB, free: 69.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001874/0.3879, allocations: 1.376 MB / 494.5 MB, free: 68.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3879, allocations: 4 kB / 494.5 MB, free: 68.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.3879, allocations: 7.969 kB / 494.5 MB, free: 68.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009229/0.3972, allocations: 6.306 MB / 0.4891 GB, free: 61.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.3972, allocations: 8 kB / 0.4891 GB, free: 61.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008417/0.398, allocations: 275.6 kB / 0.4894 GB, free: 61.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/0.399, allocations: 390.1 kB / 0.4897 GB, free: 60.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.3992, allocations: 51.78 kB / 0.4898 GB, free: 60.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.4012, allocations: 4.162 MB / 0.4939 GB, free: 56.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004499/0.4017, allocations: 1.876 MB / 0.4957 GB, free: 54.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.4051, allocations: 2.692 MB / 0.4983 GB, free: 51.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007809/0.4059, allocations: 270.1 kB / 0.4986 GB, free: 51.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.4061, allocations: 43.98 kB / 0.4986 GB, free: 51.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/0.4068, allocations: 35.98 kB / 0.4986 GB, free: 51.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.407, allocations: 152.8 kB / 0.4988 GB, free: 51.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-05/0.4071, allocations: 57.7 kB / 0.4989 GB, free: 51.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009161/0.408, allocations: 1.084 MB / 0.4999 GB, free: 49.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.408, allocations: 0 / 0.4999 GB, free: 49.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003318/0.4113, allocations: 1.258 MB / 0.5011 GB, free: 48.66 MB / 378.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.0004147/0.4117, allocations: 202.3 kB / 0.5013 GB, free: 48.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004373/0.4161, allocations: 3.192 MB / 0.5044 GB, free: 45.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.4161, allocations: 0 / 0.5044 GB, free: 45.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.4172, allocations: 1.151 MB / 0.5056 GB, free: 44.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.4185, allocations: 316.5 kB / 0.5059 GB, free: 43.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00888/0.4274, allocations: 7.819 MB / 0.5135 GB, free: 35.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009391/0.4284, allocations: 1.178 MB / 0.5147 GB, free: 34.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001146/0.4295, allocations: 411.7 kB / 0.5151 GB, free: 34.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007455/0.4302, allocations: 497.8 kB / 0.5155 GB, free: 33.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.643e-06/0.4302, allocations: 0 / 0.5155 GB, free: 33.64 MB / 378.7 MB Notification: Performance of Templates: time 0.06028/0.4905, allocations: 51.95 MB / 0.5663 GB, free: 13.65 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.354101792909205]