Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.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.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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 227.2 MB / 245 MB, free: 5.746 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008556/0.0008556, allocations: 99.08 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2876/0.2876, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002631, allocations: 8 kB / 468.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2791, allocations: 63.25 MB / 0.5192 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.3919, allocations: 104.4 MB / 0.6212 GB, free: 14.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/0.3922, allocations: 79.95 kB / 0.6212 GB, free: 14.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4146/0.8068, allocations: 88.6 MB / 0.7078 GB, free: 103.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.8068, allocations: 3.938 kB / 0.7078 GB, free: 103.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001692/0.807, allocations: 71.38 kB / 0.7078 GB, free: 103.8 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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.0114/0.8184, allocations: 3.776 MB / 0.7115 GB, free: 102.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.8185, allocations: 9.5 kB / 0.7115 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/0.8342, allocations: 3.682 MB / 0.7151 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.8463, allocations: 4.131 MB / 0.7192 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003008/0.8466, allocations: 288.6 kB / 0.7194 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002294/0.8489, allocations: 380.8 kB / 0.7198 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.8686, allocations: 10.08 MB / 0.7297 GB, free: 97.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001653/0.8688, allocations: 26.91 kB / 0.7297 GB, free: 97.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/0.8701, allocations: 175.2 kB / 0.7298 GB, free: 97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001297/0.8714, allocations: 1.157 MB / 0.731 GB, free: 96.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.8856, allocations: 9.895 MB / 0.7406 GB, free: 93.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04006/0.9257, allocations: 35.71 MB / 0.7755 GB, free: 65.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005858/0.9316, allocations: 4.289 MB / 0.7797 GB, free: 60.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008466/0.9325, allocations: 1.317 MB / 0.781 GB, free: 59.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.9325, allocations: 56.56 kB / 0.781 GB, free: 59.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 4.729e-06/0.9325, allocations: 0 / 0.781 GB, free: 59.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=252): time 0.03128/0.9638, allocations: 16.96 MB / 0.7976 GB, free: 42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009542/0.9648, allocations: 1.535 MB / 0.7991 GB, free: 40.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003998/0.9688, allocations: 2.419 MB / 0.8015 GB, free: 37.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004023/0.9693, allocations: 60.2 kB / 0.8015 GB, free: 37.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.9706, allocations: 2.668 MB / 0.8041 GB, free: 35.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001056/0.9716, allocations: 0.9267 MB / 0.805 GB, free: 34.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005425/0.9722, allocations: 108 kB / 0.8051 GB, free: 34.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004031/0.9726, allocations: 0.5455 MB / 0.8057 GB, free: 33.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003026/0.9756, allocations: 2.373 MB / 0.808 GB, free: 31.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004229/0.9799, allocations: 5.321 MB / 0.8132 GB, free: 24.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004098/0.984, allocations: 3.564 MB / 0.8167 GB, free: 20.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.298e-05/0.9841, allocations: 28 kB / 0.8167 GB, free: 20.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=731) (initialization): time 0.01825/1.002, allocations: 9.262 MB / 0.8257 GB, free: 11.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.346e-05/1.002, allocations: 53 kB / 0.8258 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01113/1.014, allocations: 4.476 MB / 0.8302 GB, free: 6.988 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009117/1.023, allocations: 2.027 MB / 0.8321 GB, free: 4.945 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003967/1.027, allocations: 1.252 MB / 0.8334 GB, free: 3.691 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/1.033, allocations: 5.116 MB / 0.8384 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004114/1.037, allocations: 394.5 kB / 0.8387 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/1.038, allocations: 316 kB / 0.839 GB, free: 13.62 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (669): * Single equations (assignments): 657 * 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.004662/1.043, allocations: 2.06 MB / 0.841 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006774/1.043, allocations: 276.4 kB / 0.8413 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/1.054, allocations: 5.272 MB / 0.8465 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008135/1.062, allocations: 4.546 MB / 0.8509 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.062, allocations: 4 kB / 0.8509 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/1.062, allocations: 11.95 kB / 0.8509 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02546/1.088, allocations: 14.34 MB / 0.8649 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/1.088, allocations: 12.06 kB / 0.8649 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/1.089, allocations: 403.4 kB / 0.8653 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004166/1.093, allocations: 1.189 MB / 0.8665 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/1.094, allocations: 67.92 kB / 0.8665 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004974/1.099, allocations: 4.516 MB / 0.8709 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001078/1.1, allocations: 1.479 MB / 0.8724 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/1.113, allocations: 8.679 MB / 0.8809 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000978/1.114, allocations: 329.9 kB / 0.8812 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006906/1.115, allocations: 51.98 kB / 0.8812 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/1.117, allocations: 191.7 kB / 0.8814 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/1.117, allocations: 168.2 kB / 0.8816 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/1.117, allocations: 75.97 kB / 0.8816 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.2628/1.38, allocations: 1.65 MB / 0.8833 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.02e-07/1.38, allocations: 0 / 0.8833 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006486/1.387, allocations: 1.047 MB / 0.8843 GB, free: 136.5 MB / 0.5261 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 (192): * Single equations (assignments): 182 * 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.0005768/1.387, allocations: 201.4 kB / 0.8845 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009243/1.397, allocations: 6.328 MB / 0.8907 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/1.397, allocations: 3.031 kB / 0.8907 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0044/1.401, allocations: 2.839 MB / 0.8934 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/1.403, allocations: 354.4 kB / 0.8938 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/1.421, allocations: 12.23 MB / 0.9057 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004082/1.425, allocations: 3.319 MB / 0.9089 GB, free: 130 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005155/1.431, allocations: 2.061 MB / 0.911 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008036/1.431, allocations: 216.7 kB / 0.9112 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of SimCode: time 8.82e-07/1.431, allocations: 0 / 0.9112 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.05387/1.485, allocations: 33.46 MB / 0.9438 GB, free: 128.1 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches