Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 93.92 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2738/0.2738, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.45e-05/7.469e-05, allocations: 7.984 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/0.6042, allocations: 96.06 MB / 0.5666 GB, free: 7.711 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.6046, allocations: 84.3 kB / 0.5667 GB, free: 7.668 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6083/1.213, allocations: 139.4 MB / 0.7028 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.414e-06/1.213, allocations: 0 / 0.7028 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003227/1.213, allocations: 116 kB / 0.7029 GB, free: 3.457 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.3708/1.584, allocations: 6.075 MB / 0.7088 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/1.584, allocations: 9.281 kB / 0.7088 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05074/1.635, allocations: 6.54 MB / 0.7152 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02194/1.657, allocations: 4.285 MB / 0.7194 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001251/1.658, allocations: 0.5058 MB / 0.7199 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006666/1.665, allocations: 0.6543 MB / 0.7205 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08198/1.747, allocations: 18 MB / 0.7381 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000524/1.748, allocations: 37.44 kB / 0.7381 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005856/1.753, allocations: 313.2 kB / 0.7384 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006764/1.76, allocations: 2.153 MB / 0.7405 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05621/1.817, allocations: 17.24 MB / 0.7574 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1251/1.942, allocations: 61.82 MB / 0.8178 GB, free: 60.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02307/1.965, allocations: 8.399 MB / 0.826 GB, free: 53.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006009/1.971, allocations: 2.543 MB / 0.8284 GB, free: 50.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03452/2.006, allocations: 11.85 MB / 0.84 GB, free: 40.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/2.006, allocations: 56.56 kB / 0.8401 GB, free: 40.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=321): time 8.266e-06/2.006, allocations: 0 / 0.8401 GB, free: 40.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=321): time 0.02593/2.032, allocations: 5.786 MB / 0.8457 GB, free: 35.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/2.032, allocations: 107.1 kB / 0.8458 GB, free: 35.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01191/2.044, allocations: 4.961 MB / 0.8507 GB, free: 30.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005918/2.044, allocations: 57.7 kB / 0.8507 GB, free: 30.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004238/2.049, allocations: 5 MB / 0.8556 GB, free: 26.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002202/2.051, allocations: 1.203 MB / 0.8568 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/2.052, allocations: 176 kB / 0.8569 GB, free: 25.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009574/2.053, allocations: 0.7203 MB / 0.8576 GB, free: 24.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00781/2.061, allocations: 3.028 MB / 0.8606 GB, free: 21.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01178/2.073, allocations: 8.394 MB / 0.8688 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/2.084, allocations: 5.169 MB / 0.8738 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001965/2.085, allocations: 56 kB / 0.8739 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02966/2.114, allocations: 11.09 MB / 0.8847 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/2.115, allocations: 87.95 kB / 0.8848 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003252/2.115, allocations: 191.9 kB / 0.885 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/2.115, allocations: 280.8 kB / 0.8853 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01358/2.129, allocations: 2.074 MB / 0.8873 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004786/2.129, allocations: 374.6 kB / 0.8876 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/2.14, allocations: 1.291 MB / 0.8889 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002308/2.143, allocations: 0.5344 MB / 0.8894 GB, free: 7.043 MB / 0.5105 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 () * 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.003067/2.146, allocations: 0.7814 MB / 0.8902 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/2.147, allocations: 485.5 kB / 0.8907 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/2.15, allocations: 0.6605 MB / 0.8913 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001634/2.15, allocations: 62.47 kB / 0.8914 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/2.15, allocations: 0 / 0.8914 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/2.15, allocations: 7.969 kB / 0.8914 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.406/2.556, allocations: 12.62 MB / 0.9037 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.06e-05/2.556, allocations: 14 kB / 0.9037 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004047/2.56, allocations: 423.7 kB / 0.9041 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/2.56, allocations: 24.72 kB / 0.9041 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006171/2.561, allocations: 64.48 kB / 0.9042 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.248e-05/2.561, allocations: 32.19 kB / 0.9042 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.048e-05/2.561, allocations: 22.06 kB / 0.9042 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/2.573, allocations: 6.553 MB / 0.9106 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/2.575, allocations: 0.584 MB / 0.9112 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001794/2.577, allocations: 55.98 kB / 0.9113 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004155/2.581, allocations: 128.1 kB / 0.9114 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009841/2.582, allocations: 182.6 kB / 0.9116 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005434/2.583, allocations: 96.31 kB / 0.9117 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01139/2.594, allocations: 3.411 MB / 0.915 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.903e-06/2.594, allocations: 2.531 kB / 0.915 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01077/2.605, allocations: 1.99 MB / 0.9169 GB, free: 101.9 MB / 0.5105 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 () * 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.001173/2.606, allocations: 198.7 kB / 0.9171 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01577/2.622, allocations: 7.039 MB / 0.924 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.951e-05/2.622, allocations: 3.906 kB / 0.924 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004671/2.627, allocations: 1.982 MB / 0.9259 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004614/2.632, allocations: 0.5657 MB / 0.9265 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04812/2.68, allocations: 13.67 MB / 0.9398 GB, free: 98.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01917/2.699, allocations: 5.599 MB / 0.9453 GB, free: 97.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003857/2.703, allocations: 448.3 kB / 0.9457 GB, free: 97.87 MB / 0.5105 GB Notification: Performance of SimCode: time 2.305e-06/2.703, allocations: 3.531 kB / 0.9457 GB, free: 97.87 MB / 0.5105 GB Notification: Performance of Templates: time 0.1908/2.894, allocations: 90.16 MB / 1.034 GB, free: 46.39 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches