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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001561/0.001561, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 46.11 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 77.28 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 62.44 MB / 479.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2601/0.3761, allocations: 41.05 MB / 0.5088 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01793/0.3941, allocations: 7.833 MB / 0.5164 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009769/0.4039, allocations: 180.1 kB / 0.5166 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005105/0.409, allocations: 2.117 MB / 0.5187 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00724/0.4164, allocations: 2.382 MB / 0.521 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.4175, allocations: 282.6 kB / 0.5213 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01284/0.4304, allocations: 9.289 MB / 0.5303 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00539/0.4359, allocations: 3.279 MB / 0.5335 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00398/0.4399, allocations: 1.866 MB / 0.5354 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004137/0.444, allocations: 2.937 MB / 0.5382 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.4452, allocations: 285.2 kB / 0.5385 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.4475, allocations: 0.7305 MB / 0.5392 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002893/0.4504, allocations: 2.662 MB / 0.5418 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004937/0.4554, allocations: 3.234 MB / 0.545 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009642/0.4651, allocations: 8.236 MB / 0.553 GB, free: 4.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.4651, allocations: 0 / 0.553 GB, free: 4.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4651, allocations: 0 / 0.553 GB, free: 4.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003985/0.4655, allocations: 0 / 0.553 GB, free: 4.227 MB / 398.1 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.01479/0.4803, allocations: 6.973 MB / 0.5598 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.4804, allocations: 8.875 kB / 0.5598 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01875/0.4992, allocations: 5.856 MB / 0.5655 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007449/0.5067, allocations: 3.255 MB / 0.5687 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.507, allocations: 321.7 kB / 0.569 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002296/0.5093, allocations: 418.7 kB / 0.5694 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03288/0.5422, allocations: 18.89 MB / 0.5879 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.5424, allocations: 39.62 kB / 0.5879 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008451/0.5432, allocations: 201.9 kB / 0.5881 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006984/0.5502, allocations: 4.75 MB / 0.5927 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0339/0.5842, allocations: 17.53 MB / 0.6099 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09063/0.6748, allocations: 61.24 MB / 0.6697 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0157/0.6906, allocations: 8.425 MB / 0.6779 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004012/0.6947, allocations: 2.575 MB / 0.6804 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02107/0.7158, allocations: 11.88 MB / 0.692 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.7159, allocations: 56.55 kB / 0.6921 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 7.524e-06/0.7159, allocations: 0 / 0.6921 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01869/0.7346, allocations: 7.515 MB / 0.6994 GB, free: 12.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.7347, allocations: 103.1 kB / 0.6995 GB, free: 11.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01118/0.7459, allocations: 5.664 MB / 0.705 GB, free: 6.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004772/0.7464, allocations: 67.02 kB / 0.7051 GB, free: 6.188 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004828/0.7513, allocations: 5.071 MB / 0.71 GB, free: 1.117 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.2467/0.998, allocations: 1.2 MB / 0.7112 GB, free: 191.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004239/1.002, allocations: 1.905 MB / 0.7131 GB, free: 191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.869e-05/1.002, allocations: 308.6 kB / 0.7134 GB, free: 190.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005482/1.008, allocations: 3.208 MB / 0.7165 GB, free: 190 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008788/1.017, allocations: 8.649 MB / 0.725 GB, free: 181.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01377/1.03, allocations: 12.91 MB / 0.7376 GB, free: 171.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003821/1.031, allocations: 53.62 kB / 0.7376 GB, free: 171.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02026/1.051, allocations: 11.65 MB / 0.749 GB, free: 167.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/1.051, allocations: 85.72 kB / 0.7491 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002469/1.052, allocations: 193 kB / 0.7493 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/1.052, allocations: 253.3 kB / 0.7495 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006379/1.058, allocations: 2.073 MB / 0.7515 GB, free: 166.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002618/1.058, allocations: 369.6 kB / 0.7519 GB, free: 166.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007158/1.066, allocations: 1.336 MB / 0.7532 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001717/1.067, allocations: 0.55 MB / 0.7537 GB, free: 166.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * 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 (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006263/1.074, allocations: 3.706 MB / 0.7573 GB, free: 164.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008997/1.075, allocations: 485.5 kB / 0.7578 GB, free: 163.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/1.076, allocations: 0.6405 MB / 0.7584 GB, free: 163.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.639e-05/1.076, allocations: 59.58 kB / 0.7585 GB, free: 163.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/1.076, allocations: 3.938 kB / 0.7585 GB, free: 163.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/1.076, allocations: 10.97 kB / 0.7585 GB, free: 163.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/1.094, allocations: 12.63 MB / 0.7708 GB, free: 152.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.094, allocations: 12.66 kB / 0.7708 GB, free: 152.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/1.096, allocations: 423.3 kB / 0.7712 GB, free: 152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.727e-05/1.096, allocations: 20 kB / 0.7713 GB, free: 151.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/1.096, allocations: 56 kB / 0.7713 GB, free: 151.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.966e-05/1.096, allocations: 39.52 kB / 0.7714 GB, free: 151.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.096, allocations: 15.94 kB / 0.7714 GB, free: 151.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004447/1.101, allocations: 4.634 MB / 0.7759 GB, free: 147.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/1.102, allocations: 0.5601 MB / 0.7764 GB, free: 146.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000631/1.102, allocations: 63.28 kB / 0.7765 GB, free: 146.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/1.104, allocations: 134.1 kB / 0.7766 GB, free: 146.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/1.104, allocations: 174.3 kB / 0.7768 GB, free: 146.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/1.104, allocations: 99.69 kB / 0.7769 GB, free: 146.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004521/1.109, allocations: 3.498 MB / 0.7803 GB, free: 143.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.4e-07/1.109, allocations: 0 / 0.7803 GB, free: 143.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007653/1.116, allocations: 1.946 MB / 0.7822 GB, free: 141.7 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006232/1.117, allocations: 200.6 kB / 0.7824 GB, free: 141.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009523/1.127, allocations: 7.271 MB / 0.7895 GB, free: 134.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/1.127, allocations: 7.828 kB / 0.7895 GB, free: 134.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002151/1.129, allocations: 2.003 MB / 0.7915 GB, free: 132.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/1.132, allocations: 0.597 MB / 0.7921 GB, free: 132.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/1.157, allocations: 20.08 MB / 0.8117 GB, free: 111.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00655/1.163, allocations: 5.438 MB / 0.817 GB, free: 106.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/1.165, allocations: 447.4 kB / 0.8174 GB, free: 105.9 MB / 0.545 GB Notification: Performance of SimCode: time 9.81e-07/1.165, allocations: 0 / 0.8174 GB, free: 105.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1132/1.278, allocations: 92.17 MB / 0.9074 GB, free: 13.97 MB / 0.545 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches