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.001069/0.001069, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.2 MB / 245 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009137/0.0009136, allocations: 105.8 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3081/0.3081, allocations: 45.22 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002413/0.0002413, allocations: 8 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3013, allocations: 63.25 MB / 0.5192 GB, free: 44 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.4132, allocations: 98.65 MB / 0.6155 GB, free: 6.961 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.4135, allocations: 81.06 kB / 0.6156 GB, free: 6.883 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5336/0.947, allocations: 142.9 MB / 0.7552 GB, free: 94.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9471, allocations: 0 / 0.7552 GB, free: 94.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002792/0.9474, allocations: 126.4 kB / 0.7553 GB, free: 94.1 MB / 0.4948 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.01753/0.9649, allocations: 6.281 MB / 0.7614 GB, free: 91.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.965, allocations: 6.812 kB / 0.7614 GB, free: 91.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02365/0.9886, allocations: 6.544 MB / 0.7678 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/0.9996, allocations: 4.294 MB / 0.772 GB, free: 88.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004197/1, allocations: 0.5037 MB / 0.7725 GB, free: 88.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003252/1.003, allocations: 0.6566 MB / 0.7732 GB, free: 88.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03/1.033, allocations: 18.14 MB / 0.7909 GB, free: 80.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/1.033, allocations: 39.06 kB / 0.7909 GB, free: 80.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009825/1.034, allocations: 312.2 kB / 0.7912 GB, free: 80.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001959/1.036, allocations: 2.15 MB / 0.7933 GB, free: 79.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02456/1.061, allocations: 17.48 MB / 0.8104 GB, free: 62.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07028/1.131, allocations: 61.83 MB / 0.8708 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/1.145, allocations: 8.434 MB / 0.879 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02002/1.165, allocations: 11.85 MB / 0.8906 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/1.165, allocations: 56.56 kB / 0.8906 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=321): time 7.003e-06/1.165, allocations: 0 / 0.8906 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321): time 0.01709/1.182, allocations: 8.552 MB / 0.899 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/1.182, allocations: 99.11 kB / 0.8991 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2347/1.417, allocations: 5.011 MB / 0.904 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005058/1.417, allocations: 61.98 kB / 0.904 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003582/1.421, allocations: 5.093 MB / 0.909 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001366/1.422, allocations: 1.201 MB / 0.9102 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004901/1.423, allocations: 177.3 kB / 0.9103 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000409/1.423, allocations: 0.7157 MB / 0.911 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003598/1.427, allocations: 3.088 MB / 0.914 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005508/1.432, allocations: 8.459 MB / 0.9223 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006016/1.438, allocations: 5.177 MB / 0.9274 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001359/1.438, allocations: 54.66 kB / 0.9274 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01975/1.458, allocations: 11.36 MB / 0.9385 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/1.458, allocations: 93.16 kB / 0.9386 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002702/1.459, allocations: 188.8 kB / 0.9388 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/1.459, allocations: 281.7 kB / 0.939 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006549/1.466, allocations: 2.073 MB / 0.9411 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003505/1.466, allocations: 374.9 kB / 0.9414 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00722/1.473, allocations: 1.296 MB / 0.9427 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002302/1.475, allocations: 0.5424 MB / 0.9432 GB, free: 103.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 863 * 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 (1135): * Single equations (assignments): 1123 * 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.008559/1.484, allocations: 3.696 MB / 0.9468 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009041/1.485, allocations: 486.5 kB / 0.9473 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/1.486, allocations: 0.6548 MB / 0.9479 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.882e-05/1.487, allocations: 58.48 kB / 0.948 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/1.487, allocations: 1.062 kB / 0.948 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/1.487, allocations: 12.09 kB / 0.948 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0204/1.507, allocations: 12.67 MB / 0.9604 GB, free: 97.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/1.507, allocations: 11.78 kB / 0.9604 GB, free: 97.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/1.509, allocations: 418 kB / 0.9608 GB, free: 96.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-05/1.509, allocations: 27.89 kB / 0.9608 GB, free: 96.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/1.509, allocations: 63.11 kB / 0.9609 GB, free: 96.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.172e-05/1.509, allocations: 33.61 kB / 0.9609 GB, free: 96.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.509, allocations: 20.05 kB / 0.9609 GB, free: 96.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005088/1.514, allocations: 6.583 MB / 0.9674 GB, free: 92.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.515, allocations: 0.5812 MB / 0.9679 GB, free: 92.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004706/1.516, allocations: 60.41 kB / 0.968 GB, free: 92.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/1.517, allocations: 126.7 kB / 0.9681 GB, free: 92.05 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/1.517, allocations: 184.8 kB / 0.9683 GB, free: 91.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/1.518, allocations: 98.47 kB / 0.9684 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004683/1.522, allocations: 3.451 MB / 0.9717 GB, free: 90.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/1.522, allocations: 0 / 0.9717 GB, free: 90.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007941/1.53, allocations: 1.993 MB / 0.9737 GB, free: 90.3 MB / 0.5261 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 (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.0006003/1.531, allocations: 202.9 kB / 0.9739 GB, free: 90.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009767/1.541, allocations: 7.121 MB / 0.9808 GB, free: 87.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.541, allocations: 3.75 kB / 0.9808 GB, free: 87.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/1.543, allocations: 1.996 MB / 0.9828 GB, free: 87.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/1.546, allocations: 0.5742 MB / 0.9833 GB, free: 87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03365/1.58, allocations: 18.42 MB / 1.001 GB, free: 76.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01207/1.592, allocations: 5.575 MB / 1.007 GB, free: 72.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01019/1.602, allocations: 3.663 MB / 1.01 GB, free: 70.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/1.604, allocations: 369.9 kB / 1.011 GB, free: 70.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.263e-06/1.604, allocations: 3.938 kB / 1.011 GB, free: 70.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.08233/1.686, allocations: 43.09 MB / 1.053 GB, free: 37.8 MB / 0.5261 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