Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.001546/0.001546, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001494/0.001494, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.9658/0.9658, allocations: 177 MB / 204.8 MB, free: 5.59 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.2668/0.2668, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sphericalSpherical.frame_b.r_0.[0-9,]+.|sphericalSpherical.frame_b.f.[0-9,]+.|sphericalSpherical.frame_b.t.[0-9,]+.|Prismatic1.frame_b.r_0.[0-9,]+.|Prismatic1.frame_b.f.[0-9,]+.|Prismatic1.frame_b.t.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sphericalSpherical.frame_b.r_0.[0-9,]+.|sphericalSpherical.frame_b.f.[0-9,]+.|sphericalSpherical.frame_b.t.[0-9,]+.|Prismatic1.frame_b.r_0.[0-9,]+.|Prismatic1.frame_b.f.[0-9,]+.|Prismatic1.frame_b.t.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.763e-05, allocations: 7.094 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.006032/0.006059, allocations: 7.379 MB / 386.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.009568, allocations: 2.542 MB / 388.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000478/0.01005, allocations: 39.88 kB / 388.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.01141, allocations: 0.95 MB / 389.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005348/0.01194, allocations: 337.9 kB / 390 MB, free: 6.805 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.01252, allocations: 350.9 kB / 390.4 MB, free: 6.461 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008066/0.01332, allocations: 0.7473 MB / 391.1 MB, free: 5.711 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007371/0.01406, allocations: 0.6618 MB / 391.8 MB, free: 5.039 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.01452, allocations: 0.5143 MB / 392.3 MB, free: 4.523 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006234/0.01514, allocations: 0.6236 MB / 392.9 MB, free: 3.898 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.01527, allocations: 108 kB / 393 MB, free: 3.793 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.01578, allocations: 0.5069 MB / 393.5 MB, free: 3.285 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003525/0.01613, allocations: 0.5259 MB / 394 MB, free: 2.758 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.01643, allocations: 366.9 kB / 394.4 MB, free: 2.398 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.01754, allocations: 1.285 MB / 395.7 MB, free: 1.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01754, allocations: 0 / 395.7 MB, free: 1.109 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01754, allocations: 0 / 395.7 MB, free: 1.109 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.01756, allocations: 0 / 395.7 MB, free: 1.109 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.001915/0.01947, allocations: 1.712 MB / 397.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.01951, allocations: 16.03 kB / 397.4 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005061/0.02002, allocations: 251.9 kB / 397.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/0.02063, allocations: 0.5464 MB / 398.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.02067, allocations: 62.34 kB / 398.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.0208, allocations: 92.41 kB / 398.4 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.02302, allocations: 1.776 MB / 400.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.02305, allocations: 3.938 kB / 400.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.02311, allocations: 43.95 kB / 400.2 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002881/0.02339, allocations: 385.7 kB / 400.6 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.02545, allocations: 1.272 MB / 401.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004751/0.03021, allocations: 8.743 MB / 410.6 MB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.03198, allocations: 0.7463 MB / 411.3 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.03214, allocations: 123.6 kB / 411.4 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/0.03271, allocations: 0.577 MB / 412 MB, free: 196 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.03274, allocations: 45.42 kB / 412.1 MB, free: 140 kB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.883e-06/0.03274, allocations: 0 / 412.1 MB, free: 140 kB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.005593/0.03833, allocations: 2.546 MB / 414.6 MB, free: 13.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.03837, allocations: 59.91 kB / 414.7 MB, free: 13.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/0.03904, allocations: 0.7955 MB / 415.5 MB, free: 12.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.03906, allocations: 33.7 kB / 415.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.03945, allocations: 0.7551 MB / 416.3 MB, free: 11.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.03957, allocations: 226.2 kB / 416.5 MB, free: 11.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.03977, allocations: 260.4 kB / 416.7 MB, free: 11.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.03996, allocations: 0.582 MB / 417.3 MB, free: 10.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.04016, allocations: 138.5 kB / 417.4 MB, free: 10.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.04077, allocations: 1.072 MB / 418.5 MB, free: 9.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009628/0.04173, allocations: 1.333 MB / 419.8 MB, free: 7.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.04174, allocations: 8 kB / 419.9 MB, free: 7.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00103/0.04277, allocations: 1.013 MB / 420.9 MB, free: 6.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.04279, allocations: 16 kB / 420.9 MB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.04282, allocations: 28.84 kB / 420.9 MB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/0.04285, allocations: 28 kB / 420.9 MB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/0.04348, allocations: 319.5 kB / 421.3 MB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008242/0.04431, allocations: 1.84 MB / 423.1 MB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.0446, allocations: 55.94 kB / 423.1 MB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.04465, allocations: 72.12 kB / 423.2 MB, free: 3.941 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002329/0.04489, allocations: 267.9 kB / 423.5 MB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.347e-05/0.04497, allocations: 103.4 kB / 423.6 MB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.07e-05/0.04505, allocations: 91.53 kB / 423.7 MB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.04505, allocations: 8 kB / 423.7 MB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.04506, allocations: 0 / 423.7 MB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.04506, allocations: 3.984 kB / 423.7 MB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.04671, allocations: 1.622 MB / 425.3 MB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.04672, allocations: 12.8 kB / 425.3 MB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.04697, allocations: 127.8 kB / 425.4 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.04698, allocations: 8 kB / 425.4 MB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.047, allocations: 23.98 kB / 425.5 MB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006406/0.04764, allocations: 1.82 MB / 427.3 MB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.04765, allocations: 12.11 kB / 427.3 MB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.04817, allocations: 0.7539 MB / 428.1 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.04823, allocations: 79.41 kB / 428.1 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.04827, allocations: 16 kB / 428.1 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.04842, allocations: 23.98 kB / 428.2 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.04847, allocations: 51.81 kB / 428.2 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.04849, allocations: 20 kB / 428.2 MB, free: 14.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003017/0.04879, allocations: 423 kB / 428.7 MB, free: 14.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04879, allocations: 0 / 428.7 MB, free: 14.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005152/0.04931, allocations: 212 kB / 428.9 MB, free: 13.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001444/0.04945, allocations: 123 kB / 429 MB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006488/0.0501, allocations: 0.5886 MB / 429.6 MB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.0501, allocations: 0 / 429.6 MB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.05029, allocations: 186.1 kB / 429.8 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.05075, allocations: 105.1 kB / 429.9 MB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.05268, allocations: 1.94 MB / 431.8 MB, free: 10.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.0529, allocations: 303.4 kB / 432.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004014/0.0533, allocations: 286.7 kB / 432.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.05343, allocations: 68.48 kB / 432.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.05343, allocations: 0 / 432.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of Templates: time 0.01026/0.06369, allocations: 6.968 MB / 439.4 MB, free: 3.262 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.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: 3.5313104926608503]