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.00157/0.00157, allocations: 107.9 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001558, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 81.11 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1213, allocations: 62.43 MB / 479.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2683/0.3897, allocations: 41.05 MB / 0.5083 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01757/0.4073, allocations: 7.789 MB / 0.5159 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008934/0.4163, allocations: 177.4 kB / 0.5161 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005499/0.4219, allocations: 2.062 MB / 0.5181 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007934/0.4298, allocations: 2.356 MB / 0.5204 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.4311, allocations: 282.3 kB / 0.5207 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0106/0.4417, allocations: 6.786 MB / 0.5273 GB, free: 6.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005899/0.4477, allocations: 3.488 MB / 0.5307 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003885/0.4516, allocations: 2.158 MB / 0.5328 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003927/0.4555, allocations: 3.08 MB / 0.5358 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001238/0.4568, allocations: 391.4 kB / 0.5362 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.4589, allocations: 0.8136 MB / 0.537 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00218/0.4611, allocations: 2.769 MB / 0.5397 GB, free: 236 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003229/0.4643, allocations: 3.337 MB / 0.543 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00932/0.4737, allocations: 10.11 MB / 0.5528 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4737, allocations: 0 / 0.5528 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4737, allocations: 4 kB / 0.5528 GB, free: 3.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002848/0.474, allocations: 0 / 0.5528 GB, free: 3.957 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.01191/0.4859, allocations: 6.963 MB / 0.5596 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.486, allocations: 12.03 kB / 0.5597 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01898/0.505, allocations: 5.863 MB / 0.5654 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00589/0.5109, allocations: 3.245 MB / 0.5686 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.5111, allocations: 325.5 kB / 0.5689 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009647/0.5121, allocations: 419.9 kB / 0.5693 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02777/0.5399, allocations: 18.88 MB / 0.5877 GB, free: 32 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.54, allocations: 35.67 kB / 0.5877 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006782/0.5407, allocations: 205.6 kB / 0.5879 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007055/0.5478, allocations: 4.751 MB / 0.5926 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03337/0.5812, allocations: 17.53 MB / 0.6097 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0909/0.6721, allocations: 61.24 MB / 0.6695 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01544/0.6876, allocations: 8.421 MB / 0.6777 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004309/0.692, allocations: 2.586 MB / 0.6803 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0201/0.7121, allocations: 11.87 MB / 0.6918 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.7122, allocations: 60.56 kB / 0.6919 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 6.703e-06/0.7122, allocations: 0 / 0.6919 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01777/0.7299, allocations: 7.517 MB / 0.6992 GB, free: 11.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.7301, allocations: 103.1 kB / 0.6993 GB, free: 11.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008071/0.7381, allocations: 5.66 MB / 0.7049 GB, free: 5.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003045/0.7385, allocations: 68.67 kB / 0.7049 GB, free: 5.922 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003422/0.7419, allocations: 5.078 MB / 0.7099 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.2442/0.9862, allocations: 1.188 MB / 0.7111 GB, free: 191.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003239/0.9895, allocations: 1.906 MB / 0.7129 GB, free: 191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.356e-05/0.9895, allocations: 306.4 kB / 0.7132 GB, free: 190.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004712/0.9942, allocations: 3.207 MB / 0.7163 GB, free: 189.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007569/1.002, allocations: 8.652 MB / 0.7248 GB, free: 181.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/1.014, allocations: 12.9 MB / 0.7374 GB, free: 171.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000304/1.015, allocations: 57.62 kB / 0.7374 GB, free: 171.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01875/1.033, allocations: 11.66 MB / 0.7488 GB, free: 167.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.00025/1.034, allocations: 87.88 kB / 0.7489 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003345/1.034, allocations: 191 kB / 0.7491 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002781/1.034, allocations: 251 kB / 0.7493 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006306/1.041, allocations: 2.077 MB / 0.7514 GB, free: 166.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003731/1.041, allocations: 372.7 kB / 0.7517 GB, free: 166.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008453/1.049, allocations: 1.322 MB / 0.753 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002569/1.052, allocations: 0.5519 MB / 0.7535 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.01295/1.065, allocations: 3.702 MB / 0.7572 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001595/1.067, allocations: 486.3 kB / 0.7576 GB, free: 163.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/1.069, allocations: 0.6476 MB / 0.7583 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001506/1.069, allocations: 60.28 kB / 0.7583 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.641e-05/1.069, allocations: 3.938 kB / 0.7583 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.491e-05/1.069, allocations: 10.97 kB / 0.7583 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02489/1.094, allocations: 12.63 MB / 0.7707 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/1.094, allocations: 16.56 kB / 0.7707 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/1.096, allocations: 422.9 kB / 0.7711 GB, free: 151.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-05/1.096, allocations: 24.66 kB / 0.7711 GB, free: 151.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/1.096, allocations: 63.11 kB / 0.7712 GB, free: 151.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-05/1.096, allocations: 35.81 kB / 0.7712 GB, free: 151.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/1.096, allocations: 19.94 kB / 0.7712 GB, free: 151.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004588/1.101, allocations: 4.627 MB / 0.7757 GB, free: 147.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000936/1.102, allocations: 0.5699 MB / 0.7763 GB, free: 146.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005405/1.102, allocations: 56.45 kB / 0.7763 GB, free: 146.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.104, allocations: 133.8 kB / 0.7765 GB, free: 146.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/1.104, allocations: 170.8 kB / 0.7766 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/1.104, allocations: 103.6 kB / 0.7767 GB, free: 146.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004531/1.109, allocations: 3.492 MB / 0.7801 GB, free: 143.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.744e-06/1.109, allocations: 0 / 0.7801 GB, free: 143.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008993/1.118, allocations: 1.949 MB / 0.782 GB, free: 141.6 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.0009557/1.119, allocations: 197.4 kB / 0.7822 GB, free: 141.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01808/1.137, allocations: 12.64 MB / 0.7946 GB, free: 129.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-05/1.137, allocations: 0 / 0.7946 GB, free: 129.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/1.139, allocations: 2.005 MB / 0.7965 GB, free: 127.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/1.143, allocations: 0.6275 MB / 0.7971 GB, free: 126.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02484/1.167, allocations: 19.24 MB / 0.8159 GB, free: 107.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006206/1.174, allocations: 5.41 MB / 0.8212 GB, free: 101.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007793/1.182, allocations: 3.547 MB / 0.8247 GB, free: 98.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.183, allocations: 375.4 kB / 0.825 GB, free: 97.75 MB / 0.545 GB Notification: Performance of SimCode: time 7.31e-07/1.183, allocations: 0 / 0.825 GB, free: 97.75 MB / 0.545 GB Notification: Performance of Templates: time 0.07825/1.261, allocations: 45.47 MB / 0.8694 GB, free: 52.56 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches