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.0009574/0.0009574, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.0009122/0.0009122, allocations: 169.2 kB / 24.84 MB, free: 9.297 MB / 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.929/0.929, allocations: 158.6 MB / 186.7 MB, free: 2.77 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.1603/0.1603, allocations: 32.37 MB / 271.5 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 3.336e-06/3.336e-06, allocations: 0 / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.294e-05, allocations: 2.312 kB / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01123/0.01127, allocations: 11.08 MB / 360 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00981/0.02108, allocations: 3.941 MB / 363.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.02426, allocations: 67.75 kB / 364 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003489/0.02775, allocations: 1.241 MB / 365.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.03198, allocations: 1.871 MB / 367.1 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.0332, allocations: 0.6155 MB / 367.7 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003961/0.03717, allocations: 4.573 MB / 372.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.03905, allocations: 2.267 MB / 374.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.04079, allocations: 1.878 MB / 376.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.04263, allocations: 2.093 MB / 378.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003057/0.04293, allocations: 228 kB / 378.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.04445, allocations: 1.259 MB / 380 MB, free: 9.941 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.04549, allocations: 1.722 MB / 381.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008779/0.04637, allocations: 1.004 MB / 382.7 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.04969, allocations: 4.261 MB / 387 MB, free: 2.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.04969, allocations: 0 / 387 MB, free: 2.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.0497, allocations: 4 kB / 387 MB, free: 2.926 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.544e-05/0.04978, allocations: 0 / 387 MB, free: 2.926 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.004735/0.05452, allocations: 4.457 MB / 391.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.05455, allocations: 8.031 kB / 391.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006353/0.0609, allocations: 2.156 MB / 393.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.06275, allocations: 1.683 MB / 395.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.701e-05/0.06285, allocations: 176.8 kB / 395.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004669/0.06332, allocations: 304.5 kB / 395.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005838/0.06916, allocations: 4.992 MB / 400.8 MB, free: 4.434 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.096e-05/0.06922, allocations: 23.8 kB / 400.8 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/0.06945, allocations: 111.8 kB / 400.9 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001966/0.07141, allocations: 2.147 MB / 403.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005291/0.07671, allocations: 2.94 MB / 406 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02389/0.1006, allocations: 33.41 MB / 439.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004644/0.1052, allocations: 2.505 MB / 441.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006513/0.1059, allocations: 0.5403 MB / 442.5 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/0.1065, allocations: 0.5089 MB / 443 MB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1065, allocations: 55.39 kB / 443 MB, free: 9.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 3.326e-06/0.1065, allocations: 0 / 443 MB, free: 9.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.01373/0.1203, allocations: 6.871 MB / 449.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008455/0.1211, allocations: 1.928 MB / 451.8 MB, free: 168 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1431/0.2642, allocations: 2.694 MB / 454.5 MB, free: 99.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005502/0.2648, allocations: 56.02 kB / 454.6 MB, free: 99.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001361/0.2662, allocations: 2.949 MB / 457.5 MB, free: 97.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007625/0.2669, allocations: 0.9388 MB / 458.5 MB, free: 97.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/0.2682, allocations: 1.19 MB / 459.6 MB, free: 97.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.566e-05/0.2683, allocations: 479.6 kB / 460.1 MB, free: 96.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.2697, allocations: 0.7471 MB / 460.9 MB, free: 96.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/0.2723, allocations: 5.225 MB / 466.1 MB, free: 91.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003927/0.2762, allocations: 6.593 MB / 472.7 MB, free: 85.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.591e-05/0.2762, allocations: 30.84 kB / 472.7 MB, free: 85.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.0234/0.2996, allocations: 5.711 MB / 478.4 MB, free: 83.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.2997, allocations: 50.34 kB / 478.5 MB, free: 83.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0163/0.316, allocations: 2.082 MB / 480.5 MB, free: 82.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03173/0.3477, allocations: 3.291 MB / 483.8 MB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/0.3503, allocations: 1.154 MB / 485 MB, free: 78.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009538/0.3599, allocations: 5.349 MB / 490.3 MB, free: 73.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/0.3626, allocations: 204 kB / 490.5 MB, free: 72.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/0.3628, allocations: 276 kB / 490.8 MB, free: 72.58 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.000986/0.3638, allocations: 0.5785 MB / 491.4 MB, free: 72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.3641, allocations: 326.2 kB / 491.7 MB, free: 71.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.3666, allocations: 2.202 MB / 493.9 MB, free: 69.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001905/0.3685, allocations: 1.376 MB / 495.3 MB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3685, allocations: 4 kB / 495.3 MB, free: 68.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.3685, allocations: 11.95 kB / 495.3 MB, free: 68.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006925/0.3755, allocations: 6.316 MB / 0.4899 GB, free: 61.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.3755, allocations: 8 kB / 0.4899 GB, free: 61.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008198/0.3763, allocations: 271.6 kB / 0.4901 GB, free: 61.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.3773, allocations: 390.3 kB / 0.4905 GB, free: 60.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.673e-05/0.3774, allocations: 47.98 kB / 0.4905 GB, free: 60.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.3793, allocations: 4.16 MB / 0.4946 GB, free: 56.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004362/0.3798, allocations: 1.873 MB / 0.4964 GB, free: 54.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/0.3828, allocations: 2.693 MB / 0.4991 GB, free: 51.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.3831, allocations: 266.1 kB / 0.4993 GB, free: 51.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.3833, allocations: 47.98 kB / 0.4994 GB, free: 51.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/0.3839, allocations: 36 kB / 0.4994 GB, free: 51.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.3841, allocations: 152.8 kB / 0.4995 GB, free: 51.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.912e-05/0.3842, allocations: 59.97 kB / 0.4996 GB, free: 51.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007196/0.385, allocations: 1.072 MB / 0.5006 GB, free: 49.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.385, allocations: 0 / 0.5006 GB, free: 49.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003073/0.388, allocations: 1.262 MB / 0.5019 GB, free: 48.7 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.0003771/0.3884, allocations: 207.7 kB / 0.5021 GB, free: 48.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003931/0.3923, allocations: 3.188 MB / 0.5052 GB, free: 45.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3923, allocations: 4 kB / 0.5052 GB, free: 45.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.3934, allocations: 1.144 MB / 0.5063 GB, free: 44.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3944, allocations: 321.5 kB / 0.5066 GB, free: 43.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007987/0.4024, allocations: 7.824 MB / 0.5143 GB, free: 35.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008399/0.4032, allocations: 1.174 MB / 0.5154 GB, free: 34.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009642/0.4042, allocations: 412.6 kB / 0.5158 GB, free: 34.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007246/0.4049, allocations: 490.1 kB / 0.5163 GB, free: 33.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4049, allocations: 0 / 0.5163 GB, free: 33.68 MB / 378.7 MB Notification: Performance of Templates: time 0.05506/0.46, allocations: 53.07 MB / 0.5681 GB, free: 12.54 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.563599227927625]