Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.0009553/0.0009553, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001068/0.001068, allocations: 173 kB / 24.06 MB, free: 452 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.89/0.89, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1549/0.1549, allocations: 32.38 MB / 270.7 MB, free: 14.54 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.654e-05, allocations: 6.25 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.004897/0.004914, allocations: 7.247 MB / 355.4 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.008432, allocations: 2.469 MB / 357.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/0.008787, allocations: 35.88 kB / 357.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.009933, allocations: 0.9265 MB / 358.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004585/0.01039, allocations: 341.8 kB / 359.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.01083, allocations: 359 kB / 359.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005437/0.01137, allocations: 0.7664 MB / 360.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005368/0.01191, allocations: 0.6852 MB / 360.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008149/0.01272, allocations: 0.5571 MB / 361.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/0.01324, allocations: 0.5884 MB / 362.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.01334, allocations: 100 kB / 362.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004627/0.01381, allocations: 0.503 MB / 362.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.01412, allocations: 0.5142 MB / 363.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.01435, allocations: 362.9 kB / 363.6 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009767/0.01533, allocations: 1.277 MB / 364.8 MB, free: 8.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01533, allocations: 3.984 kB / 364.8 MB, free: 8.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01533, allocations: 0 / 364.8 MB, free: 8.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.01534, allocations: 4 kB / 364.8 MB, free: 8.379 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.001509/0.01685, allocations: 1.541 MB / 366.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.01689, allocations: 11.97 kB / 366.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/0.01733, allocations: 235.9 kB / 366.6 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.01784, allocations: 0.5157 MB / 367.1 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.01787, allocations: 54.34 kB / 367.2 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.01799, allocations: 80.53 kB / 367.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.02018, allocations: 1.507 MB / 368.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.02021, allocations: 7.938 kB / 368.8 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.02026, allocations: 35.97 kB / 368.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002781/0.02054, allocations: 389.7 kB / 369.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.02199, allocations: 0.9185 MB / 370.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005219/0.02721, allocations: 8.761 MB / 378.9 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.02976, allocations: 0.7235 MB / 379.6 MB, free: 9.027 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.02998, allocations: 111.6 kB / 379.7 MB, free: 8.914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009961/0.03098, allocations: 0.5732 MB / 380.3 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.03101, allocations: 37.39 kB / 380.3 MB, free: 8.293 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 3.777e-06/0.03102, allocations: 4 kB / 380.3 MB, free: 8.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.006081/0.0371, allocations: 2.343 MB / 382.7 MB, free: 5.938 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.03713, allocations: 59.84 kB / 382.7 MB, free: 5.867 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.03774, allocations: 0.8222 MB / 383.6 MB, free: 5.031 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.03776, allocations: 33.7 kB / 383.6 MB, free: 4.992 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.03813, allocations: 0.7705 MB / 384.4 MB, free: 4.211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.03828, allocations: 238.1 kB / 384.6 MB, free: 3.977 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.0385, allocations: 284.2 kB / 384.9 MB, free: 3.691 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.03869, allocations: 0.5897 MB / 385.5 MB, free: 3.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.03882, allocations: 110.5 kB / 385.6 MB, free: 2.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007842/0.0396, allocations: 1.109 MB / 386.7 MB, free: 1.418 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009544/0.04056, allocations: 1.362 MB / 388 MB, free: 15.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.04057, allocations: 8 kB / 388 MB, free: 15.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.0009482/0.04152, allocations: 0.9859 MB / 389 MB, free: 14.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.04154, allocations: 16 kB / 389 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.04156, allocations: 24 kB / 389.1 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.04159, allocations: 32 kB / 389.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008142/0.0424, allocations: 315.5 kB / 389.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.04345, allocations: 1.829 MB / 391.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/0.04384, allocations: 51.95 kB / 391.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.04389, allocations: 60 kB / 391.4 MB, free: 12.18 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (164): * Single equations (assignments): 163 * 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.0002911/0.04418, allocations: 280 kB / 391.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.04427, allocations: 103.4 kB / 391.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.613e-05/0.04436, allocations: 103.8 kB / 391.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000156/0.04451, allocations: 8 kB / 391.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.04452, allocations: 0 / 391.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.04452, allocations: 0 / 391.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.04609, allocations: 1.38 MB / 393.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.0461, allocations: 12 kB / 393.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.04634, allocations: 119.8 kB / 393.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.04635, allocations: 8 kB / 393.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.04637, allocations: 20.56 kB / 393.4 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007986/0.04717, allocations: 1.812 MB / 395.2 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.04718, allocations: 7.938 kB / 395.2 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009098/0.04809, allocations: 0.7301 MB / 395.9 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.04822, allocations: 103.4 kB / 396 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.04827, allocations: 23.94 kB / 396 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.04841, allocations: 16 kB / 396.1 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.04846, allocations: 59.73 kB / 396.1 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.04848, allocations: 16 kB / 396.1 MB, free: 6.984 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002605/0.04874, allocations: 406.8 kB / 396.5 MB, free: 6.594 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04874, allocations: 0 / 396.5 MB, free: 6.594 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006633/0.0494, allocations: 220 kB / 396.7 MB, free: 6.379 MB / 330.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.0001629/0.04957, allocations: 123 kB / 396.9 MB, free: 6.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006157/0.05018, allocations: 0.5568 MB / 397.4 MB, free: 5.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.05019, allocations: 0 / 397.4 MB, free: 5.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.05034, allocations: 171.3 kB / 397.6 MB, free: 5.523 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.05084, allocations: 121.4 kB / 397.7 MB, free: 5.406 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.05299, allocations: 1.939 MB / 399.6 MB, free: 3.316 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.05321, allocations: 307.5 kB / 399.9 MB, free: 2.992 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002607/0.05347, allocations: 119.3 kB / 400.1 MB, free: 2.871 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.0537, allocations: 202.2 kB / 400.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of SimCode: time 1.433e-06/0.0537, allocations: 0 / 400.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of Templates: time 0.01249/0.06619, allocations: 7.588 MB / 407.9 MB, free: 11.15 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.1510831839405]