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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009626/0.0009626, allocations: 179 kB / 8.519 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.0009314/0.0009317, allocations: 85.61 kB / 281.2 MB, free: 5.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1525/0.1525, allocations: 44.14 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.442e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/0.4425, allocations: 96.78 MB / 0.5886 GB, free: 12 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4427, allocations: 76.03 kB / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.48/0.9227, allocations: 137.6 MB / 0.723 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001817/0.923, allocations: 120.2 kB / 0.7231 GB, free: 108.7 MB / 0.4948 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.01259/0.9356, allocations: 6.01 MB / 0.729 GB, free: 106 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.9356, allocations: 12.78 kB / 0.729 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02374/0.9593, allocations: 5.28 MB / 0.7342 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009141/0.9685, allocations: 4.286 MB / 0.7384 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.9688, allocations: 218.6 kB / 0.7386 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/0.9711, allocations: 389.2 kB / 0.7389 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01717/0.9882, allocations: 12.96 MB / 0.7516 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03205/1.02, allocations: 17.08 MB / 0.7683 GB, free: 98.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001838/1.021, allocations: 38.72 kB / 0.7683 GB, free: 98.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001525/1.022, allocations: 22 kB / 0.7683 GB, free: 98.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002429/1.025, allocations: 2.29 MB / 0.7706 GB, free: 98.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08197/1.107, allocations: 59.32 MB / 0.8285 GB, free: 46.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006405/1.113, allocations: 6.012 MB / 0.8344 GB, free: 40.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00261/1.116, allocations: 2.092 MB / 0.8364 GB, free: 37.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/1.117, allocations: 2.277 MB / 0.8386 GB, free: 35.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/1.117, allocations: 60.72 kB / 0.8387 GB, free: 35.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=341): time 9.719e-06/1.117, allocations: 4 kB / 0.8387 GB, free: 35.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=341): time 0.0107/1.128, allocations: 5.346 MB / 0.8439 GB, free: 29.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/1.128, allocations: 99.11 kB / 0.844 GB, free: 29.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005755/1.134, allocations: 4.581 MB / 0.8485 GB, free: 25.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001807/1.134, allocations: 29.7 kB / 0.8485 GB, free: 25.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00187/1.136, allocations: 5.048 MB / 0.8535 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007995/1.137, allocations: 1.249 MB / 0.8547 GB, free: 18.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/1.137, allocations: 0 / 0.8547 GB, free: 18.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000392/1.137, allocations: 0.7518 MB / 0.8554 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003499/1.141, allocations: 3.198 MB / 0.8585 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005307/1.146, allocations: 9.034 MB / 0.8674 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006563/1.153, allocations: 5.59 MB / 0.8728 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-05/1.153, allocations: 63.91 kB / 0.8729 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.01763/1.17, allocations: 11.02 MB / 0.8836 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.171, allocations: 8 kB / 0.8836 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/1.171, allocations: 208.9 kB / 0.8838 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002716/1.171, allocations: 304 kB / 0.8841 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1487/1.32, allocations: 2.247 MB / 0.8863 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002018/1.32, allocations: 410.3 kB / 0.8867 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006843/1.327, allocations: 1.105 MB / 0.8878 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.328, allocations: 0.5945 MB / 0.8884 GB, free: 161.1 MB / 0.5105 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.001045/1.329, allocations: 0.5987 MB / 0.889 GB, free: 161 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006782/1.33, allocations: 469.2 kB / 0.8894 GB, free: 161 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/1.331, allocations: 0.6251 MB / 0.89 GB, free: 161 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.903e-05/1.331, allocations: 48.75 kB / 0.8901 GB, free: 161 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/1.331, allocations: 0 / 0.8901 GB, free: 161 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/1.331, allocations: 11.91 kB / 0.8901 GB, free: 161 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/1.35, allocations: 13.49 MB / 0.9033 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/1.35, allocations: 11.56 kB / 0.9033 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/1.352, allocations: 424.8 kB / 0.9037 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.363e-05/1.352, allocations: 25.75 kB / 0.9037 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/1.352, allocations: 26.19 kB / 0.9037 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.739e-05/1.352, allocations: 27.66 kB / 0.9037 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/1.352, allocations: 23.81 kB / 0.9038 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005339/1.357, allocations: 6.672 MB / 0.9103 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.358, allocations: 0.548 MB / 0.9108 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006049/1.359, allocations: 23.16 kB / 0.9108 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.36, allocations: 57.66 kB / 0.9109 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/1.361, allocations: 167.7 kB / 0.9111 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002054/1.361, allocations: 106.9 kB / 0.9112 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.003985/1.365, allocations: 3.015 MB / 0.9141 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00723/1.372, allocations: 1.84 MB / 0.9159 GB, free: 155.3 MB / 0.5105 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.0004907/1.373, allocations: 169.5 kB / 0.9161 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009079/1.382, allocations: 7.377 MB / 0.9233 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-05/1.382, allocations: 3.906 kB / 0.9233 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003992/1.386, allocations: 2.173 MB / 0.9254 GB, free: 155 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/1.389, allocations: 365.9 kB / 0.9257 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03636/1.425, allocations: 13.23 MB / 0.9387 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01302/1.438, allocations: 6.029 MB / 0.9445 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.183e-06/1.438, allocations: 0 / 0.9445 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.149/1.587, allocations: 48.68 MB / 0.9921 GB, free: 127 MB / 0.5105 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