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.001996/0.001996, allocations: 183.9 kB / 15.76 MB, free: 6.367 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.63/1.63, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001039/0.001038, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2821/0.2821, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005579/0.0005579, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1837, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.638, allocations: 102.4 MB / 0.5787 GB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.6383, allocations: 89.23 kB / 0.5788 GB, free: 13.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2206/0.8589, allocations: 87.53 MB / 0.6643 GB, free: 13.87 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.859, allocations: 0 / 0.6643 GB, free: 13.87 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001441/0.8592, allocations: 72 kB / 0.6644 GB, free: 13.8 MB / 474.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.01578/0.8749, allocations: 3.876 MB / 0.6681 GB, free: 9.859 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.216e-05/0.875, allocations: 12.03 kB / 0.6682 GB, free: 9.848 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02892/0.904, allocations: 3.66 MB / 0.6717 GB, free: 6.176 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/0.9192, allocations: 4.951 MB / 0.6766 GB, free: 1.176 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/0.9196, allocations: 299.6 kB / 0.6769 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002568/0.9222, allocations: 395.7 kB / 0.6772 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03377/0.956, allocations: 10.36 MB / 0.6873 GB, free: 5.637 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002205/0.9562, allocations: 35.73 kB / 0.6874 GB, free: 5.602 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001704/0.958, allocations: 171.9 kB / 0.6875 GB, free: 5.434 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002476/0.9605, allocations: 1.199 MB / 0.6887 GB, free: 4.234 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03195/0.9924, allocations: 10.16 MB / 0.6986 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3824/1.375, allocations: 36.56 MB / 0.7343 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/1.388, allocations: 4.402 MB / 0.7386 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002047/1.39, allocations: 1.317 MB / 0.7399 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.631e-05/1.39, allocations: 54.98 kB / 0.74 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 1.03e-05/1.39, allocations: 2.625 kB / 0.74 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=261): time 0.06812/1.458, allocations: 17.31 MB / 0.7569 GB, free: 102 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001634/1.46, allocations: 1.538 MB / 0.7584 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006486/1.467, allocations: 2.484 MB / 0.7608 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008196/1.467, allocations: 64.05 kB / 0.7609 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002842/1.47, allocations: 2.747 MB / 0.7636 GB, free: 98.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001728/1.472, allocations: 0.952 MB / 0.7645 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000447/1.473, allocations: 113.4 kB / 0.7646 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004198/1.473, allocations: 0.5517 MB / 0.7651 GB, free: 97.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005739/1.479, allocations: 2.439 MB / 0.7675 GB, free: 97.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00774/1.486, allocations: 5.459 MB / 0.7728 GB, free: 92.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005252/1.492, allocations: 3.638 MB / 0.7764 GB, free: 91.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.718e-05/1.492, allocations: 34.84 kB / 0.7764 GB, free: 91.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02121/1.513, allocations: 9.483 MB / 0.7857 GB, free: 88.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.513, allocations: 54.3 kB / 0.7857 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01252/1.526, allocations: 4.595 MB / 0.7902 GB, free: 87.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/1.536, allocations: 2.063 MB / 0.7922 GB, free: 87.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004559/1.541, allocations: 1.289 MB / 0.7935 GB, free: 87.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005818/1.546, allocations: 5.155 MB / 0.7985 GB, free: 84.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004085/1.551, allocations: 404.1 kB / 0.7989 GB, free: 83.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006547/1.551, allocations: 326.3 kB / 0.7992 GB, free: 83.91 MB / 0.4948 GB 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.003571/1.555, allocations: 2.116 MB / 0.8013 GB, free: 82.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005112/1.555, allocations: 278.8 kB / 0.8016 GB, free: 82.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008503/1.564, allocations: 5.392 MB / 0.8068 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007361/1.571, allocations: 4.64 MB / 0.8114 GB, free: 76.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/1.571, allocations: 0 / 0.8114 GB, free: 76.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/1.571, allocations: 10.78 kB / 0.8114 GB, free: 76.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02415/1.595, allocations: 14.65 MB / 0.8257 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/1.596, allocations: 15.94 kB / 0.8257 GB, free: 64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/1.597, allocations: 425.9 kB / 0.8261 GB, free: 63.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003815/1.601, allocations: 1.192 MB / 0.8273 GB, free: 62.94 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004254/1.602, allocations: 65.44 kB / 0.8273 GB, free: 62.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003816/1.605, allocations: 4.531 MB / 0.8318 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007317/1.606, allocations: 1.481 MB / 0.8332 GB, free: 57.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.617, allocations: 8.849 MB / 0.8418 GB, free: 48.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009922/1.618, allocations: 341.4 kB / 0.8422 GB, free: 47.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004043/1.619, allocations: 56.69 kB / 0.8422 GB, free: 47.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.62, allocations: 192.7 kB / 0.8424 GB, free: 47.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/1.62, allocations: 170.3 kB / 0.8426 GB, free: 47.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.621, allocations: 80.83 kB / 0.8426 GB, free: 47.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002268/1.623, allocations: 1.701 MB / 0.8443 GB, free: 45.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.623, allocations: 3.609 kB / 0.8443 GB, free: 45.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006179/1.629, allocations: 1.07 MB / 0.8454 GB, free: 44.71 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.0006731/1.63, allocations: 214.8 kB / 0.8456 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009395/1.639, allocations: 6.475 MB / 0.8519 GB, free: 37.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/1.639, allocations: 4.062 kB / 0.8519 GB, free: 37.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004273/1.644, allocations: 2.894 MB / 0.8547 GB, free: 35.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/1.646, allocations: 350.1 kB / 0.855 GB, free: 34.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/1.664, allocations: 12.57 MB / 0.8673 GB, free: 22.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/1.667, allocations: 3.401 MB / 0.8706 GB, free: 18.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004357/1.671, allocations: 2.114 MB / 0.8727 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/1.672, allocations: 219.4 kB / 0.8729 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/1.672, allocations: 4 kB / 0.8729 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.3031/1.975, allocations: 34.15 MB / 0.9063 GB, free: 130.7 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/jenkins/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