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.001022/0.001022, allocations: 182.1 kB / 13.19 MB, free: 2.129 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.203/1.203, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.000777/0.0007775, allocations: 93.66 kB / 267 MB, free: 9.277 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.3134/0.3134, allocations: 43.47 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.436e-05, allocations: 4 kB / 425.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 58.84 MB / 484.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3017/0.4022, allocations: 96.06 MB / 0.5666 GB, free: 8.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001649/0.4024, allocations: 79.95 kB / 0.5667 GB, free: 8.871 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5405/0.9429, allocations: 139.4 MB / 0.7028 GB, free: 87.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.9429, allocations: 0 / 0.7028 GB, free: 87.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001633/0.9431, allocations: 121.9 kB / 0.7029 GB, free: 87.32 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.01145/0.9546, allocations: 6.075 MB / 0.7088 GB, free: 84.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.9546, allocations: 9.906 kB / 0.7088 GB, free: 84.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02501/0.9796, allocations: 6.537 MB / 0.7152 GB, free: 84.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.9904, allocations: 4.283 MB / 0.7194 GB, free: 83.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004638/0.9909, allocations: 0.5074 MB / 0.7199 GB, free: 83.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002733/0.9936, allocations: 0.6531 MB / 0.7205 GB, free: 83.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02805/1.022, allocations: 18 MB / 0.7381 GB, free: 79.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001778/1.022, allocations: 31.09 kB / 0.7381 GB, free: 79.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001729/1.024, allocations: 318.5 kB / 0.7384 GB, free: 79.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0021/1.026, allocations: 2.154 MB / 0.7406 GB, free: 79.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02394/1.05, allocations: 17.25 MB / 0.7574 GB, free: 73.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06865/1.118, allocations: 61.83 MB / 0.8178 GB, free: 23.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/1.13, allocations: 8.386 MB / 0.826 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002613/1.132, allocations: 2.55 MB / 0.8285 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01474/1.147, allocations: 11.84 MB / 0.84 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/1.147, allocations: 60.56 kB / 0.8401 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=321): time 4.669e-06/1.147, allocations: 0 / 0.8401 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=321): time 0.01311/1.16, allocations: 5.781 MB / 0.8457 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/1.16, allocations: 103.1 kB / 0.8458 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006839/1.167, allocations: 4.97 MB / 0.8507 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/1.167, allocations: 60.36 kB / 0.8507 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.2275/1.395, allocations: 5.086 MB / 0.8557 GB, free: 95.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001489/1.396, allocations: 1.205 MB / 0.8569 GB, free: 95.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007503/1.397, allocations: 178 kB / 0.857 GB, free: 95.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004887/1.398, allocations: 0.711 MB / 0.8577 GB, free: 95.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004348/1.402, allocations: 3.035 MB / 0.8607 GB, free: 95.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005262/1.407, allocations: 8.392 MB / 0.8689 GB, free: 88.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00538/1.413, allocations: 5.173 MB / 0.8739 GB, free: 88.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.557e-05/1.413, allocations: 55.12 kB / 0.874 GB, free: 88.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01261/1.425, allocations: 11.23 MB / 0.885 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.17e-05/1.425, allocations: 85.41 kB / 0.885 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.426, allocations: 188.6 kB / 0.8852 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/1.426, allocations: 280.5 kB / 0.8855 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00509/1.431, allocations: 2.072 MB / 0.8875 GB, free: 86.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002035/1.431, allocations: 374.1 kB / 0.8879 GB, free: 86.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004753/1.436, allocations: 1.296 MB / 0.8891 GB, free: 86.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006849/1.437, allocations: 0.5384 MB / 0.8897 GB, free: 86.32 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 () * 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.0008578/1.437, allocations: 0.7739 MB / 0.8904 GB, free: 86.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005843/1.438, allocations: 485.6 kB / 0.8909 GB, free: 85.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/1.439, allocations: 0.6607 MB / 0.8915 GB, free: 85.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.923e-05/1.439, allocations: 58.83 kB / 0.8916 GB, free: 85.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/1.439, allocations: 2.469 kB / 0.8916 GB, free: 85.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/1.439, allocations: 12.17 kB / 0.8916 GB, free: 85.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/1.457, allocations: 12.62 MB / 0.9039 GB, free: 84.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/1.457, allocations: 16.03 kB / 0.9039 GB, free: 84.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/1.458, allocations: 420.7 kB / 0.9043 GB, free: 83.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.488e-05/1.458, allocations: 30.77 kB / 0.9044 GB, free: 83.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/1.458, allocations: 67.56 kB / 0.9044 GB, free: 83.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.659e-05/1.458, allocations: 29.22 kB / 0.9045 GB, free: 83.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/1.458, allocations: 25.53 kB / 0.9045 GB, free: 83.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004728/1.463, allocations: 6.546 MB / 0.9109 GB, free: 79.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009585/1.464, allocations: 0.5853 MB / 0.9114 GB, free: 79.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/1.465, allocations: 62.44 kB / 0.9115 GB, free: 79.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.466, allocations: 128.1 kB / 0.9116 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/1.466, allocations: 175.9 kB / 0.9118 GB, free: 79.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/1.466, allocations: 97.86 kB / 0.9119 GB, free: 79.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004316/1.471, allocations: 3.408 MB / 0.9152 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.471, allocations: 4 kB / 0.9152 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006228/1.477, allocations: 1.991 MB / 0.9172 GB, free: 77.48 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 () * 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.0003569/1.477, allocations: 200.9 kB / 0.9174 GB, free: 77.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008136/1.486, allocations: 7.038 MB / 0.9242 GB, free: 75.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.486, allocations: 4.594 kB / 0.9242 GB, free: 75.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/1.487, allocations: 1.981 MB / 0.9262 GB, free: 74.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/1.489, allocations: 0.5679 MB / 0.9267 GB, free: 74.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/1.509, allocations: 12.83 MB / 0.9393 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006136/1.515, allocations: 5.584 MB / 0.9447 GB, free: 67.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0077/1.522, allocations: 3.655 MB / 0.9483 GB, free: 67.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.524, allocations: 369.8 kB / 0.9486 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of SimCode: time 7.02e-07/1.524, allocations: 4 kB / 0.9486 GB, free: 67.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.06688/1.59, allocations: 43.06 MB / 0.9907 GB, free: 43.07 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/jenkins/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