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.0007744/0.0007744, allocations: 93.97 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008767/0.0008767, allocations: 202 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1963/0.1963, allocations: 46.19 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002966, allocations: 4 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 63.57 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2502/0.366, allocations: 39.84 MB / 0.5113 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.382, allocations: 7.791 MB / 0.5189 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008219/0.3903, allocations: 179.2 kB / 0.5191 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.3928, allocations: 0.7546 MB / 0.5198 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007121/0.3999, allocations: 2.387 MB / 0.5222 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.4011, allocations: 283.6 kB / 0.5224 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.4137, allocations: 9.283 MB / 0.5315 GB, free: 6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007103/0.4208, allocations: 4.137 MB / 0.5355 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003853/0.4247, allocations: 1.75 MB / 0.5372 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003938/0.4287, allocations: 2.795 MB / 0.54 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.43, allocations: 230.9 kB / 0.5402 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.4325, allocations: 0.6848 MB / 0.5409 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003005/0.4355, allocations: 2.629 MB / 0.5434 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005253/0.4408, allocations: 3.164 MB / 0.5465 GB, free: 13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009517/0.4503, allocations: 8.053 MB / 0.5544 GB, free: 5.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.4504, allocations: 0 / 0.5544 GB, free: 5.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.781e-06/0.4504, allocations: 0 / 0.5544 GB, free: 5.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004604/0.4508, allocations: 3.938 kB / 0.5544 GB, free: 5.191 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.0112/0.462, allocations: 5.639 MB / 0.5599 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4621, allocations: 12.88 kB / 0.5599 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02052/0.4826, allocations: 6.029 MB / 0.5658 GB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006738/0.4894, allocations: 3.247 MB / 0.569 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/0.4898, allocations: 324.6 kB / 0.5693 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001804/0.4916, allocations: 421.9 kB / 0.5697 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03383/0.5254, allocations: 18.89 MB / 0.5881 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001783/0.5257, allocations: 31.69 kB / 0.5881 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001671/0.5274, allocations: 208.4 kB / 0.5883 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008216/0.5356, allocations: 4.752 MB / 0.593 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03369/0.5693, allocations: 17.53 MB / 0.6101 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08542/0.6548, allocations: 61.28 MB / 0.6699 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01559/0.6704, allocations: 8.427 MB / 0.6782 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00418/0.6746, allocations: 2.577 MB / 0.6807 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02141/0.6961, allocations: 11.88 MB / 0.6923 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.6962, allocations: 56.55 kB / 0.6923 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 8.426e-06/0.6962, allocations: 7.938 kB / 0.6924 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01864/0.7148, allocations: 7.511 MB / 0.6997 GB, free: 13.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.7149, allocations: 107 kB / 0.6998 GB, free: 13.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/0.7257, allocations: 5.668 MB / 0.7053 GB, free: 8.137 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004774/0.7263, allocations: 68.75 kB / 0.7054 GB, free: 8.066 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004348/0.7306, allocations: 5.075 MB / 0.7103 GB, free: 2.996 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001723/0.7324, allocations: 1.198 MB / 0.7115 GB, free: 1.809 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001824/0.7342, allocations: 0.8188 MB / 0.7123 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.7343, allocations: 309.1 kB / 0.7126 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2316/0.9659, allocations: 3.204 MB / 0.7157 GB, free: 189.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009973/0.9759, allocations: 8.654 MB / 0.7242 GB, free: 181.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01482/0.9908, allocations: 12.9 MB / 0.7368 GB, free: 170.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004557/0.9913, allocations: 61.62 kB / 0.7368 GB, free: 170.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02123/1.013, allocations: 11.64 MB / 0.7482 GB, free: 166.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003323/1.013, allocations: 90.03 kB / 0.7483 GB, free: 166.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000366/1.013, allocations: 188 kB / 0.7485 GB, free: 166.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/1.014, allocations: 253.9 kB / 0.7487 GB, free: 166.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006316/1.02, allocations: 2.074 MB / 0.7508 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002144/1.02, allocations: 376.2 kB / 0.7511 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00686/1.027, allocations: 1.329 MB / 0.7524 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.028, allocations: 0.5544 MB / 0.753 GB, free: 166 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.006124/1.034, allocations: 3.699 MB / 0.7566 GB, free: 164.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00092/1.035, allocations: 486.9 kB / 0.757 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/1.037, allocations: 0.6504 MB / 0.7577 GB, free: 163.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.185e-05/1.037, allocations: 59.7 kB / 0.7577 GB, free: 163.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/1.037, allocations: 0 / 0.7577 GB, free: 163.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-05/1.037, allocations: 14.86 kB / 0.7577 GB, free: 163.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01921/1.056, allocations: 12.63 MB / 0.7701 GB, free: 153.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/1.056, allocations: 12 kB / 0.7701 GB, free: 153.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/1.058, allocations: 425.3 kB / 0.7705 GB, free: 153.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/1.058, allocations: 24.03 kB / 0.7705 GB, free: 153.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/1.058, allocations: 61.41 kB / 0.7706 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.947e-05/1.058, allocations: 31.69 kB / 0.7706 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/1.058, allocations: 23.88 kB / 0.7706 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00453/1.063, allocations: 4.632 MB / 0.7751 GB, free: 148.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.064, allocations: 0.5866 MB / 0.7757 GB, free: 148.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005203/1.064, allocations: 57.55 kB / 0.7758 GB, free: 148.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.066, allocations: 126.7 kB / 0.7759 GB, free: 148.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/1.066, allocations: 186.1 kB / 0.7761 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/1.066, allocations: 97.69 kB / 0.7762 GB, free: 147.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004549/1.071, allocations: 3.487 MB / 0.7796 GB, free: 145.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/1.071, allocations: 0 / 0.7796 GB, free: 145.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006671/1.077, allocations: 1.948 MB / 0.7815 GB, free: 143.2 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.000487/1.078, allocations: 209.9 kB / 0.7817 GB, free: 143 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009653/1.088, allocations: 7.275 MB / 0.7888 GB, free: 136.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-05/1.088, allocations: 0 / 0.7888 GB, free: 136.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002281/1.09, allocations: 2.004 MB / 0.7907 GB, free: 134.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01181/1.102, allocations: 0.5952 MB / 0.7913 GB, free: 133.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02443/1.126, allocations: 20.12 MB / 0.811 GB, free: 113.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005925/1.132, allocations: 5.432 MB / 0.8163 GB, free: 108.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/1.134, allocations: 455.4 kB / 0.8167 GB, free: 107.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/1.134, allocations: 0 / 0.8167 GB, free: 107.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1136/1.247, allocations: 90.77 MB / 0.9053 GB, free: 17.03 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