Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001735/0.001741, allocations: 171.8 kB / 8.144 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.2 MB / 213.8 MB, free: 13.94 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001249/0.001248, allocations: 83.92 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2609/0.2609, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.045e-05/1.068e-05, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2911, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.4964, allocations: 95.32 MB / 0.5585 GB, free: 3.742 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.4967, allocations: 75.95 kB / 0.5585 GB, free: 3.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.8116/1.308, allocations: 135.4 MB / 0.6908 GB, free: 101.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003054/1.309, allocations: 126.8 kB / 0.6909 GB, free: 101.3 MB / 474.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.02234/1.331, allocations: 6.008 MB / 0.6968 GB, free: 98.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/1.331, allocations: 9.922 kB / 0.6968 GB, free: 98.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05004/1.381, allocations: 5.28 MB / 0.7019 GB, free: 97.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/1.398, allocations: 4.287 MB / 0.7061 GB, free: 95.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005302/1.399, allocations: 222.7 kB / 0.7063 GB, free: 95.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004685/1.404, allocations: 389.5 kB / 0.7067 GB, free: 95.63 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03284/1.436, allocations: 12.96 MB / 0.7194 GB, free: 85.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04695/1.483, allocations: 17.08 MB / 0.736 GB, free: 68.06 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002651/1.484, allocations: 35.62 kB / 0.7361 GB, free: 68.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004158/1.488, allocations: 24 kB / 0.7361 GB, free: 68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003527/1.491, allocations: 2.289 MB / 0.7383 GB, free: 65.71 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.128/1.619, allocations: 59.31 MB / 0.7962 GB, free: 5.266 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01426/1.634, allocations: 6.022 MB / 0.8021 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007323/1.641, allocations: 2.081 MB / 0.8042 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004202/1.645, allocations: 2.284 MB / 0.8064 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.472e-05/1.646, allocations: 56.56 kB / 0.8064 GB, free: 9.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=341): time 1.076e-05/1.646, allocations: 4 kB / 0.8064 GB, free: 9.977 MB / 490.7 MB Notification: Performance of matching and sorting (n=341): time 0.02752/1.673, allocations: 5.342 MB / 0.8117 GB, free: 4.598 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/1.673, allocations: 103.1 kB / 0.8118 GB, free: 4.477 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/1.686, allocations: 4.584 MB / 0.8162 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005929/1.686, allocations: 25.7 kB / 0.8163 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005044/1.691, allocations: 5.014 MB / 0.8212 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002206/1.694, allocations: 1.245 MB / 0.8224 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008679/1.694, allocations: 0 / 0.8224 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008589/1.695, allocations: 0.7604 MB / 0.8231 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008281/1.704, allocations: 3.198 MB / 0.8262 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1775/1.881, allocations: 9.039 MB / 0.8351 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/1.894, allocations: 5.594 MB / 0.8405 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002032/1.894, allocations: 58.72 kB / 0.8406 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.02911/1.923, allocations: 10.93 MB / 0.8513 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.923, allocations: 10.75 kB / 0.8513 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003218/1.923, allocations: 206.6 kB / 0.8515 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003544/1.924, allocations: 311.9 kB / 0.8518 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01419/1.938, allocations: 2.244 MB / 0.854 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006104/1.939, allocations: 409.4 kB / 0.8544 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008855/1.947, allocations: 0.7256 MB / 0.8551 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002288/1.95, allocations: 0.5881 MB / 0.8556 GB, free: 164.6 MB / 0.4948 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.00276/1.953, allocations: 0.5233 MB / 0.8561 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.954, allocations: 469.7 kB / 0.8566 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/1.956, allocations: 0.6296 MB / 0.8572 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002078/1.957, allocations: 40.73 kB / 0.8572 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/1.957, allocations: 0 / 0.8572 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/1.957, allocations: 14.06 kB / 0.8573 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03483/1.992, allocations: 13.86 MB / 0.8708 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/1.992, allocations: 18.34 kB / 0.8708 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004065/1.996, allocations: 423.4 kB / 0.8712 GB, free: 162 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-05/1.996, allocations: 27.92 kB / 0.8712 GB, free: 162 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003715/1.996, allocations: 27.81 kB / 0.8713 GB, free: 162 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-05/1.996, allocations: 33.5 kB / 0.8713 GB, free: 162 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-05/1.996, allocations: 26.34 kB / 0.8713 GB, free: 162 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01067/2.007, allocations: 6.673 MB / 0.8778 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/2.009, allocations: 0.714 MB / 0.8785 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/2.01, allocations: 18.42 kB / 0.8786 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003503/2.014, allocations: 64.94 kB / 0.8786 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007507/2.015, allocations: 164.1 kB / 0.8788 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003281/2.015, allocations: 101.8 kB / 0.8789 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.007138/2.022, allocations: 3.015 MB / 0.8818 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01104/2.033, allocations: 1.836 MB / 0.8836 GB, free: 156.1 MB / 0.4948 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.001049/2.034, allocations: 169.7 kB / 0.8838 GB, free: 156 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01661/2.051, allocations: 7.371 MB / 0.891 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/2.051, allocations: 2.75 kB / 0.891 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005196/2.056, allocations: 2.174 MB / 0.8931 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/2.06, allocations: 363.4 kB / 0.8934 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04186/2.101, allocations: 14.05 MB / 0.9072 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01653/2.118, allocations: 6.046 MB / 0.9131 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.684e-06/2.118, allocations: 0 / 0.9131 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.1653/2.283, allocations: 87.72 MB / 0.9987 GB, free: 63.91 MB / 0.4948 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/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_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches