Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009745/0.0009745, 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.001122/0.001122, allocations: 165.4 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.016/1.016, allocations: 177.2 MB / 205 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2535/0.2535, allocations: 34.26 MB / 295.7 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.669e-05, allocations: 6.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.006167/0.006193, allocations: 7.377 MB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003802/0.009995, allocations: 2.538 MB / 388 MB, free: 8.703 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005165/0.01051, allocations: 35.88 kB / 388 MB, free: 8.668 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.01185, allocations: 0.9577 MB / 389 MB, free: 7.707 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005894/0.01244, allocations: 333.9 kB / 389.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.01304, allocations: 359 kB / 389.6 MB, free: 7.027 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007271/0.01377, allocations: 0.7425 MB / 390.4 MB, free: 6.285 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006172/0.01438, allocations: 0.6774 MB / 391.1 MB, free: 5.598 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.01493, allocations: 0.5455 MB / 391.6 MB, free: 5.051 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006137/0.01554, allocations: 0.5923 MB / 392.2 MB, free: 4.457 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.01568, allocations: 104 kB / 392.3 MB, free: 4.355 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006088/0.01629, allocations: 0.4952 MB / 392.8 MB, free: 3.859 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.01668, allocations: 0.5142 MB / 393.3 MB, free: 3.344 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.01696, allocations: 362.9 kB / 393.7 MB, free: 2.988 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.01822, allocations: 1.265 MB / 394.9 MB, free: 1.719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.01822, allocations: 4 kB / 394.9 MB, free: 1.715 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01822, allocations: 0 / 394.9 MB, free: 1.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.153e-05/0.01826, allocations: 7.875 kB / 394.9 MB, free: 1.707 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.002322/0.02058, allocations: 1.681 MB / 396.6 MB, free: 15.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.02063, allocations: 8.031 kB / 396.6 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006638/0.02129, allocations: 251.9 kB / 396.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000657/0.02195, allocations: 0.5431 MB / 397.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.02199, allocations: 54.34 kB / 397.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.02213, allocations: 88.47 kB / 397.6 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.02468, allocations: 1.78 MB / 399.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.02471, allocations: 7.938 kB / 399.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/0.02477, allocations: 35.97 kB / 399.4 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003231/0.0251, allocations: 381.7 kB / 399.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/0.02759, allocations: 1.275 MB / 401 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005764/0.03335, allocations: 8.754 MB / 409.8 MB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.03532, allocations: 0.7507 MB / 410.5 MB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.03549, allocations: 123.6 kB / 410.6 MB, free: 1.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006392/0.03613, allocations: 0.5771 MB / 411.2 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.03617, allocations: 41.39 kB / 411.3 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.136e-06/0.03617, allocations: 0 / 411.3 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.006316/0.04249, allocations: 2.547 MB / 413.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.04254, allocations: 63.84 kB / 413.9 MB, free: 14.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007301/0.04327, allocations: 0.8149 MB / 414.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.0433, allocations: 37.7 kB / 414.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.04367, allocations: 0.7628 MB / 415.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.0438, allocations: 234.2 kB / 415.7 MB, free: 12.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.04403, allocations: 272.4 kB / 416 MB, free: 11.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.04422, allocations: 0.5782 MB / 416.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.04444, allocations: 146.5 kB / 416.7 MB, free: 11.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006832/0.04513, allocations: 1.129 MB / 417.8 MB, free: 9.676 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.04623, allocations: 1.409 MB / 419.2 MB, free: 7.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.04624, allocations: 8 kB / 419.3 MB, free: 7.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.00119/0.04743, allocations: 1.072 MB / 420.3 MB, free: 6.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.04746, allocations: 18.34 kB / 420.3 MB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.04748, allocations: 24 kB / 420.4 MB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/0.04751, allocations: 32 kB / 420.4 MB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/0.04824, allocations: 331.4 kB / 420.7 MB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009254/0.04917, allocations: 1.848 MB / 422.6 MB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.04955, allocations: 59.94 kB / 422.6 MB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.04961, allocations: 68 kB / 422.7 MB, free: 4.246 MB / 394.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.0003048/0.04991, allocations: 276.1 kB / 423 MB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.05003, allocations: 99.42 kB / 423.1 MB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.05013, allocations: 99.73 kB / 423.2 MB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.05014, allocations: 11.98 kB / 423.2 MB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.05014, allocations: 0 / 423.2 MB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.05015, allocations: 0 / 423.2 MB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.05222, allocations: 1.634 MB / 424.8 MB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.05223, allocations: 8 kB / 424.8 MB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.05251, allocations: 127.8 kB / 424.9 MB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.05252, allocations: 11.94 kB / 424.9 MB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.05254, allocations: 16.53 kB / 425 MB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007737/0.05331, allocations: 1.817 MB / 426.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.05332, allocations: 11.94 kB / 426.8 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005994/0.05392, allocations: 0.7463 MB / 427.5 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.575e-05/0.05401, allocations: 79.42 kB / 427.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.05405, allocations: 20 kB / 427.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.05422, allocations: 19.98 kB / 427.7 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.05428, allocations: 51.75 kB / 427.7 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.0543, allocations: 20 kB / 427.7 MB, free: 14.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003477/0.05465, allocations: 434.9 kB / 428.1 MB, free: 14.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05465, allocations: 0 / 428.1 MB, free: 14.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006825/0.05533, allocations: 212 kB / 428.4 MB, free: 14.16 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.0001726/0.0555, allocations: 135 kB / 428.5 MB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008364/0.05634, allocations: 0.5961 MB / 429.1 MB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.05634, allocations: 0 / 429.1 MB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.05655, allocations: 187.3 kB / 429.3 MB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.05707, allocations: 111.1 kB / 429.4 MB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.05941, allocations: 1.932 MB / 431.3 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.05965, allocations: 307.5 kB / 431.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004633/0.06011, allocations: 291 kB / 431.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.06024, allocations: 64.48 kB / 432 MB, free: 10.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.06024, allocations: 0 / 432 MB, free: 10.38 MB / 410.7 MB Notification: Performance of Templates: time 0.01275/0.07299, allocations: 7.363 MB / 439.3 MB, free: 3.141 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.449885501060635]