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.001815/0.001815, 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.001239/0.001239, 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 1.148/1.148, allocations: 177.2 MB / 205 MB, free: 5.297 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.2704/0.2704, allocations: 32.8 MB / 294.3 MB, free: 1.168 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.265e-06/2.265e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.34e-05, allocations: 9.344 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.009991/0.01002, allocations: 11.31 MB / 387.4 MB, free: 9.273 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007207/0.01723, allocations: 3.991 MB / 391.3 MB, free: 5.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.01901, allocations: 67.75 kB / 391.4 MB, free: 5.203 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.02111, allocations: 1.253 MB / 392.7 MB, free: 3.945 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003945/0.02506, allocations: 1.836 MB / 394.5 MB, free: 2.102 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.02626, allocations: 0.6155 MB / 395.1 MB, free: 1.484 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004956/0.03122, allocations: 4.709 MB / 399.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003866/0.03508, allocations: 2.251 MB / 402.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003693/0.03877, allocations: 1.867 MB / 403.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003087/0.04186, allocations: 2.069 MB / 406 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008482/0.04271, allocations: 224 kB / 406.2 MB, free: 6.328 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.04524, allocations: 1.256 MB / 407.5 MB, free: 5.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.04671, allocations: 1.694 MB / 409.2 MB, free: 3.371 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.0483, allocations: 0.9808 MB / 410.2 MB, free: 2.387 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005456/0.05375, allocations: 4.187 MB / 414.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.05376, allocations: 0 / 414.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.05376, allocations: 0 / 414.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003051/0.05407, allocations: 0 / 414.3 MB, free: 14.18 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.00783/0.0619, allocations: 4.622 MB / 419 MB, free: 9.496 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.06195, allocations: 8.031 kB / 419 MB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/0.07439, allocations: 6.71 MB / 425.7 MB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003989/0.07838, allocations: 1.874 MB / 427.6 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.07851, allocations: 184.8 kB / 427.7 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008414/0.07935, allocations: 308.4 kB / 428 MB, free: 380 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00974/0.08909, allocations: 5.715 MB / 433.8 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.433e-05/0.08918, allocations: 31.7 kB / 433.8 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/0.08948, allocations: 115.8 kB / 433.9 MB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002655/0.09214, allocations: 2.455 MB / 436.4 MB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.1022, allocations: 3.822 MB / 440.2 MB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2051/0.3073, allocations: 35.28 MB / 475.5 MB, free: 67.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005814/0.3131, allocations: 2.922 MB / 478.4 MB, free: 66.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.3145, allocations: 0.6555 MB / 479 MB, free: 66.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006717/0.3152, allocations: 0.5107 MB / 479.5 MB, free: 66.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.3152, allocations: 56.55 kB / 479.6 MB, free: 66.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 6.592e-06/0.3152, allocations: 0 / 479.6 MB, free: 66.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.01913/0.3343, allocations: 8.852 MB / 488.5 MB, free: 64.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009151/0.3352, allocations: 1.971 MB / 490.4 MB, free: 62.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003349/0.3386, allocations: 2.693 MB / 493.1 MB, free: 61.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005184/0.3391, allocations: 52.58 kB / 493.2 MB, free: 61.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.3406, allocations: 2.917 MB / 496.1 MB, free: 59.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.3416, allocations: 0.917 MB / 497 MB, free: 58.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001453/0.3431, allocations: 1.178 MB / 498.2 MB, free: 58.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.3431, allocations: 477.8 kB / 498.6 MB, free: 57.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.3447, allocations: 0.8281 MB / 499.5 MB, free: 57.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003291/0.348, allocations: 5.288 MB / 0.4929 GB, free: 51.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005944/0.354, allocations: 6.757 MB / 0.4995 GB, free: 45.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000199/0.3541, allocations: 30.41 kB / 0.4996 GB, free: 45.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.04976/0.4039, allocations: 28.96 MB / 0.5278 GB, free: 26.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.987e-05/0.404, allocations: 52 kB / 0.5279 GB, free: 26.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0322/0.4362, allocations: 20.17 MB / 0.5476 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05747/0.4936, allocations: 29.22 MB / 0.5761 GB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/0.4974, allocations: 1.318 MB / 0.5774 GB, free: 7.652 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01662/0.514, allocations: 10.02 MB / 0.5872 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/0.5184, allocations: 0.5501 MB / 0.5877 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/0.5194, allocations: 327.8 kB / 0.588 GB, free: 12.54 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.001863/0.5213, allocations: 0.5708 MB / 0.5886 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006861/0.5219, allocations: 336.9 kB / 0.5889 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004241/0.5262, allocations: 2.626 MB / 0.5915 GB, free: 8.961 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002979/0.5292, allocations: 1.829 MB / 0.5933 GB, free: 7.113 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5292, allocations: 4 kB / 0.5933 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.5292, allocations: 7.969 kB / 0.5933 GB, free: 7.102 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2132/0.7424, allocations: 7.886 MB / 0.601 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/0.7424, allocations: 11.16 kB / 0.601 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/0.7438, allocations: 454.6 kB / 0.6014 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.7453, allocations: 0.6091 MB / 0.602 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003804/0.7456, allocations: 53.38 kB / 0.6021 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/0.7486, allocations: 4.4 MB / 0.6064 GB, free: 126.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006639/0.7492, allocations: 1.916 MB / 0.6082 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005494/0.7547, allocations: 3.225 MB / 0.6114 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/0.756, allocations: 275.1 kB / 0.6116 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005647/0.7566, allocations: 46.02 kB / 0.6117 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.7576, allocations: 243 kB / 0.6119 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/0.758, allocations: 149.5 kB / 0.6121 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.7581, allocations: 68.83 kB / 0.6121 GB, free: 123.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001503/0.7596, allocations: 1.15 MB / 0.6133 GB, free: 123.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 3e-07/0.7596, allocations: 0 / 0.6133 GB, free: 123.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004991/0.7646, allocations: 1.225 MB / 0.6144 GB, free: 123.5 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.0005777/0.7652, allocations: 195.8 kB / 0.6146 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007088/0.7723, allocations: 4.04 MB / 0.6186 GB, free: 122.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.7723, allocations: 0 / 0.6186 GB, free: 122.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001882/0.7742, allocations: 1.315 MB / 0.6199 GB, free: 122.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.7761, allocations: 324.8 kB / 0.6202 GB, free: 122.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.7883, allocations: 7.877 MB / 0.6279 GB, free: 119.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.7896, allocations: 1.172 MB / 0.629 GB, free: 119 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002928/0.7925, allocations: 1.675 MB / 0.6306 GB, free: 118.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007171/0.7932, allocations: 212.1 kB / 0.6308 GB, free: 118.9 MB / 458.7 MB Notification: Performance of SimCode: time 3.887e-06/0.7932, allocations: 0 / 0.6308 GB, free: 118.9 MB / 458.7 MB Notification: Performance of Templates: time 0.06131/0.8545, allocations: 50.05 MB / 0.6797 GB, free: 86.41 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: 5.037194983102381]