Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009667/0.0009668, allocations: 175.6 kB / 16.76 MB, free: 4.93 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.366/1.366, allocations: 205.4 MB / 222.9 MB, free: 8.922 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.000806/0.000806, allocations: 94.34 kB / 271.3 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3592/0.3592, allocations: 43.56 MB / 363.1 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1217, allocations: 58.86 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/0.4728, allocations: 96.23 MB / 0.5739 GB, free: 5.719 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.473, allocations: 79.95 kB / 0.574 GB, free: 5.641 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5332/1.006, allocations: 137.4 MB / 0.7082 GB, free: 88.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.006, allocations: 0 / 0.7082 GB, free: 88.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002096/1.007, allocations: 124.3 kB / 0.7083 GB, free: 88.07 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.01711/1.024, allocations: 6.033 MB / 0.7142 GB, free: 85.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.024, allocations: 12.75 kB / 0.7142 GB, free: 85.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02608/1.05, allocations: 6.542 MB / 0.7206 GB, free: 84.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/1.063, allocations: 4.34 MB / 0.7249 GB, free: 83.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009693/1.064, allocations: 0.5025 MB / 0.7253 GB, free: 83.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004503/1.068, allocations: 0.6552 MB / 0.726 GB, free: 83.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03914/1.107, allocations: 18.05 MB / 0.7436 GB, free: 80.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003209/1.108, allocations: 44.19 kB / 0.7437 GB, free: 80.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003361/1.111, allocations: 316.3 kB / 0.744 GB, free: 79.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002686/1.114, allocations: 2.15 MB / 0.7461 GB, free: 79.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02999/1.144, allocations: 17.36 MB / 0.763 GB, free: 74.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08106/1.225, allocations: 61.75 MB / 0.8233 GB, free: 21.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/1.238, allocations: 8.402 MB / 0.8315 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003365/1.242, allocations: 2.567 MB / 0.834 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0198/1.261, allocations: 11.78 MB / 0.8455 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/1.261, allocations: 64.48 kB / 0.8456 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=321): time 7.234e-06/1.261, allocations: 0 / 0.8456 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=321): time 0.01825/1.28, allocations: 7.487 MB / 0.8529 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/1.28, allocations: 99.11 kB / 0.853 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01142/1.291, allocations: 5.613 MB / 0.8585 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004674/1.292, allocations: 64.67 kB / 0.8585 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.2292/1.521, allocations: 5.084 MB / 0.8635 GB, free: 94.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001702/1.523, allocations: 1.197 MB / 0.8647 GB, free: 93.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007755/1.524, allocations: 182.8 kB / 0.8649 GB, free: 93.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005996/1.524, allocations: 0.7174 MB / 0.8656 GB, free: 93.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004887/1.529, allocations: 3.092 MB / 0.8686 GB, free: 93.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006012/1.535, allocations: 8.497 MB / 0.8769 GB, free: 86.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/1.546, allocations: 12.62 MB / 0.8892 GB, free: 79.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001947/1.546, allocations: 55.16 kB / 0.8892 GB, free: 79.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01872/1.565, allocations: 11.36 MB / 0.9003 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002638/1.565, allocations: 82.44 kB / 0.9004 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004045/1.566, allocations: 189.3 kB / 0.9006 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/1.566, allocations: 253 kB / 0.9008 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007047/1.573, allocations: 2.073 MB / 0.9029 GB, free: 77.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005413/1.574, allocations: 376 kB / 0.9032 GB, free: 77.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007751/1.582, allocations: 1.299 MB / 0.9045 GB, free: 76.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001987/1.584, allocations: 0.5385 MB / 0.905 GB, free: 76.51 MB / 0.4948 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.009068/1.593, allocations: 3.7 MB / 0.9086 GB, free: 76.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/1.594, allocations: 495.7 kB / 0.9091 GB, free: 75.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/1.596, allocations: 0.6517 MB / 0.9097 GB, free: 75.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001395/1.596, allocations: 57.53 kB / 0.9098 GB, free: 75.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.392e-05/1.596, allocations: 9.031 kB / 0.9098 GB, free: 75.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.641e-05/1.596, allocations: 14.75 kB / 0.9098 GB, free: 75.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02531/1.621, allocations: 12.65 MB / 0.9222 GB, free: 71.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/1.621, allocations: 11.53 kB / 0.9222 GB, free: 71.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/1.623, allocations: 427.6 kB / 0.9226 GB, free: 71.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.866e-05/1.623, allocations: 19.25 kB / 0.9226 GB, free: 71.17 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/1.624, allocations: 64.61 kB / 0.9227 GB, free: 71.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.929e-05/1.624, allocations: 32.89 kB / 0.9227 GB, free: 71.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/1.624, allocations: 26.66 kB / 0.9227 GB, free: 71.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005282/1.629, allocations: 4.612 MB / 0.9272 GB, free: 68.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/1.63, allocations: 0.5906 MB / 0.9278 GB, free: 68.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/1.631, allocations: 57.38 kB / 0.9279 GB, free: 68.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/1.633, allocations: 132 kB / 0.928 GB, free: 68.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003426/1.634, allocations: 176.2 kB / 0.9282 GB, free: 68.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/1.634, allocations: 96.39 kB / 0.9283 GB, free: 68.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005852/1.64, allocations: 3.464 MB / 0.9316 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/1.64, allocations: 0 / 0.9316 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007307/1.647, allocations: 1.987 MB / 0.9336 GB, free: 66.7 MB / 0.4948 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.000418/1.647, allocations: 205.1 kB / 0.9338 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008591/1.656, allocations: 7.119 MB / 0.9407 GB, free: 64.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.656, allocations: 448 / 0.9407 GB, free: 64.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002076/1.658, allocations: 2.001 MB / 0.9427 GB, free: 63.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01273/1.671, allocations: 0.6033 MB / 0.9433 GB, free: 63.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/1.698, allocations: 18.48 MB / 0.9613 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008213/1.706, allocations: 5.428 MB / 0.9666 GB, free: 52.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008587/1.715, allocations: 3.65 MB / 0.9702 GB, free: 51.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.716, allocations: 375.9 kB / 0.9705 GB, free: 51.79 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/1.716, allocations: 0 / 0.9705 GB, free: 51.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.07458/1.791, allocations: 43.21 MB / 1.013 GB, free: 22.18 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches