Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001452, allocations: 203.9 kB / 18.11 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 226.5 MB / 245.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008331/0.0008333, allocations: 98.94 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3379/0.3379, allocations: 44.82 MB / 394.3 MB, free: 35.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002827, allocations: 8 kB / 467.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3803, allocations: 62.95 MB / 0.5184 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.5118, allocations: 98.58 MB / 0.6147 GB, free: 6.668 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.5121, allocations: 83.94 kB / 0.6148 GB, free: 6.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5506/1.063, allocations: 140.5 MB / 0.752 GB, free: 88.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.975e-06/1.063, allocations: 0 / 0.752 GB, free: 88.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002862/1.063, allocations: 121.8 kB / 0.7521 GB, free: 88.5 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01846/1.082, allocations: 6.05 MB / 0.758 GB, free: 84.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.082, allocations: 10.62 kB / 0.758 GB, free: 84.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02555/1.107, allocations: 6.535 MB / 0.7644 GB, free: 80.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/1.118, allocations: 4.335 MB / 0.7686 GB, free: 75.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005697/1.119, allocations: 0.5095 MB / 0.7691 GB, free: 75.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004207/1.123, allocations: 0.6564 MB / 0.7698 GB, free: 74.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04308/1.166, allocations: 18.07 MB / 0.7874 GB, free: 55.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003966/1.166, allocations: 31.88 kB / 0.7874 GB, free: 55.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004111/1.171, allocations: 315.7 kB / 0.7877 GB, free: 55.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002761/1.173, allocations: 2.153 MB / 0.7898 GB, free: 53.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02926/1.203, allocations: 17.36 MB / 0.8068 GB, free: 35.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08787/1.291, allocations: 61.73 MB / 0.8671 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0141/1.305, allocations: 8.415 MB / 0.8753 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0035/1.308, allocations: 2.571 MB / 0.8778 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2819/1.59, allocations: 11.78 MB / 0.8893 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.71e-05/1.59, allocations: 58.34 kB / 0.8894 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=321): time 8.385e-06/1.59, allocations: 0 / 0.8894 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321): time 0.01684/1.607, allocations: 7.486 MB / 0.8967 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/1.607, allocations: 102.6 kB / 0.8968 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01076/1.618, allocations: 5.603 MB / 0.9023 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006292/1.619, allocations: 63.27 kB / 0.9023 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004467/1.623, allocations: 5.093 MB / 0.9073 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00254/1.626, allocations: 1.199 MB / 0.9085 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008047/1.626, allocations: 180.5 kB / 0.9086 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007412/1.627, allocations: 0.7138 MB / 0.9093 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00603/1.633, allocations: 3.096 MB / 0.9123 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009175/1.642, allocations: 8.49 MB / 0.9206 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01363/1.656, allocations: 12.63 MB / 0.933 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003519/1.657, allocations: 54.72 kB / 0.933 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02541/1.682, allocations: 11.36 MB / 0.9441 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002752/1.682, allocations: 88.84 kB / 0.9442 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005233/1.683, allocations: 187.4 kB / 0.9444 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004149/1.683, allocations: 252.4 kB / 0.9446 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007949/1.691, allocations: 2.077 MB / 0.9467 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004069/1.692, allocations: 369.1 kB / 0.947 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008214/1.7, allocations: 1.301 MB / 0.9483 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00216/1.702, allocations: 0.5445 MB / 0.9488 GB, free: 100.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 863 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1135): * Single equations (assignments): 1123 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009439/1.712, allocations: 3.7 MB / 0.9524 GB, free: 98.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/1.713, allocations: 484.3 kB / 0.9529 GB, free: 98.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/1.715, allocations: 0.6555 MB / 0.9535 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000111/1.715, allocations: 59.08 kB / 0.9536 GB, free: 98.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.421e-05/1.715, allocations: 0 / 0.9536 GB, free: 98.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-05/1.715, allocations: 15.06 kB / 0.9536 GB, free: 98.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02802/1.743, allocations: 12.67 MB / 0.966 GB, free: 93.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/1.743, allocations: 14.28 kB / 0.966 GB, free: 93.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/1.745, allocations: 421.9 kB / 0.9664 GB, free: 93.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.497e-05/1.745, allocations: 20.84 kB / 0.9664 GB, free: 93.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/1.745, allocations: 65.14 kB / 0.9665 GB, free: 93.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.035e-05/1.745, allocations: 29.66 kB / 0.9665 GB, free: 93.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-05/1.745, allocations: 28.38 kB / 0.9665 GB, free: 93.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005013/1.75, allocations: 4.618 MB / 0.971 GB, free: 91.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.752, allocations: 0.5798 MB / 0.9716 GB, free: 90.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005184/1.752, allocations: 56.78 kB / 0.9716 GB, free: 90.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/1.754, allocations: 130.4 kB / 0.9718 GB, free: 90.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/1.754, allocations: 178 kB / 0.9719 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/1.754, allocations: 106.7 kB / 0.972 GB, free: 90.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005941/1.76, allocations: 3.451 MB / 0.9754 GB, free: 89.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.8e-07/1.76, allocations: 4 kB / 0.9754 GB, free: 89.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009208/1.769, allocations: 1.989 MB / 0.9774 GB, free: 87.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008159/1.77, allocations: 216 kB / 0.9776 GB, free: 87.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.781, allocations: 7.114 MB / 0.9845 GB, free: 81.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/1.781, allocations: 4 kB / 0.9845 GB, free: 81.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002718/1.784, allocations: 1.997 MB / 0.9865 GB, free: 79.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01356/1.798, allocations: 0.5996 MB / 0.987 GB, free: 79.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02928/1.827, allocations: 18.48 MB / 1.005 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00865/1.836, allocations: 5.424 MB / 1.01 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009486/1.845, allocations: 3.65 MB / 1.014 GB, free: 55.47 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.846, allocations: 377.8 kB / 1.014 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/1.846, allocations: 0 / 1.014 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.08576/1.932, allocations: 43.25 MB / 1.057 GB, free: 18.95 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches