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.001211/0.001211, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009586/0.0009584, allocations: 94.61 kB / 261.8 MB, free: 1.609 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.1941/0.1941, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.18e-05/1.184e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1, allocations: 58.85 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3849/0.485, allocations: 101.6 MB / 0.5652 GB, free: 10.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4852, allocations: 76.78 kB / 0.5652 GB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2212/0.7065, allocations: 86.11 MB / 0.6493 GB, free: 11.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.7065, allocations: 0 / 0.6493 GB, free: 11.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001457/0.7067, allocations: 72 kB / 0.6494 GB, free: 11.81 MB / 458.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.01002/0.7167, allocations: 3.701 MB / 0.653 GB, free: 8.043 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.7168, allocations: 12.03 kB / 0.653 GB, free: 8.031 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01602/0.7328, allocations: 3.66 MB / 0.6566 GB, free: 4.359 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/0.7454, allocations: 4.935 MB / 0.6614 GB, free: 15.37 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.7457, allocations: 124 kB / 0.6615 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002049/0.7477, allocations: 220 kB / 0.6618 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01345/0.7612, allocations: 7.279 MB / 0.6689 GB, free: 7.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02173/0.783, allocations: 9.589 MB / 0.6782 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/0.7832, allocations: 35.66 kB / 0.6783 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007635/0.7839, allocations: 12 kB / 0.6783 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001739/0.7857, allocations: 1.195 MB / 0.6794 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3146/1.1, allocations: 34.11 MB / 0.7128 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005461/1.106, allocations: 4.046 MB / 0.7167 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/1.109, allocations: 2.12 MB / 0.7188 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/1.11, allocations: 1.325 MB / 0.7201 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/1.11, allocations: 53.81 kB / 0.7201 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=247): time 6.041e-06/1.11, allocations: 0 / 0.7201 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=264): time 0.02816/1.138, allocations: 14.78 MB / 0.7346 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/1.138, allocations: 86.34 kB / 0.7346 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/1.141, allocations: 2.38 MB / 0.737 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004532/1.142, allocations: 25.7 kB / 0.737 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001511/1.143, allocations: 2.829 MB / 0.7398 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009749/1.144, allocations: 0.947 MB / 0.7407 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/1.145, allocations: 0 / 0.7407 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002692/1.145, allocations: 0.5652 MB / 0.7412 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/1.148, allocations: 2.364 MB / 0.7435 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004619/1.152, allocations: 5.631 MB / 0.749 GB, free: 107 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004584/1.157, allocations: 3.672 MB / 0.7526 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.139e-05/1.157, allocations: 35.78 kB / 0.7527 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01872/1.176, allocations: 9.025 MB / 0.7615 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-05/1.176, allocations: 53.84 kB / 0.7615 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01139/1.187, allocations: 4.483 MB / 0.7659 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/1.197, allocations: 2.058 MB / 0.7679 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005138/1.202, allocations: 1.377 MB / 0.7693 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005826/1.208, allocations: 4.799 MB / 0.7739 GB, free: 99.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005875/1.214, allocations: 289.4 kB / 0.7742 GB, free: 99.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001337/1.216, allocations: 352.7 kB / 0.7746 GB, free: 99.85 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (739): * Single equations (assignments): 727 * 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.001046/1.217, allocations: 402.1 kB / 0.7749 GB, free: 99.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000566/1.217, allocations: 282.7 kB / 0.7752 GB, free: 99.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008992/1.226, allocations: 5.239 MB / 0.7803 GB, free: 97.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007695/1.234, allocations: 4.508 MB / 0.7847 GB, free: 95.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/1.234, allocations: 7.312 kB / 0.7847 GB, free: 95.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-05/1.234, allocations: 11.67 kB / 0.7847 GB, free: 95.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02365/1.258, allocations: 13.55 MB / 0.798 GB, free: 84.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/1.258, allocations: 8 kB / 0.798 GB, free: 84.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/1.26, allocations: 434.8 kB / 0.7984 GB, free: 84.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003893/1.264, allocations: 1.174 MB / 0.7995 GB, free: 83.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003013/1.264, allocations: 31.59 kB / 0.7996 GB, free: 83.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/1.268, allocations: 4.341 MB / 0.8038 GB, free: 79.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007271/1.268, allocations: 1.412 MB / 0.8052 GB, free: 77.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/1.28, allocations: 8.744 MB / 0.8137 GB, free: 69.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.281, allocations: 341 kB / 0.8141 GB, free: 69.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003959/1.281, allocations: 23.84 kB / 0.8141 GB, free: 69.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/1.283, allocations: 166.8 kB / 0.8142 GB, free: 69.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003242/1.283, allocations: 169.9 kB / 0.8144 GB, free: 69.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.283, allocations: 85.36 kB / 0.8145 GB, free: 69.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002101/1.285, allocations: 1.566 MB / 0.816 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.285, allocations: 0 / 0.816 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004629/1.29, allocations: 0.9655 MB / 0.817 GB, free: 66.99 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 195 * 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.0004766/1.291, allocations: 177.2 kB / 0.8171 GB, free: 66.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00834/1.299, allocations: 6.269 MB / 0.8232 GB, free: 61.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.299, allocations: 4 kB / 0.8233 GB, free: 61.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003875/1.303, allocations: 2.811 MB / 0.826 GB, free: 58.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/1.304, allocations: 250.2 kB / 0.8262 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/1.318, allocations: 9.144 MB / 0.8352 GB, free: 50.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00291/1.321, allocations: 3.4 MB / 0.8385 GB, free: 47.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00444/1.325, allocations: 2.228 MB / 0.8407 GB, free: 45.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006644/1.326, allocations: 227.4 kB / 0.8409 GB, free: 45.17 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/1.326, allocations: 3.938 kB / 0.8409 GB, free: 45.17 MB / 0.4948 GB Notification: Performance of Templates: time 0.05106/1.377, allocations: 30.97 MB / 0.8711 GB, free: 14.65 MB / 0.4948 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