Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 175.8 kB / 16.76 MB, free: 4.926 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.372/1.372, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007879/0.000788, allocations: 92.95 kB / 271.3 MB, free: 8.234 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.3053/0.3053, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 12 kB / 432.6 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1139, allocations: 58.84 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.443, allocations: 102.5 MB / 0.5801 GB, free: 15.42 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.4433, allocations: 71.97 kB / 0.5801 GB, free: 15.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2183/0.6616, allocations: 86.13 MB / 0.6642 GB, free: 8.582 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6617, allocations: 0 / 0.6642 GB, free: 8.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001991/0.6619, allocations: 72 kB / 0.6643 GB, free: 8.512 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.0124/0.6743, allocations: 3.777 MB / 0.668 GB, free: 4.664 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.6743, allocations: 12.03 kB / 0.668 GB, free: 4.652 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/0.6894, allocations: 3.595 MB / 0.6715 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2357/0.9252, allocations: 3.765 MB / 0.6752 GB, free: 95.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005966/0.9258, allocations: 293.9 kB / 0.6755 GB, free: 95.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002655/0.9285, allocations: 392.9 kB / 0.6759 GB, free: 95.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02709/0.9556, allocations: 10.31 MB / 0.6859 GB, free: 93.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001687/0.9558, allocations: 35.52 kB / 0.686 GB, free: 93.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001309/0.9571, allocations: 179.5 kB / 0.6861 GB, free: 93.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001685/0.9588, allocations: 1.196 MB / 0.6873 GB, free: 93.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01833/0.9772, allocations: 10.08 MB / 0.6971 GB, free: 93.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05583/1.033, allocations: 36.52 MB / 0.7328 GB, free: 73.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007336/1.04, allocations: 4.401 MB / 0.7371 GB, free: 71.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002973/1.043, allocations: 2.191 MB / 0.7393 GB, free: 70.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009873/1.044, allocations: 1.32 MB / 0.7405 GB, free: 69.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/1.045, allocations: 58.69 kB / 0.7406 GB, free: 69.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 5.811e-06/1.045, allocations: 0 / 0.7406 GB, free: 69.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=261): time 0.03538/1.08, allocations: 16.77 MB / 0.757 GB, free: 63.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001114/1.081, allocations: 1.538 MB / 0.7585 GB, free: 62.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003899/1.085, allocations: 2.789 MB / 0.7612 GB, free: 61.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005934/1.086, allocations: 60.62 kB / 0.7613 GB, free: 61.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/1.087, allocations: 2.734 MB / 0.7639 GB, free: 59.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009045/1.088, allocations: 0.9599 MB / 0.7649 GB, free: 58.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/1.088, allocations: 113.3 kB / 0.765 GB, free: 58.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000246/1.088, allocations: 0.5477 MB / 0.7655 GB, free: 58.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/1.091, allocations: 2.432 MB / 0.7679 GB, free: 57.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004099/1.095, allocations: 5.485 MB / 0.7732 GB, free: 52.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00796/1.103, allocations: 8.634 MB / 0.7817 GB, free: 46.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.817e-05/1.103, allocations: 29.12 kB / 0.7817 GB, free: 46.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01963/1.123, allocations: 9.504 MB / 0.791 GB, free: 41.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/1.123, allocations: 55.47 kB / 0.791 GB, free: 41.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01193/1.135, allocations: 4.588 MB / 0.7955 GB, free: 37.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009391/1.145, allocations: 2.049 MB / 0.7975 GB, free: 36.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004514/1.149, allocations: 1.29 MB / 0.7988 GB, free: 35.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005938/1.155, allocations: 4.984 MB / 0.8036 GB, free: 30.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00479/1.16, allocations: 401.8 kB / 0.804 GB, free: 30.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/1.161, allocations: 324.8 kB / 0.8043 GB, free: 30.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 482 * 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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (691): * Single equations (assignments): 679 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00588/1.167, allocations: 2.108 MB / 0.8064 GB, free: 28.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009024/1.168, allocations: 284.2 kB / 0.8067 GB, free: 28.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/1.179, allocations: 5.389 MB / 0.8119 GB, free: 23.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008123/1.187, allocations: 4.637 MB / 0.8165 GB, free: 20.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/1.187, allocations: 4 kB / 0.8165 GB, free: 20.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.441e-05/1.187, allocations: 10.69 kB / 0.8165 GB, free: 20.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02644/1.214, allocations: 14.65 MB / 0.8308 GB, free: 7.926 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-05/1.214, allocations: 15.88 kB / 0.8308 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/1.216, allocations: 423.3 kB / 0.8312 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003774/1.219, allocations: 1.19 MB / 0.8324 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003914/1.22, allocations: 63.97 kB / 0.8324 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003777/1.224, allocations: 4.454 MB / 0.8368 GB, free: 1.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000751/1.224, allocations: 1.467 MB / 0.8382 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/1.239, allocations: 8.028 MB / 0.846 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/1.241, allocations: 344.8 kB / 0.8464 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001273/1.242, allocations: 51.98 kB / 0.8464 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/1.244, allocations: 199.6 kB / 0.8466 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007836/1.245, allocations: 172.4 kB / 0.8468 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003972/1.246, allocations: 79.97 kB / 0.8469 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003902/1.249, allocations: 1.701 MB / 0.8485 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/1.25, allocations: 0 / 0.8485 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006978/1.257, allocations: 1.074 MB / 0.8496 GB, free: 4.066 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009587/1.257, allocations: 204.9 kB / 0.8498 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01321/1.271, allocations: 6.481 MB / 0.8561 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1.271, allocations: 0 / 0.8561 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005842/1.277, allocations: 2.894 MB / 0.8589 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006251/1.283, allocations: 384.5 kB / 0.8593 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2506/1.534, allocations: 12.61 MB / 0.8716 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005181/1.539, allocations: 3.312 MB / 0.8748 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005292/1.544, allocations: 2.112 MB / 0.8769 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008287/1.545, allocations: 225 kB / 0.8771 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/1.545, allocations: 2.906 kB / 0.8771 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.06305/1.608, allocations: 34.24 MB / 0.9105 GB, free: 110.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches