Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 174.3 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008587/0.0008587, allocations: 78.42 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.321/0.321, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 12 kB / 432.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1063, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3132/0.4195, allocations: 101.8 MB / 0.5794 GB, free: 16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.4198, allocations: 80.52 kB / 0.5795 GB, free: 15.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2053/0.6251, allocations: 82.22 MB / 0.6597 GB, free: 13.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6251, allocations: 0 / 0.6597 GB, free: 13.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001628/0.6253, allocations: 68 kB / 0.6598 GB, free: 13.04 MB / 490.7 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.01357/0.6389, allocations: 3.978 MB / 0.6637 GB, free: 8.992 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6389, allocations: 12.03 kB / 0.6637 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02034/0.6593, allocations: 5.747 MB / 0.6693 GB, free: 3.219 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2139/0.8733, allocations: 4.128 MB / 0.6734 GB, free: 96.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/0.8736, allocations: 278.7 kB / 0.6736 GB, free: 96.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001493/0.8751, allocations: 367 kB / 0.674 GB, free: 96.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01906/0.8942, allocations: 10.37 MB / 0.6841 GB, free: 95.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.8943, allocations: 36.56 kB / 0.6841 GB, free: 95.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000514/0.8948, allocations: 172.1 kB / 0.6843 GB, free: 95.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001472/0.8963, allocations: 1.148 MB / 0.6854 GB, free: 95.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/0.9142, allocations: 10.02 MB / 0.6952 GB, free: 95.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04871/0.9629, allocations: 37.36 MB / 0.7317 GB, free: 74.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.9732, allocations: 5.583 MB / 0.7371 GB, free: 72.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/0.976, allocations: 2.333 MB / 0.7394 GB, free: 71.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.9773, allocations: 1.875 MB / 0.7413 GB, free: 69.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.9773, allocations: 52.12 kB / 0.7413 GB, free: 69.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 7.524e-06/0.9773, allocations: 6.906 kB / 0.7413 GB, free: 69.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=231): time 0.0293/1.007, allocations: 14.97 MB / 0.7559 GB, free: 65.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008827/1.008, allocations: 1.521 MB / 0.7574 GB, free: 63.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003386/1.011, allocations: 2.813 MB / 0.7602 GB, free: 62.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002957/1.011, allocations: 55.66 kB / 0.7602 GB, free: 62.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/1.012, allocations: 2.69 MB / 0.7628 GB, free: 60.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006238/1.013, allocations: 0.8423 MB / 0.7637 GB, free: 60.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/1.013, allocations: 108.4 kB / 0.7638 GB, free: 60.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002193/1.013, allocations: 0.543 MB / 0.7643 GB, free: 59.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002928/1.016, allocations: 2.602 MB / 0.7668 GB, free: 59.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003814/1.02, allocations: 5.618 MB / 0.7723 GB, free: 54.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007601/1.028, allocations: 8.912 MB / 0.781 GB, free: 47.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.738e-05/1.028, allocations: 29.22 kB / 0.7811 GB, free: 47.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.05451/1.082, allocations: 18.98 MB / 0.7996 GB, free: 38.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.957e-05/1.083, allocations: 48.94 kB / 0.7996 GB, free: 38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03657/1.119, allocations: 12.02 MB / 0.8114 GB, free: 28.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04109/1.16, allocations: 10.3 MB / 0.8214 GB, free: 18.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004154/1.164, allocations: 1.244 MB / 0.8226 GB, free: 17.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/1.187, allocations: 16.01 MB / 0.8383 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/1.191, allocations: 447.5 kB / 0.8387 GB, free: 472 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007195/1.192, allocations: 318.5 kB / 0.839 GB, free: 156 kB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * 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 (652): * Single equations (assignments): 641 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.003604/1.196, allocations: 2.022 MB / 0.841 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005021/1.196, allocations: 272.4 kB / 0.8412 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0091/1.205, allocations: 5.101 MB / 0.8462 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007983/1.213, allocations: 4.392 MB / 0.8505 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.213, allocations: 0.6562 kB / 0.8505 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/1.213, allocations: 11.41 kB / 0.8505 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/1.237, allocations: 12.99 MB / 0.8632 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/1.237, allocations: 8.938 kB / 0.8632 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.238, allocations: 407.4 kB / 0.8636 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002716/1.241, allocations: 0.9347 MB / 0.8645 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/1.241, allocations: 51.97 kB / 0.8646 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006213/1.248, allocations: 5.428 MB / 0.8699 GB, free: 72 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2464/1.494, allocations: 1.457 MB / 0.8713 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/1.509, allocations: 7.698 MB / 0.8788 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008813/1.51, allocations: 333.2 kB / 0.8791 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004709/1.51, allocations: 41.89 kB / 0.8792 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.511, allocations: 205.5 kB / 0.8794 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003538/1.512, allocations: 144.8 kB / 0.8795 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/1.512, allocations: 67.23 kB / 0.8796 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002387/1.514, allocations: 1.717 MB / 0.8812 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/1.514, allocations: 2.875 kB / 0.8813 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00512/1.52, allocations: 1.108 MB / 0.8823 GB, free: 116.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005526/1.52, allocations: 190.8 kB / 0.8825 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01067/1.531, allocations: 6.549 MB / 0.8889 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.531, allocations: 3.312 kB / 0.8889 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003475/1.534, allocations: 2.527 MB / 0.8914 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004526/1.539, allocations: 364.1 kB / 0.8917 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/1.557, allocations: 11.79 MB / 0.9032 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004183/1.561, allocations: 3.163 MB / 0.9063 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005088/1.566, allocations: 2.058 MB / 0.9083 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007679/1.567, allocations: 213.1 kB / 0.9085 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/1.567, allocations: 3.281 kB / 0.9085 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.06999/1.637, allocations: 43.29 MB / 0.9508 GB, free: 108.3 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches