Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.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.001439/0.001439, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001635/0.001635, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2379/0.2379, allocations: 46.97 MB / 361.6 MB, free: 4.023 MB / 286.1 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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 63.89 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3571, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01316/0.3703, allocations: 10.26 MB / 0.5718 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00901/0.3793, allocations: 3.863 MB / 0.5756 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.381, allocations: 67.75 kB / 0.5757 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.3837, allocations: 1.164 MB / 0.5768 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005718/0.3894, allocations: 1.783 MB / 0.5786 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.3912, allocations: 0.5652 MB / 0.5791 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006261/0.3974, allocations: 4.031 MB / 0.5831 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/0.4001, allocations: 1.681 MB / 0.5847 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.4021, allocations: 1.183 MB / 0.5858 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003007/0.4051, allocations: 1.853 MB / 0.5877 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008048/0.4059, allocations: 216 kB / 0.5879 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.4086, allocations: 1.201 MB / 0.589 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.4105, allocations: 1.601 MB / 0.5906 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.4123, allocations: 1.307 MB / 0.5919 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008662/0.4209, allocations: 6.219 MB / 0.5979 GB, free: 15.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.421, allocations: 7.938 kB / 0.598 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.421, allocations: 0 / 0.598 GB, free: 15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001403/0.4211, allocations: 0 / 0.598 GB, free: 15 MB / 446.1 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.008808/0.4299, allocations: 4.107 MB / 0.602 GB, free: 10.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.43, allocations: 12.03 kB / 0.602 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02041/0.4504, allocations: 6.159 MB / 0.608 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00711/0.4575, allocations: 2.137 MB / 0.6101 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.4577, allocations: 176.8 kB / 0.6102 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/0.4587, allocations: 315.6 kB / 0.6105 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0196/0.4783, allocations: 10.71 MB / 0.621 GB, free: 6.824 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.843e-05/0.4784, allocations: 31.7 kB / 0.621 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003994/0.4788, allocations: 115.8 kB / 0.6212 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00413/0.4829, allocations: 2.467 MB / 0.6236 GB, free: 4.211 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02276/0.5057, allocations: 10.12 MB / 0.6334 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05923/0.5649, allocations: 32.95 MB / 0.6656 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.5767, allocations: 4.47 MB / 0.67 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003484/0.5802, allocations: 2.187 MB / 0.6721 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.5815, allocations: 0.548 MB / 0.6727 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.5815, allocations: 56.5 kB / 0.6727 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 6.963e-06/0.5815, allocations: 0 / 0.6727 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=225): time 0.03664/0.6182, allocations: 14.39 MB / 0.6868 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.6182, allocations: 69.41 kB / 0.6868 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004471/0.6227, allocations: 2.825 MB / 0.6896 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005661/0.6233, allocations: 57.7 kB / 0.6896 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002375/0.6256, allocations: 2.799 MB / 0.6924 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001364/0.627, allocations: 0.872 MB / 0.6932 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001764/0.6288, allocations: 1.096 MB / 0.6943 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6289, allocations: 301.1 kB / 0.6946 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003925/0.6328, allocations: 2.54 MB / 0.6971 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006973/0.6398, allocations: 5.537 MB / 0.7025 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/0.6518, allocations: 8.777 MB / 0.711 GB, free: 6.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001142/0.652, allocations: 28 kB / 0.7111 GB, free: 6.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=724) (initialization): time 0.06271/0.7147, allocations: 16.92 MB / 0.7276 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.43e-05/0.7147, allocations: 48 kB / 0.7276 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3534/1.068, allocations: 10.39 MB / 0.7378 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04276/1.111, allocations: 8.643 MB / 0.7462 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004372/1.115, allocations: 1.302 MB / 0.7475 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0243/1.14, allocations: 17.28 MB / 0.7644 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003927/1.143, allocations: 363.7 kB / 0.7647 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005796/1.144, allocations: 304 kB / 0.765 GB, free: 134.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (656): * Single equations (assignments): 647 * Array equations: 6 * 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.002872/1.147, allocations: 2.018 MB / 0.767 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005357/1.147, allocations: 275 kB / 0.7673 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006611/1.154, allocations: 4.808 MB / 0.7719 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/1.154, allocations: 11.53 kB / 0.772 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.154, allocations: 0 / 0.772 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005247/1.155, allocations: 224.4 kB / 0.7722 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/1.155, allocations: 39.98 kB / 0.7722 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/1.156, allocations: 155.8 kB / 0.7724 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/1.156, allocations: 117.8 kB / 0.7725 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006548/1.163, allocations: 4.366 MB / 0.7767 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006047/1.169, allocations: 6.279 MB / 0.7829 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001585/1.171, allocations: 1.639 MB / 0.7845 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00184/1.172, allocations: 1.607 MB / 0.786 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of Backend: time 4.91e-07/1.172, allocations: 0 / 0.786 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008916/1.181, allocations: 4.608 MB / 0.7905 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01298/1.194, allocations: 8.523 MB / 0.7989 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.07497/1.269, allocations: 59.72 MB / 0.8572 GB, free: 40.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.393278044000908]