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.001577/0.001577, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001976/0.001976, allocations: 169.3 kB / 24.14 MB, free: 364 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.9414/0.9414, allocations: 158.6 MB / 186 MB, free: 2.754 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.1297/0.1297, allocations: 32.39 MB / 270.7 MB, free: 14.6 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.003e-06/2.003e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.886e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.1318/0.1318, allocations: 11.12 MB / 310.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00711/0.1389, allocations: 4.097 MB / 314.3 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.1405, allocations: 68 kB / 314.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.1422, allocations: 1.24 MB / 315.6 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.1455, allocations: 1.847 MB / 317.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.1467, allocations: 0.5983 MB / 318.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003801/0.1505, allocations: 4.573 MB / 322.7 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002352/0.1528, allocations: 2.112 MB / 324.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.1551, allocations: 1.828 MB / 326.6 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.1571, allocations: 1.976 MB / 328.6 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005425/0.1576, allocations: 224 kB / 328.8 MB, free: 440 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.1595, allocations: 1.299 MB / 330.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.1608, allocations: 1.714 MB / 331.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.1623, allocations: 1 MB / 332.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.1672, allocations: 4.265 MB / 337.1 MB, free: 8.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1672, allocations: 0 / 337.1 MB, free: 8.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1672, allocations: 0 / 337.1 MB, free: 8.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001938/0.1674, allocations: 0 / 337.1 MB, free: 8.125 MB / 298.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.005226/0.1726, allocations: 3.84 MB / 340.9 MB, free: 4.234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1727, allocations: 8.031 kB / 340.9 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00478/0.1775, allocations: 1.507 MB / 342.4 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.1797, allocations: 1.55 MB / 344 MB, free: 1.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.767e-05/0.1798, allocations: 177.9 kB / 344.1 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004935/0.1803, allocations: 312.6 kB / 344.5 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005367/0.1857, allocations: 4.542 MB / 349 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.675e-05/0.1857, allocations: 19.81 kB / 349 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/0.186, allocations: 115.8 kB / 349.1 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001707/0.1877, allocations: 2.147 MB / 351.3 MB, free: 9.363 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004582/0.1922, allocations: 2.835 MB / 354.1 MB, free: 6.543 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02339/0.2156, allocations: 25.27 MB / 379.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.2197, allocations: 2.285 MB / 381.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006139/0.2204, allocations: 446.7 kB / 382.1 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005343/0.2209, allocations: 0.505 MB / 382.6 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2209, allocations: 52.56 kB / 382.7 MB, free: 9.148 MB / 346.7 MB Notification: Performance of pre-optimization done (n=224): time 4.508e-06/0.2209, allocations: 0 / 382.7 MB, free: 9.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=231): time 0.01254/0.2335, allocations: 5.633 MB / 388.3 MB, free: 3.469 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008381/0.2343, allocations: 1.404 MB / 389.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/0.2369, allocations: 2.401 MB / 392.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003266/0.2372, allocations: 57.69 kB / 392.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.2383, allocations: 2.664 MB / 394.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007078/0.239, allocations: 0.8758 MB / 395.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009368/0.24, allocations: 1.01 MB / 396.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.24, allocations: 304.9 kB / 397 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.2414, allocations: 0.8856 MB / 397.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/0.2441, allocations: 3.742 MB / 401.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004739/0.2488, allocations: 5.193 MB / 406.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.472e-05/0.2489, allocations: 31.94 kB / 406.8 MB, free: 13.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02229/0.2712, allocations: 5.009 MB / 411.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.335e-05/0.2713, allocations: 52 kB / 411.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01487/0.2861, allocations: 1.877 MB / 413.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02879/0.3149, allocations: 3.278 MB / 417.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/0.3181, allocations: 1.224 MB / 418.3 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009892/0.328, allocations: 4.226 MB / 422.5 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/0.3307, allocations: 204 kB / 422.7 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004143/0.3311, allocations: 276 kB / 423 MB, free: 13.38 MB / 394.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.001348/0.3325, allocations: 0.5278 MB / 423.5 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003707/0.3329, allocations: 195.8 kB / 423.7 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/0.3357, allocations: 1.872 MB / 425.6 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001864/0.3376, allocations: 1.103 MB / 426.7 MB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.3376, allocations: 4 kB / 426.7 MB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.3376, allocations: 19.89 kB / 426.7 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00858/0.3462, allocations: 5.36 MB / 432.1 MB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.3462, allocations: 11.98 kB / 432.1 MB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.3472, allocations: 311.6 kB / 432.4 MB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/0.3486, allocations: 0.5098 MB / 432.9 MB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.3487, allocations: 47.97 kB / 432.9 MB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.3512, allocations: 3.016 MB / 435.9 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005545/0.3518, allocations: 1.347 MB / 437.3 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/0.3551, allocations: 2.309 MB / 439.6 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/0.3556, allocations: 262.1 kB / 439.9 MB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.3559, allocations: 40 kB / 439.9 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.3565, allocations: 43.91 kB / 439.9 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.3567, allocations: 144.9 kB / 440.1 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.85e-05/0.3568, allocations: 55.97 kB / 440.1 MB, free: 11.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008711/0.3577, allocations: 0.851 MB / 441 MB, free: 10.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3577, allocations: 0 / 441 MB, free: 10.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003176/0.3609, allocations: 1.254 MB / 442.2 MB, free: 9.328 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.0004258/0.3613, allocations: 191.8 kB / 442.4 MB, free: 9.133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004819/0.3661, allocations: 2.842 MB / 445.3 MB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001352/0.3663, allocations: 60.31 kB / 445.3 MB, free: 6.207 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.3677, allocations: 0.915 MB / 446.2 MB, free: 5.258 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.3698, allocations: 0.5692 MB / 446.8 MB, free: 4.684 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009705/0.3795, allocations: 7.638 MB / 454.5 MB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.3805, allocations: 1.155 MB / 455.6 MB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001247/0.3817, allocations: 410.2 kB / 456 MB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008366/0.3826, allocations: 457.2 kB / 456.5 MB, free: 10.83 MB / 426.7 MB Notification: Performance of SimCode: time 1.873e-06/0.3826, allocations: 0 / 456.5 MB, free: 10.83 MB / 426.7 MB Notification: Performance of Templates: time 0.2047/0.5872, allocations: 51.53 MB / 0.4961 GB, free: 114.1 MB / 426.7 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -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.322665387298912]