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.002024/0.002024, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 88.69 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2973/0.2973, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.426e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4045, allocations: 58.86 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1793/0.5839, allocations: 95.4 MB / 0.5591 GB, free: 3.902 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004313/0.5845, allocations: 71.97 kB / 0.5591 GB, free: 3.832 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9038/1.488, allocations: 136.5 MB / 0.6924 GB, free: 103.5 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.044e-06/1.488, allocations: 0 / 0.6924 GB, free: 103.5 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002912/1.489, allocations: 126.5 kB / 0.6925 GB, free: 103.5 MB / 475.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.02246/1.511, allocations: 6.062 MB / 0.6985 GB, free: 100.2 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/1.511, allocations: 11.88 kB / 0.6985 GB, free: 100.2 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04664/1.558, allocations: 6.538 MB / 0.7049 GB, free: 98.75 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01586/1.574, allocations: 4.273 MB / 0.709 GB, free: 96.31 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004723/1.574, allocations: 222.3 kB / 0.7092 GB, free: 96.3 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00464/1.579, allocations: 382.7 kB / 0.7096 GB, free: 96.3 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02967/1.609, allocations: 12.75 MB / 0.7221 GB, free: 85.41 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06003/1.669, allocations: 16.89 MB / 0.7385 GB, free: 67.77 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000368/1.669, allocations: 31.69 kB / 0.7386 GB, free: 67.74 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005108/1.674, allocations: 28 kB / 0.7386 GB, free: 67.71 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005872/1.68, allocations: 2.172 MB / 0.7407 GB, free: 65.55 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1666/1.847, allocations: 59.29 MB / 0.7986 GB, free: 5.105 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01514/1.862, allocations: 6.131 MB / 0.8046 GB, free: 14.53 MB / 491.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007517/1.87, allocations: 2.053 MB / 0.8066 GB, free: 12.47 MB / 491.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004555/1.874, allocations: 2.284 MB / 0.8088 GB, free: 9.809 MB / 491.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/1.875, allocations: 68.52 kB / 0.8089 GB, free: 9.73 MB / 491.1 MB Notification: Performance of pre-optimization done (n=341): time 1.253e-05/1.875, allocations: 0 / 0.8089 GB, free: 9.73 MB / 491.1 MB Notification: Performance of matching and sorting (n=341): time 0.0295/1.904, allocations: 5.085 MB / 0.8139 GB, free: 4.605 MB / 491.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.904, allocations: 103 kB / 0.814 GB, free: 4.484 MB / 491.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01798/1.922, allocations: 4.503 MB / 0.8184 GB, free: 15.98 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0008023/1.923, allocations: 33.7 kB / 0.8184 GB, free: 15.94 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.007981/1.931, allocations: 5.229 MB / 0.8235 GB, free: 10.64 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.003258/1.934, allocations: 1.245 MB / 0.8247 GB, free: 9.375 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001749/1.936, allocations: 0 / 0.8247 GB, free: 9.375 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.00209/1.938, allocations: 0.7566 MB / 0.8255 GB, free: 8.609 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01298/1.951, allocations: 3.104 MB / 0.8285 GB, free: 5.5 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4585/2.41, allocations: 8.941 MB / 0.8372 GB, free: 115.1 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01389/2.424, allocations: 5.406 MB / 0.8425 GB, free: 115.1 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003694/2.424, allocations: 61.62 kB / 0.8426 GB, free: 115.1 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.0331/2.457, allocations: 10.75 MB / 0.8531 GB, free: 114.2 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002502/2.458, allocations: 98.84 kB / 0.8532 GB, free: 114.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004669/2.458, allocations: 207.9 kB / 0.8534 GB, free: 114.2 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/2.459, allocations: 309.8 kB / 0.8537 GB, free: 114.2 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01477/2.474, allocations: 2.275 MB / 0.8559 GB, free: 114 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004707/2.474, allocations: 416.4 kB / 0.8563 GB, free: 113.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/2.485, allocations: 1.132 MB / 0.8574 GB, free: 113.7 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002581/2.487, allocations: 0.592 MB / 0.858 GB, free: 113.7 MB / 0.4952 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.003626/2.491, allocations: 0.6024 MB / 0.8585 GB, free: 113.4 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/2.492, allocations: 469.8 kB / 0.859 GB, free: 113.2 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/2.495, allocations: 0.6302 MB / 0.8596 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001537/2.495, allocations: 57.72 kB / 0.8597 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.148e-05/2.495, allocations: 3 kB / 0.8597 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/2.495, allocations: 18.84 kB / 0.8597 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03641/2.531, allocations: 12.63 MB / 0.872 GB, free: 111.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.089e-05/2.531, allocations: 14.78 kB / 0.872 GB, free: 111.8 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004032/2.535, allocations: 460.9 kB / 0.8725 GB, free: 111.7 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.357e-05/2.535, allocations: 22.91 kB / 0.8725 GB, free: 111.7 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000594/2.536, allocations: 25.06 kB / 0.8725 GB, free: 111.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-05/2.536, allocations: 33.22 kB / 0.8726 GB, free: 111.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-05/2.536, allocations: 22.47 kB / 0.8726 GB, free: 111.7 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/2.547, allocations: 6.531 MB / 0.879 GB, free: 107.5 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/2.548, allocations: 0.5452 MB / 0.8795 GB, free: 107.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/2.55, allocations: 21.44 kB / 0.8795 GB, free: 107.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003883/2.554, allocations: 92.61 kB / 0.8796 GB, free: 107.1 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/2.555, allocations: 180.6 kB / 0.8798 GB, free: 107.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003504/2.555, allocations: 106.6 kB / 0.8799 GB, free: 107.1 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.007724/2.563, allocations: 2.939 MB / 0.8827 GB, free: 106 MB / 0.4952 GB Notification: Performance of sort global known variables: time 6.91e-07/2.563, allocations: 0 / 0.8827 GB, free: 106 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01167/2.575, allocations: 1.841 MB / 0.8845 GB, free: 105.6 MB / 0.4952 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.00109/2.576, allocations: 165 kB / 0.8847 GB, free: 105.5 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01566/2.592, allocations: 7.171 MB / 0.8917 GB, free: 103.2 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/2.592, allocations: 0 / 0.8917 GB, free: 103.2 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.004924/2.597, allocations: 2.122 MB / 0.8938 GB, free: 102.5 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004655/2.601, allocations: 362 kB / 0.8941 GB, free: 102.3 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05456/2.656, allocations: 13.84 MB / 0.9076 GB, free: 96.82 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02005/2.676, allocations: 5.591 MB / 0.9131 GB, free: 92.66 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00385/2.68, allocations: 450.2 kB / 0.9135 GB, free: 92.23 MB / 0.4952 GB Notification: Performance of SimCode: time 3.176e-06/2.68, allocations: 0 / 0.9135 GB, free: 92.23 MB / 0.4952 GB Notification: Performance of Templates: time 0.1825/2.863, allocations: 87.78 MB / 0.9992 GB, free: 15.05 MB / 0.4952 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