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.00102/0.00102, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008371/0.0008371, allocations: 97.44 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1854/0.1854, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.371e-05/1.39e-05, allocations: 7.984 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09234/0.09236, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3612/0.4536, allocations: 97.91 MB / 0.6 GB, free: 4.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.4538, allocations: 75.83 kB / 0.6001 GB, free: 4.801 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3317/0.7855, allocations: 140.3 MB / 0.737 GB, free: 24 kB / 0.5105 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7856, allocations: 0 / 0.737 GB, free: 24 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000345/0.7859, allocations: 124 kB / 0.7371 GB, free: 15.9 MB / 0.5261 GB 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.01926/0.8052, allocations: 6.078 MB / 0.7431 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.8053, allocations: 16.02 kB / 0.7431 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0272/0.8325, allocations: 6.537 MB / 0.7495 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2828/1.115, allocations: 4.27 MB / 0.7537 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005278/1.116, allocations: 218.2 kB / 0.7539 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004541/1.12, allocations: 383.8 kB / 0.7542 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02455/1.145, allocations: 12.75 MB / 0.7667 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03292/1.178, allocations: 16.88 MB / 0.7832 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/1.178, allocations: 41.59 kB / 0.7832 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/1.179, allocations: 24.5 kB / 0.7832 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002097/1.181, allocations: 2.165 MB / 0.7853 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07255/1.254, allocations: 59.29 MB / 0.8432 GB, free: 84.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005603/1.26, allocations: 6.133 MB / 0.8492 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/1.262, allocations: 2.043 MB / 0.8512 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/1.263, allocations: 2.282 MB / 0.8535 GB, free: 78.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/1.263, allocations: 66.97 kB / 0.8535 GB, free: 78.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=341): time 6.202e-06/1.263, allocations: 0 / 0.8535 GB, free: 78.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=341): time 0.008934/1.272, allocations: 5.075 MB / 0.8585 GB, free: 76.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/1.272, allocations: 102.8 kB / 0.8586 GB, free: 76.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005467/1.278, allocations: 4.503 MB / 0.863 GB, free: 75.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002675/1.278, allocations: 25.7 kB / 0.863 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001989/1.28, allocations: 5.268 MB / 0.8681 GB, free: 70.72 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008935/1.281, allocations: 1.248 MB / 0.8694 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/1.281, allocations: 3.594 kB / 0.8694 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003769/1.282, allocations: 0.7525 MB / 0.8701 GB, free: 68.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003136/1.285, allocations: 3.106 MB / 0.8731 GB, free: 66.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005204/1.29, allocations: 8.937 MB / 0.8819 GB, free: 55.13 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005612/1.296, allocations: 5.42 MB / 0.8871 GB, free: 50.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.085e-05/1.296, allocations: 60 kB / 0.8872 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.01513/1.311, allocations: 10.85 MB / 0.8978 GB, free: 41.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.176e-05/1.311, allocations: 92 kB / 0.8979 GB, free: 41.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/1.311, allocations: 211.4 kB / 0.8981 GB, free: 40.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/1.311, allocations: 308.8 kB / 0.8984 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006206/1.318, allocations: 2.27 MB / 0.9006 GB, free: 38.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002059/1.318, allocations: 416.8 kB / 0.901 GB, free: 38.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006037/1.324, allocations: 1.138 MB / 0.9021 GB, free: 37.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009152/1.325, allocations: 0.5893 MB / 0.9027 GB, free: 36.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 949 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1249): * Single equations (assignments): 1237 * 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.0009323/1.326, allocations: 0.6105 MB / 0.9033 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005353/1.326, allocations: 469.7 kB / 0.9037 GB, free: 35.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/1.327, allocations: 0.6291 MB / 0.9043 GB, free: 34.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.7e-05/1.327, allocations: 62.38 kB / 0.9044 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.28e-05/1.327, allocations: 0 / 0.9044 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/1.327, allocations: 10.27 kB / 0.9044 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/1.344, allocations: 12.63 MB / 0.9167 GB, free: 23.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/1.344, allocations: 12 kB / 0.9168 GB, free: 23.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/1.346, allocations: 457.6 kB / 0.9172 GB, free: 23.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.849e-05/1.346, allocations: 24 kB / 0.9172 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/1.346, allocations: 24 kB / 0.9172 GB, free: 23.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.212e-05/1.346, allocations: 35.91 kB / 0.9173 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/1.346, allocations: 15.94 kB / 0.9173 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005199/1.352, allocations: 6.533 MB / 0.9237 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.353, allocations: 0.5503 MB / 0.9242 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004877/1.353, allocations: 23.8 kB / 0.9242 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.355, allocations: 91.98 kB / 0.9243 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/1.355, allocations: 186.2 kB / 0.9245 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/1.355, allocations: 103.5 kB / 0.9246 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004058/1.359, allocations: 2.94 MB / 0.9275 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.41e-07/1.359, allocations: 0 / 0.9275 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007635/1.367, allocations: 1.836 MB / 0.9293 GB, free: 11.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * 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.0005467/1.368, allocations: 177.9 kB / 0.9294 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00945/1.377, allocations: 7.182 MB / 0.9364 GB, free: 5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/1.377, allocations: 0 / 0.9364 GB, free: 5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/1.379, allocations: 2.112 MB / 0.9385 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/1.381, allocations: 368.7 kB / 0.9389 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02319/1.404, allocations: 13.01 MB / 0.9516 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006803/1.411, allocations: 5.574 MB / 0.957 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.2924/1.704, allocations: 3.961 MB / 0.9609 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/1.705, allocations: 368.4 kB / 0.9612 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.004e-06/1.705, allocations: 0 / 0.9612 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.0802/1.786, allocations: 36.55 MB / 0.9969 GB, free: 109.9 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/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