Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 226.5 MB / 244.1 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007285/0.0007286, allocations: 101.7 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2971/0.2971, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002683, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3153, allocations: 62.96 MB / 0.5165 GB, free: 36.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.4321, allocations: 98.57 MB / 0.6127 GB, free: 6.801 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4324, allocations: 71.97 kB / 0.6128 GB, free: 6.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5573/0.9897, allocations: 140.5 MB / 0.75 GB, free: 88.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.9898, allocations: 0 / 0.75 GB, free: 88.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000249/0.99, allocations: 120.9 kB / 0.7501 GB, free: 88.13 MB / 490.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.01861/1.009, allocations: 6.05 MB / 0.756 GB, free: 83.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.009, allocations: 11.03 kB / 0.7561 GB, free: 83.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03398/1.043, allocations: 6.532 MB / 0.7624 GB, free: 80.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/1.055, allocations: 4.335 MB / 0.7667 GB, free: 75.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005651/1.055, allocations: 0.5056 MB / 0.7672 GB, free: 75.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003853/1.059, allocations: 0.6564 MB / 0.7678 GB, free: 74.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0319/1.091, allocations: 18.07 MB / 0.7855 GB, free: 55.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/1.091, allocations: 35.81 kB / 0.7855 GB, free: 55.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/1.093, allocations: 311.7 kB / 0.7858 GB, free: 55.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002066/1.095, allocations: 2.157 MB / 0.7879 GB, free: 53.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02584/1.121, allocations: 17.36 MB / 0.8048 GB, free: 35.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07556/1.196, allocations: 61.74 MB / 0.8651 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01428/1.211, allocations: 8.425 MB / 0.8734 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003658/1.214, allocations: 2.563 MB / 0.8759 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2436/1.458, allocations: 11.77 MB / 0.8874 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/1.458, allocations: 65.19 kB / 0.8874 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=321): time 5.841e-06/1.458, allocations: 0 / 0.8874 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321): time 0.01525/1.473, allocations: 7.481 MB / 0.8947 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/1.473, allocations: 107.4 kB / 0.8948 GB, free: 125 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007677/1.481, allocations: 5.604 MB / 0.9003 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003723/1.482, allocations: 63.61 kB / 0.9004 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002896/1.484, allocations: 5.095 MB / 0.9053 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001391/1.486, allocations: 1.196 MB / 0.9065 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004715/1.486, allocations: 179.7 kB / 0.9067 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004963/1.487, allocations: 0.7201 MB / 0.9074 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004783/1.492, allocations: 3.091 MB / 0.9104 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007828/1.499, allocations: 8.493 MB / 0.9187 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/1.512, allocations: 12.64 MB / 0.931 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002939/1.512, allocations: 56.25 kB / 0.9311 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02103/1.533, allocations: 11.35 MB / 0.9422 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.533, allocations: 87.67 kB / 0.9423 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000261/1.534, allocations: 189.9 kB / 0.9424 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/1.534, allocations: 251.7 kB / 0.9427 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006738/1.541, allocations: 2.074 MB / 0.9447 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002813/1.541, allocations: 376.1 kB / 0.9451 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007836/1.549, allocations: 1.3 MB / 0.9463 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/1.55, allocations: 0.5364 MB / 0.9469 GB, free: 100.2 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.006788/1.557, allocations: 3.705 MB / 0.9505 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007219/1.558, allocations: 485.3 kB / 0.9509 GB, free: 98.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/1.559, allocations: 0.6577 MB / 0.9516 GB, free: 97.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.44e-05/1.559, allocations: 57.58 kB / 0.9516 GB, free: 97.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.974e-05/1.559, allocations: 7.094 kB / 0.9516 GB, free: 97.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/1.559, allocations: 11.02 kB / 0.9516 GB, free: 97.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/1.578, allocations: 12.66 MB / 0.964 GB, free: 93.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.578, allocations: 13.34 kB / 0.964 GB, free: 93.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/1.58, allocations: 425.3 kB / 0.9644 GB, free: 93.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-05/1.58, allocations: 21.72 kB / 0.9644 GB, free: 93.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/1.58, allocations: 61.56 kB / 0.9645 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-05/1.58, allocations: 32.11 kB / 0.9645 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/1.58, allocations: 29.41 kB / 0.9646 GB, free: 93.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004667/1.585, allocations: 4.609 MB / 0.9691 GB, free: 91.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.586, allocations: 0.5965 MB / 0.9696 GB, free: 90.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004737/1.586, allocations: 54.2 kB / 0.9697 GB, free: 90.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/1.588, allocations: 130.8 kB / 0.9698 GB, free: 90.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/1.588, allocations: 175.6 kB / 0.97 GB, free: 90.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/1.588, allocations: 101 kB / 0.9701 GB, free: 90.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00496/1.593, allocations: 3.456 MB / 0.9735 GB, free: 89.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.593, allocations: 0.8438 kB / 0.9735 GB, free: 89.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008069/1.601, allocations: 1.991 MB / 0.9754 GB, free: 87.89 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.0005003/1.602, allocations: 209.7 kB / 0.9756 GB, free: 87.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008833/1.61, allocations: 7.114 MB / 0.9826 GB, free: 81.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/1.61, allocations: 384 / 0.9826 GB, free: 81.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001987/1.612, allocations: 2.002 MB / 0.9845 GB, free: 79.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01103/1.624, allocations: 0.5955 MB / 0.9851 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02426/1.648, allocations: 19.33 MB / 1.004 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006218/1.654, allocations: 5.442 MB / 1.009 GB, free: 57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/1.656, allocations: 448.2 kB / 1.01 GB, free: 56.57 MB / 0.5261 GB Notification: Performance of SimCode: time 8.02e-07/1.656, allocations: 0 / 1.01 GB, free: 56.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.3458/2.001, allocations: 91.38 MB / 1.099 GB, free: 126.2 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches