Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009475/0.0009475, allocations: 82.59 kB / 21.43 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001694/0.001694, allocations: 170.1 kB / 24.83 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.028/1.028, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2603/0.2603, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 4 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.498e-05, allocations: 6.25 kB / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.009034/0.009059, allocations: 11.01 MB / 390.2 MB, free: 6.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007374/0.01643, allocations: 3.964 MB / 394.2 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.01784, allocations: 67.75 kB / 394.3 MB, free: 2.699 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.01983, allocations: 1.237 MB / 395.5 MB, free: 1.457 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002993/0.02283, allocations: 1.84 MB / 397.4 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.02395, allocations: 0.6077 MB / 398 MB, free: 15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003963/0.02791, allocations: 4.701 MB / 402.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.02972, allocations: 2.259 MB / 404.9 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002031/0.03175, allocations: 1.874 MB / 406.8 MB, free: 6.129 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.03366, allocations: 2.069 MB / 408.9 MB, free: 4.055 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003069/0.03396, allocations: 228 kB / 409.1 MB, free: 3.832 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.03581, allocations: 1.252 MB / 410.3 MB, free: 2.578 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.03689, allocations: 1.694 MB / 412 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008113/0.03771, allocations: 0.9769 MB / 413 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003776/0.04148, allocations: 4.187 MB / 417.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.04149, allocations: 0 / 417.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.04149, allocations: 0 / 417.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.024e-05/0.04156, allocations: 0 / 417.2 MB, free: 11.7 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.004716/0.04628, allocations: 4.414 MB / 421.6 MB, free: 7.215 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.04632, allocations: 15.97 kB / 421.6 MB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006419/0.05274, allocations: 2.328 MB / 424 MB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.05487, allocations: 1.655 MB / 425.6 MB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.365e-05/0.05496, allocations: 176.8 kB / 425.8 MB, free: 3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005268/0.05549, allocations: 308.5 kB / 426.1 MB, free: 2.699 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005835/0.06132, allocations: 4.988 MB / 431.1 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.448e-05/0.06138, allocations: 27.7 kB / 431.1 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002179/0.06159, allocations: 119.8 kB / 431.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00188/0.06347, allocations: 2.135 MB / 433.4 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004792/0.06827, allocations: 2.944 MB / 436.3 MB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.213/0.2813, allocations: 33.38 MB / 469.7 MB, free: 65.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/0.2853, allocations: 2.518 MB / 472.2 MB, free: 65.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.2858, allocations: 0.5394 MB / 472.7 MB, free: 65.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005446/0.2864, allocations: 0.5017 MB / 473.2 MB, free: 65.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.2864, allocations: 55.92 kB / 473.3 MB, free: 65.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 4.158e-06/0.2864, allocations: 0 / 473.3 MB, free: 65.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.01291/0.2993, allocations: 6.858 MB / 480.2 MB, free: 64.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005876/0.2999, allocations: 1.938 MB / 482.1 MB, free: 62.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.3019, allocations: 2.687 MB / 484.8 MB, free: 61.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.302, allocations: 63.16 kB / 484.8 MB, free: 61.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.3032, allocations: 2.932 MB / 487.8 MB, free: 60 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005722/0.3038, allocations: 0.9345 MB / 488.7 MB, free: 59.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.3051, allocations: 1.193 MB / 489.9 MB, free: 58.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.269e-05/0.3051, allocations: 476.8 kB / 490.4 MB, free: 58.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.3064, allocations: 0.7446 MB / 491.1 MB, free: 58.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002913/0.3094, allocations: 5.221 MB / 496.3 MB, free: 52.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0054/0.3148, allocations: 6.597 MB / 0.4911 GB, free: 45.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.679e-05/0.3148, allocations: 29.38 kB / 0.4912 GB, free: 45.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.03135/0.3462, allocations: 5.724 MB / 0.4968 GB, free: 43.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.3463, allocations: 56.81 kB / 0.4968 GB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01851/0.3649, allocations: 2.095 MB / 0.4989 GB, free: 43.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03005/0.3949, allocations: 3.365 MB / 0.5021 GB, free: 42.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/0.398, allocations: 1.145 MB / 0.5033 GB, free: 42.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009782/0.4078, allocations: 5.353 MB / 0.5085 GB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003137/0.4109, allocations: 208.4 kB / 0.5087 GB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000325/0.4112, allocations: 275.6 kB / 0.509 GB, free: 38.51 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.001279/0.4125, allocations: 0.5786 MB / 0.5095 GB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.4128, allocations: 328.6 kB / 0.5098 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/0.4159, allocations: 2.202 MB / 0.512 GB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002106/0.418, allocations: 1.377 MB / 0.5133 GB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/0.418, allocations: 10.33 kB / 0.5133 GB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.418, allocations: 6.938 kB / 0.5133 GB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007963/0.426, allocations: 6.291 MB / 0.5195 GB, free: 31.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.426, allocations: 8 kB / 0.5195 GB, free: 31.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008108/0.4268, allocations: 282.5 kB / 0.5198 GB, free: 31.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.4278, allocations: 383.9 kB / 0.5201 GB, free: 31.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.428, allocations: 48.5 kB / 0.5202 GB, free: 31.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.4302, allocations: 4.153 MB / 0.5242 GB, free: 26.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005021/0.4307, allocations: 1.884 MB / 0.5261 GB, free: 24.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/0.4339, allocations: 2.685 MB / 0.5287 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/0.4343, allocations: 268.8 kB / 0.529 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.4345, allocations: 39.84 kB / 0.529 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.4351, allocations: 38.3 kB / 0.529 GB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.4353, allocations: 150.2 kB / 0.5292 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.016e-05/0.4354, allocations: 59.17 kB / 0.5292 GB, free: 21.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008798/0.4363, allocations: 1.065 MB / 0.5303 GB, free: 21.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4363, allocations: 0 / 0.5303 GB, free: 21.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003781/0.4401, allocations: 1.226 MB / 0.5315 GB, free: 19.83 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.0004556/0.4405, allocations: 198.3 kB / 0.5317 GB, free: 19.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004367/0.4449, allocations: 3.199 MB / 0.5348 GB, free: 16.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4449, allocations: 0 / 0.5348 GB, free: 16.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.4459, allocations: 1.15 MB / 0.5359 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.4469, allocations: 329.6 kB / 0.5362 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007822/0.4547, allocations: 7.798 MB / 0.5438 GB, free: 7.066 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008283/0.4555, allocations: 1.17 MB / 0.545 GB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009561/0.4565, allocations: 420.3 kB / 0.5454 GB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007012/0.4572, allocations: 490.1 kB / 0.5458 GB, free: 4.988 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/0.4572, allocations: 4 kB / 0.5458 GB, free: 4.984 MB / 410.7 MB Notification: Performance of Templates: time 0.06089/0.5181, allocations: 51.62 MB / 0.5963 GB, free: 1.5 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.289852560032159]