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.001801/0.001801, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 92.88 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.314/0.314, allocations: 44.84 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 63.91 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2972, allocations: 62.02 MB / 0.5151 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.03183/0.3291, allocations: 41.34 MB / 0.5555 GB, free: 8.293 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01785/0.347, allocations: 7.947 MB / 0.5633 GB, free: 3.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01113/0.3582, allocations: 176.6 kB / 0.5634 GB, free: 2.996 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006043/0.3643, allocations: 2.119 MB / 0.5655 GB, free: 2.086 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008503/0.3728, allocations: 2.402 MB / 0.5679 GB, free: 1.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.3744, allocations: 276.9 kB / 0.5681 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01375/0.3881, allocations: 9.402 MB / 0.5773 GB, free: 9.785 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006216/0.3944, allocations: 3.277 MB / 0.5805 GB, free: 6.465 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00378/0.3982, allocations: 1.883 MB / 0.5823 GB, free: 4.574 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004354/0.4026, allocations: 2.954 MB / 0.5852 GB, free: 1.609 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001728/0.4044, allocations: 280 kB / 0.5855 GB, free: 1.336 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.4072, allocations: 0.7372 MB / 0.5862 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00342/0.4106, allocations: 2.707 MB / 0.5889 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004781/0.4154, allocations: 3.275 MB / 0.5921 GB, free: 10.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.4266, allocations: 10.04 MB / 0.6019 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4267, allocations: 0 / 0.6019 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4267, allocations: 0 / 0.6019 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003943/0.4271, allocations: 0 / 0.6019 GB, free: 0.5078 MB / 410.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.01485/0.4419, allocations: 7.041 MB / 0.6087 GB, free: 9.387 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.442, allocations: 8.031 kB / 0.6088 GB, free: 9.379 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01953/0.4615, allocations: 5.863 MB / 0.6145 GB, free: 3.496 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007601/0.4692, allocations: 3.245 MB / 0.6176 GB, free: 188 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/0.4695, allocations: 328.4 kB / 0.618 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/0.4708, allocations: 419.6 kB / 0.6184 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03034/0.5012, allocations: 18.89 MB / 0.6368 GB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.5014, allocations: 39.62 kB / 0.6368 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/0.5025, allocations: 203.7 kB / 0.637 GB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007289/0.5098, allocations: 4.75 MB / 0.6417 GB, free: 6.816 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03297/0.5429, allocations: 17.53 MB / 0.6588 GB, free: 5.262 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3193/0.8622, allocations: 61.23 MB / 0.7186 GB, free: 83.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01469/0.8769, allocations: 8.427 MB / 0.7268 GB, free: 79.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/0.8807, allocations: 2.58 MB / 0.7293 GB, free: 78.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02031/0.9011, allocations: 11.88 MB / 0.7409 GB, free: 73.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.9011, allocations: 67.44 kB / 0.741 GB, free: 72.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=321): time 6.913e-06/0.9012, allocations: 1.219 kB / 0.741 GB, free: 72.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=321): time 0.01519/0.9164, allocations: 7.509 MB / 0.7483 GB, free: 71.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.9164, allocations: 98.98 kB / 0.7484 GB, free: 70.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008969/0.9254, allocations: 5.684 MB / 0.754 GB, free: 68.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005222/0.926, allocations: 64.84 kB / 0.754 GB, free: 68.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002849/0.9288, allocations: 5.07 MB / 0.759 GB, free: 64.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001425/0.9303, allocations: 1.202 MB / 0.7602 GB, free: 64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002313/0.9326, allocations: 1.898 MB / 0.762 GB, free: 62.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.279e-05/0.9327, allocations: 309 kB / 0.7623 GB, free: 62.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003686/0.9364, allocations: 3.207 MB / 0.7655 GB, free: 61.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005868/0.9422, allocations: 8.65 MB / 0.7739 GB, free: 51.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.9527, allocations: 12.91 MB / 0.7865 GB, free: 36.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001553/0.9529, allocations: 60 kB / 0.7866 GB, free: 35.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01618/0.9691, allocations: 11.65 MB / 0.7979 GB, free: 24.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.889e-05/0.9692, allocations: 88 kB / 0.798 GB, free: 24.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001651/0.9694, allocations: 188 kB / 0.7982 GB, free: 24.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.9696, allocations: 260 kB / 0.7984 GB, free: 23.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006099/0.9757, allocations: 2.067 MB / 0.8005 GB, free: 21.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003017/0.976, allocations: 382.5 kB / 0.8008 GB, free: 21.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007379/0.9834, allocations: 1.328 MB / 0.8021 GB, free: 19.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/0.9847, allocations: 0.5616 MB / 0.8027 GB, free: 19.43 MB / 490.7 MB 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.004803/0.9895, allocations: 3.699 MB / 0.8063 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006157/0.9901, allocations: 489.4 kB / 0.8068 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.9914, allocations: 0.645 MB / 0.8074 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-05/0.9914, allocations: 57.94 kB / 0.8074 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/0.9915, allocations: 0 / 0.8074 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.9915, allocations: 7.969 kB / 0.8074 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/1.008, allocations: 12.63 MB / 0.8198 GB, free: 1.656 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/1.008, allocations: 15.98 kB / 0.8198 GB, free: 1.641 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/1.01, allocations: 427.3 kB / 0.8202 GB, free: 1.223 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.011e-05/1.01, allocations: 28.06 kB / 0.8202 GB, free: 1.195 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/1.01, allocations: 52 kB / 0.8203 GB, free: 1.145 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.795e-05/1.01, allocations: 31.92 kB / 0.8203 GB, free: 1.113 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/1.01, allocations: 23.88 kB / 0.8203 GB, free: 1.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008537/1.019, allocations: 8.288 MB / 0.8284 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.02, allocations: 0.5682 MB / 0.829 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005238/1.02, allocations: 55.98 kB / 0.829 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/1.022, allocations: 127.8 kB / 0.8292 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/1.022, allocations: 180.8 kB / 0.8293 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/1.023, allocations: 99.97 kB / 0.8294 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005637/1.028, allocations: 3.494 MB / 0.8328 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.71e-07/1.028, allocations: 0 / 0.8328 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00889/1.037, allocations: 1.987 MB / 0.8348 GB, free: 2.004 MB / 0.4948 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.0008022/1.038, allocations: 208 kB / 0.835 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.05, allocations: 7.271 MB / 0.8421 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/1.05, allocations: 4 kB / 0.8421 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002707/1.052, allocations: 2 MB / 0.844 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/1.056, allocations: 0.5962 MB / 0.8446 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02917/1.085, allocations: 21.15 MB / 0.8653 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009262/1.094, allocations: 5.517 MB / 0.8707 GB, free: 13 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008476/1.103, allocations: 3.543 MB / 0.8741 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.104, allocations: 379.4 kB / 0.8745 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/1.104, allocations: 0 / 0.8745 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of Templates: time 0.2954/1.399, allocations: 45.62 MB / 0.919 GB, free: 158.2 MB / 0.5417 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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