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.001505/0.001505, allocations: 180.6 kB / 16.4 MB, free: 5.723 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.882/1.882, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001091/0.001091, allocations: 97.17 kB / 270.9 MB, free: 8.359 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.4966/0.4966, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004978, allocations: 8 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1262, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4779/0.6042, allocations: 96.15 MB / 0.5726 GB, free: 6.555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.6045, allocations: 79.95 kB / 0.5727 GB, free: 6.477 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8961/1.501, allocations: 139.2 MB / 0.7086 GB, free: 88.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.985e-06/1.501, allocations: 0 / 0.7086 GB, free: 88.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002773/1.501, allocations: 122.3 kB / 0.7087 GB, free: 88.11 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.02389/1.525, allocations: 6.28 MB / 0.7149 GB, free: 85.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.525, allocations: 8.719 kB / 0.7149 GB, free: 85.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04923/1.574, allocations: 6.542 MB / 0.7213 GB, free: 84.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/1.591, allocations: 4.293 MB / 0.7254 GB, free: 83.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006973/1.591, allocations: 0.505 MB / 0.7259 GB, free: 83.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004724/1.596, allocations: 0.6547 MB / 0.7266 GB, free: 83.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05431/1.65, allocations: 18.13 MB / 0.7443 GB, free: 79.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003531/1.651, allocations: 42.94 kB / 0.7443 GB, free: 79.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004512/1.655, allocations: 317.6 kB / 0.7446 GB, free: 79.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004374/1.66, allocations: 2.155 MB / 0.7467 GB, free: 79.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0481/1.708, allocations: 17.49 MB / 0.7638 GB, free: 73.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1228/1.831, allocations: 61.83 MB / 0.8242 GB, free: 20.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02295/1.854, allocations: 8.434 MB / 0.8324 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03381/1.888, allocations: 11.85 MB / 0.844 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.674e-05/1.888, allocations: 68.42 kB / 0.8441 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=321): time 7.985e-06/1.888, allocations: 0 / 0.8441 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=321): time 0.03356/1.921, allocations: 8.544 MB / 0.8524 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/1.921, allocations: 99.11 kB / 0.8525 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/1.935, allocations: 5.01 MB / 0.8574 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005815/1.936, allocations: 65.14 kB / 0.8575 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.3521/2.288, allocations: 4.989 MB / 0.8623 GB, free: 93.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002206/2.291, allocations: 1.198 MB / 0.8635 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/2.292, allocations: 178.6 kB / 0.8637 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001217/2.293, allocations: 0.7189 MB / 0.8644 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00945/2.303, allocations: 3.091 MB / 0.8674 GB, free: 92.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01266/2.316, allocations: 8.46 MB / 0.8757 GB, free: 86.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/2.328, allocations: 5.176 MB / 0.8807 GB, free: 86.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002946/2.328, allocations: 59.09 kB / 0.8808 GB, free: 86.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02983/2.358, allocations: 11.21 MB / 0.8917 GB, free: 84.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001787/2.358, allocations: 84.06 kB / 0.8918 GB, free: 84.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003918/2.359, allocations: 191.6 kB / 0.892 GB, free: 84.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/2.359, allocations: 279.1 kB / 0.8922 GB, free: 84.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/2.372, allocations: 2.081 MB / 0.8943 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004548/2.373, allocations: 374.3 kB / 0.8946 GB, free: 84.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/2.383, allocations: 1.289 MB / 0.8959 GB, free: 84.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002491/2.385, allocations: 0.5378 MB / 0.8964 GB, free: 84.03 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.01056/2.396, allocations: 3.701 MB / 0.9 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/2.397, allocations: 495.1 kB / 0.9005 GB, free: 83.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/2.4, allocations: 0.6536 MB / 0.9011 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000156/2.4, allocations: 61.14 kB / 0.9012 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/2.4, allocations: 0 / 0.9012 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.901e-05/2.4, allocations: 11.47 kB / 0.9012 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03832/2.438, allocations: 12.66 MB / 0.9136 GB, free: 79.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-05/2.438, allocations: 19.22 kB / 0.9136 GB, free: 79.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003692/2.442, allocations: 425.6 kB / 0.914 GB, free: 79.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.662e-05/2.442, allocations: 31.05 kB / 0.914 GB, free: 79.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005889/2.443, allocations: 60.48 kB / 0.9141 GB, free: 79.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.895e-05/2.443, allocations: 29.72 kB / 0.9141 GB, free: 79.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.632e-05/2.443, allocations: 22.06 kB / 0.9141 GB, free: 79.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/2.453, allocations: 6.572 MB / 0.9205 GB, free: 75.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/2.455, allocations: 0.5912 MB / 0.9211 GB, free: 74.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001771/2.457, allocations: 52.34 kB / 0.9212 GB, free: 74.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003743/2.461, allocations: 129.4 kB / 0.9213 GB, free: 74.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008993/2.462, allocations: 177.7 kB / 0.9215 GB, free: 74.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003188/2.462, allocations: 101.5 kB / 0.9216 GB, free: 74.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009489/2.472, allocations: 3.449 MB / 0.9249 GB, free: 73.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.32e-07/2.472, allocations: 4 kB / 0.9249 GB, free: 73.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0109/2.483, allocations: 1.989 MB / 0.9269 GB, free: 72.91 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.00114/2.484, allocations: 211.4 kB / 0.9271 GB, free: 72.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01596/2.5, allocations: 7.116 MB / 0.934 GB, free: 70.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.837e-05/2.5, allocations: 6.953 kB / 0.934 GB, free: 70.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004354/2.504, allocations: 2.002 MB / 0.936 GB, free: 69.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004115/2.508, allocations: 0.5605 MB / 0.9365 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04468/2.553, allocations: 19.26 MB / 0.9553 GB, free: 59.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01414/2.567, allocations: 5.598 MB / 0.9608 GB, free: 57.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00261/2.57, allocations: 449.3 kB / 0.9612 GB, free: 57.73 MB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/2.57, allocations: 0 / 0.9612 GB, free: 57.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.5351/3.105, allocations: 90.16 MB / 1.049 GB, free: 103 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