Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 203.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 227.2 MB / 245 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008334/0.0008333, allocations: 99.17 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3273/0.3273, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002462/0.0002463, allocations: 11.98 kB / 468.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3036, allocations: 63.23 MB / 0.5192 GB, free: 43.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.4251, allocations: 106.3 MB / 0.623 GB, free: 15.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4254, allocations: 83.94 kB / 0.6231 GB, free: 15.22 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4534/0.8787, allocations: 91.13 MB / 0.7121 GB, free: 98.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8788, allocations: 0 / 0.7121 GB, free: 98.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001431/0.8789, allocations: 79.31 kB / 0.7122 GB, free: 98.26 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01464/0.8936, allocations: 4.417 MB / 0.7165 GB, free: 96.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/0.8937, allocations: 11.31 kB / 0.7165 GB, free: 96.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/0.9082, allocations: 3.535 MB / 0.7199 GB, free: 96.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/0.9207, allocations: 4.001 MB / 0.7239 GB, free: 95.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002803/0.9211, allocations: 324.3 kB / 0.7242 GB, free: 95.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/0.9223, allocations: 428.3 kB / 0.7246 GB, free: 95.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/0.9406, allocations: 10.76 MB / 0.7351 GB, free: 94.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.9407, allocations: 30.28 kB / 0.7351 GB, free: 94.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005641/0.9413, allocations: 193.1 kB / 0.7353 GB, free: 94.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001604/0.9429, allocations: 1.186 MB / 0.7364 GB, free: 94.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01771/0.9606, allocations: 10.39 MB / 0.7466 GB, free: 93.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04949/1.01, allocations: 36.49 MB / 0.7822 GB, free: 71.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006482/1.017, allocations: 4.281 MB / 0.7864 GB, free: 69.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009484/1.018, allocations: 1.318 MB / 0.7877 GB, free: 68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/1.018, allocations: 55.38 kB / 0.7878 GB, free: 67.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=235): time 6.271e-06/1.018, allocations: 0 / 0.7878 GB, free: 67.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=256): time 0.03628/1.054, allocations: 14.02 MB / 0.8014 GB, free: 63.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/1.054, allocations: 75.53 kB / 0.8015 GB, free: 63.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004623/1.059, allocations: 2.462 MB / 0.8039 GB, free: 61.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005085/1.059, allocations: 57.7 kB / 0.804 GB, free: 61.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001975/1.061, allocations: 2.86 MB / 0.8068 GB, free: 59.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001142/1.062, allocations: 0.9488 MB / 0.8077 GB, free: 58.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005965/1.063, allocations: 111.8 kB / 0.8078 GB, free: 58.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004906/1.064, allocations: 0.5439 MB / 0.8083 GB, free: 57.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/1.067, allocations: 2.28 MB / 0.8106 GB, free: 55.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004528/1.071, allocations: 5.351 MB / 0.8158 GB, free: 49.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004709/1.076, allocations: 3.496 MB / 0.8192 GB, free: 46.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/1.076, allocations: 28 kB / 0.8192 GB, free: 46.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01363/1.09, allocations: 8.353 MB / 0.8274 GB, free: 38.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.09, allocations: 51.95 kB / 0.8274 GB, free: 38.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001971/1.09, allocations: 108 kB / 0.8275 GB, free: 38.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/1.093, allocations: 1.055 MB / 0.8286 GB, free: 38.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003929/1.097, allocations: 1.293 MB / 0.8298 GB, free: 36.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/1.1, allocations: 2.493 MB / 0.8323 GB, free: 34.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/1.103, allocations: 308.1 kB / 0.8326 GB, free: 34.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007724/1.104, allocations: 327.4 kB / 0.8329 GB, free: 34.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * Number of states: 0 () * Number of discrete variables: 26 (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],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (700): * Single equations (assignments): 691 * 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): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.004487/1.109, allocations: 2.204 MB / 0.835 GB, free: 32.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005924/1.109, allocations: 284.3 kB / 0.8353 GB, free: 31.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00849/1.118, allocations: 4.941 MB / 0.8401 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/1.118, allocations: 47.94 kB / 0.8402 GB, free: 27.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.118, allocations: 8 kB / 0.8402 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/1.118, allocations: 11.95 kB / 0.8402 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02021/1.138, allocations: 11.37 MB / 0.8513 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.138, allocations: 8 kB / 0.8513 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/1.14, allocations: 407.4 kB / 0.8517 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002833/1.143, allocations: 0.9041 MB / 0.8526 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/1.143, allocations: 59.86 kB / 0.8526 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/1.145, allocations: 2.303 MB / 0.8549 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/1.145, allocations: 11.94 kB / 0.8549 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009074/1.154, allocations: 7.992 MB / 0.8627 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007983/1.155, allocations: 325.5 kB / 0.863 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006144/1.155, allocations: 44 kB / 0.863 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.157, allocations: 135.8 kB / 0.8632 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/1.157, allocations: 153.6 kB / 0.8633 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.157, allocations: 83.45 kB / 0.8634 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002778/1.16, allocations: 1.673 MB / 0.865 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.16, allocations: 0 / 0.865 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004742/1.165, allocations: 0.9843 MB / 0.866 GB, free: 0.5625 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_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 (206): * Single equations (assignments): 197 * 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): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.0005476/1.165, allocations: 208.8 kB / 0.8662 GB, free: 364 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009372/1.175, allocations: 6.006 MB / 0.8721 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.175, allocations: 0 / 0.8721 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004056/1.179, allocations: 2.545 MB / 0.8745 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/1.181, allocations: 400.5 kB / 0.8749 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/1.201, allocations: 12.67 MB / 0.8873 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003568/1.205, allocations: 3.511 MB / 0.8907 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004399/1.209, allocations: 2.049 MB / 0.8927 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006409/1.21, allocations: 227.4 kB / 0.8929 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/1.21, allocations: 0 / 0.8929 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of Templates: time 0.2778/1.488, allocations: 31.06 MB / 0.9233 GB, free: 112.3 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches