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.001181/0.001181, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001153/0.001153, allocations: 166.2 kB / 24.99 MB, free: 8.219 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.009/1.009, allocations: 177 MB / 205.2 MB, free: 5.52 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.271/0.271, allocations: 34.85 MB / 296.6 MB, free: 0.5273 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.483e-06/1.483e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.322e-05, allocations: 2.312 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.006362/0.006385, allocations: 7.354 MB / 386.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00447/0.01086, allocations: 2.535 MB / 388.6 MB, free: 8.465 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000995/0.01185, allocations: 35.88 kB / 388.7 MB, free: 8.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.01326, allocations: 0.9538 MB / 389.6 MB, free: 7.473 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007435/0.01401, allocations: 333.9 kB / 390 MB, free: 7.145 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000695/0.0147, allocations: 347 kB / 390.3 MB, free: 6.805 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007807/0.01548, allocations: 0.7473 MB / 391 MB, free: 6.055 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007093/0.01619, allocations: 0.6657 MB / 391.7 MB, free: 5.379 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005255/0.01672, allocations: 0.5143 MB / 392.2 MB, free: 4.863 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008215/0.01754, allocations: 0.6236 MB / 392.8 MB, free: 4.238 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.01771, allocations: 108 kB / 393 MB, free: 4.133 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006682/0.01838, allocations: 0.5069 MB / 393.5 MB, free: 3.625 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.01877, allocations: 0.5259 MB / 394 MB, free: 3.098 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.01909, allocations: 366.9 kB / 394.3 MB, free: 2.738 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.02035, allocations: 1.289 MB / 395.6 MB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.02035, allocations: 4 kB / 395.6 MB, free: 1.441 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.02035, allocations: 0 / 395.6 MB, free: 1.441 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.613e-05/0.02038, allocations: 3.938 kB / 395.6 MB, free: 1.438 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.002105/0.02249, allocations: 1.705 MB / 397.3 MB, free: 15.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.02253, allocations: 12.03 kB / 397.4 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000617/0.02314, allocations: 251.9 kB / 397.6 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.02379, allocations: 0.5503 MB / 398.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.02383, allocations: 58.34 kB / 398.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.02397, allocations: 92.41 kB / 398.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.02635, allocations: 1.776 MB / 400.1 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.02638, allocations: 7.938 kB / 400.1 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.075e-05/0.02644, allocations: 35.97 kB / 400.1 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003144/0.02675, allocations: 385.7 kB / 400.5 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.02895, allocations: 1.272 MB / 401.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/0.03403, allocations: 8.743 MB / 410.5 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.03618, allocations: 0.7502 MB / 411.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.03634, allocations: 123.6 kB / 411.4 MB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005721/0.03691, allocations: 0.577 MB / 412 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.03694, allocations: 45.42 kB / 412 MB, free: 488 kB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.305e-06/0.03694, allocations: 0 / 412 MB, free: 488 kB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.005955/0.0429, allocations: 2.542 MB / 414.5 MB, free: 13.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.04293, allocations: 59.91 kB / 414.6 MB, free: 13.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.04355, allocations: 0.7955 MB / 415.4 MB, free: 13.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.04357, allocations: 33.7 kB / 415.4 MB, free: 13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.04389, allocations: 0.7551 MB / 416.2 MB, free: 12.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.04401, allocations: 222.2 kB / 416.4 MB, free: 12.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.04421, allocations: 264.4 kB / 416.7 MB, free: 11.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.04439, allocations: 0.5782 MB / 417.2 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.0446, allocations: 142.5 kB / 417.4 MB, free: 11.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008192/0.04541, allocations: 1.076 MB / 418.5 MB, free: 9.527 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008962/0.04631, allocations: 1.329 MB / 419.8 MB, free: 7.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.04632, allocations: 8 kB / 419.8 MB, free: 7.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001024/0.04734, allocations: 1.013 MB / 420.8 MB, free: 6.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.04737, allocations: 19.98 kB / 420.8 MB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.04738, allocations: 24 kB / 420.8 MB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/0.04742, allocations: 28 kB / 420.9 MB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.04806, allocations: 312.1 kB / 421.2 MB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007806/0.04884, allocations: 1.852 MB / 423 MB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.04919, allocations: 55.94 kB / 423.1 MB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.04924, allocations: 64 kB / 423.2 MB, free: 4.289 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.0002417/0.04949, allocations: 272.1 kB / 423.4 MB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.221e-05/0.04957, allocations: 103.4 kB / 423.5 MB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.003e-05/0.04966, allocations: 95.52 kB / 423.6 MB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.04966, allocations: 8 kB / 423.6 MB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.04967, allocations: 0 / 423.6 MB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.04967, allocations: 3.984 kB / 423.6 MB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.05162, allocations: 1.626 MB / 425.2 MB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.05163, allocations: 4 kB / 425.3 MB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.05189, allocations: 124.6 kB / 425.4 MB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.05189, allocations: 12 kB / 425.4 MB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.05192, allocations: 20 kB / 425.4 MB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006163/0.05253, allocations: 1.831 MB / 427.2 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.05254, allocations: 8 kB / 427.2 MB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.05305, allocations: 0.7579 MB / 428 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.05311, allocations: 75.47 kB / 428.1 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.05315, allocations: 12 kB / 428.1 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.05331, allocations: 23.98 kB / 428.1 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.05337, allocations: 51.81 kB / 428.2 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.05339, allocations: 20 kB / 428.2 MB, free: 14.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003076/0.05369, allocations: 423 kB / 428.6 MB, free: 14.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.05369, allocations: 0 / 428.6 MB, free: 14.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005724/0.05427, allocations: 212 kB / 428.8 MB, free: 14.21 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.0001424/0.05441, allocations: 130.9 kB / 428.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006796/0.05509, allocations: 0.5835 MB / 429.5 MB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.05509, allocations: 0 / 429.5 MB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.05528, allocations: 188 kB / 429.7 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.05574, allocations: 105.9 kB / 429.8 MB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.05795, allocations: 1.936 MB / 431.7 MB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.05816, allocations: 307.4 kB / 432 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004301/0.05859, allocations: 286.7 kB / 432.3 MB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.05871, allocations: 60.5 kB / 432.4 MB, free: 10.46 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.05871, allocations: 0 / 432.4 MB, free: 10.46 MB / 410.7 MB Notification: Performance of Templates: time 0.01012/0.06883, allocations: 6.97 MB / 439.3 MB, free: 3.605 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.5020451229065657]