Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009442/0.0009447, allocations: 179.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009068/0.0009067, allocations: 99.59 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1682/0.1682, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.787e-05/2.788e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3797/0.4854, allocations: 97.52 MB / 0.5969 GB, free: 7.801 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.4857, allocations: 79.95 kB / 0.597 GB, free: 7.723 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5835/1.069, allocations: 141.5 MB / 0.7352 GB, free: 116 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.993e-06/1.069, allocations: 0 / 0.7352 GB, free: 116 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002422/1.07, allocations: 117.4 kB / 0.7353 GB, free: 116 MB / 0.5105 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.01688/1.086, allocations: 6.07 MB / 0.7413 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.087, allocations: 10.91 kB / 0.7413 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02538/1.112, allocations: 6.534 MB / 0.7476 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/1.124, allocations: 4.286 MB / 0.7518 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004653/1.124, allocations: 0.5051 MB / 0.7523 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003705/1.128, allocations: 0.6535 MB / 0.753 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03594/1.164, allocations: 18.01 MB / 0.7705 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001846/1.164, allocations: 38.69 kB / 0.7706 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002516/1.166, allocations: 310.9 kB / 0.7709 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002408/1.169, allocations: 2.151 MB / 0.773 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02982/1.199, allocations: 17.24 MB / 0.7898 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0825/1.281, allocations: 61.84 MB / 0.8502 GB, free: 51.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/1.295, allocations: 8.395 MB / 0.8584 GB, free: 43.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00348/1.298, allocations: 2.544 MB / 0.8609 GB, free: 40.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01889/1.317, allocations: 11.83 MB / 0.8724 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.317, allocations: 60.5 kB / 0.8725 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=321): time 7.494e-06/1.317, allocations: 0 / 0.8725 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=321): time 0.01323/1.331, allocations: 5.791 MB / 0.8782 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/1.331, allocations: 103.1 kB / 0.8783 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008853/1.34, allocations: 4.969 MB / 0.8831 GB, free: 17.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004493/1.34, allocations: 65.64 kB / 0.8832 GB, free: 17.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003291/1.343, allocations: 5.094 MB / 0.8881 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001538/1.345, allocations: 1.205 MB / 0.8893 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/1.346, allocations: 176 kB / 0.8895 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009594/1.347, allocations: 0.7107 MB / 0.8902 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004648/1.352, allocations: 3.033 MB / 0.8931 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007208/1.359, allocations: 8.387 MB / 0.9013 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007456/1.366, allocations: 5.171 MB / 0.9064 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001409/1.367, allocations: 59.94 kB / 0.9064 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.2685/1.635, allocations: 11.22 MB / 0.9174 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/1.635, allocations: 85.59 kB / 0.9175 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000271/1.636, allocations: 189.2 kB / 0.9177 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000366/1.636, allocations: 278.5 kB / 0.9179 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006745/1.643, allocations: 2.074 MB / 0.92 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003695/1.643, allocations: 372 kB / 0.9203 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00653/1.65, allocations: 1.29 MB / 0.9216 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00165/1.651, allocations: 0.5425 MB / 0.9221 GB, free: 109.5 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 () * 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.001291/1.653, allocations: 0.7644 MB / 0.9228 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007985/1.653, allocations: 488.5 kB / 0.9233 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/1.655, allocations: 0.6594 MB / 0.924 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.289e-05/1.655, allocations: 59.06 kB / 0.924 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/1.655, allocations: 2.25 kB / 0.924 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/1.655, allocations: 11.2 kB / 0.924 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02111/1.676, allocations: 12.63 MB / 0.9364 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/1.676, allocations: 14.5 kB / 0.9364 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/1.678, allocations: 422.1 kB / 0.9368 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/1.678, allocations: 26.03 kB / 0.9368 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/1.678, allocations: 63.72 kB / 0.9369 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.702e-05/1.678, allocations: 30.56 kB / 0.9369 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/1.678, allocations: 23.69 kB / 0.9369 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004738/1.683, allocations: 6.546 MB / 0.9433 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.684, allocations: 0.5879 MB / 0.9439 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004404/1.684, allocations: 61.62 kB / 0.9439 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.686, allocations: 126.4 kB / 0.9441 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/1.686, allocations: 180.1 kB / 0.9442 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.686, allocations: 99.75 kB / 0.9443 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005767/1.692, allocations: 3.41 MB / 0.9477 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.41e-07/1.692, allocations: 0 / 0.9477 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008085/1.7, allocations: 1.988 MB / 0.9496 GB, free: 103.9 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 () * 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.0004819/1.7, allocations: 198.4 kB / 0.9498 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0088/1.709, allocations: 7.038 MB / 0.9567 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.709, allocations: 3.781 kB / 0.9567 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/1.711, allocations: 1.99 MB / 0.9586 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/1.714, allocations: 0.5659 MB / 0.9592 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/1.734, allocations: 12.84 MB / 0.9717 GB, free: 99.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005231/1.739, allocations: 5.583 MB / 0.9771 GB, free: 98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007519/1.747, allocations: 3.659 MB / 0.9807 GB, free: 97.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009468/1.748, allocations: 370.5 kB / 0.9811 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of SimCode: time 8.21e-07/1.748, allocations: 0 / 0.9811 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.07318/1.821, allocations: 43.1 MB / 1.023 GB, free: 80.34 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches