Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity") [: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 3.2.3+maint.om/package.mo): time 0.0009182/0.0009183, allocations: 178.9 kB / 7.802 MB, free: 1.207 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.001/1.001, allocations: 205.2 MB / 213.4 MB, free: 8.504 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008129/0.0008132, allocations: 92.72 kB / 261.4 MB, free: 5.113 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1493/0.1493, allocations: 43.49 MB / 352.9 MB, free: 11.34 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 6.001e-06/6.021e-06, allocations: 4 kB / 417.7 MB, free: 68.19 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0782/0.07822, allocations: 58.84 MB / 476.6 MB, free: 9.289 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2549/0.3331, allocations: 106.7 MB / 0.5696 GB, free: 5.863 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.3334, allocations: 78.95 kB / 0.5696 GB, free: 5.824 MB / 386.8 MB Notification: Performance of FrontEnd: time 0.1842/0.5176, allocations: 81.48 MB / 0.6492 GB, free: 12.24 MB / 466.8 MB Notification: Performance of Transformations before backend: time 0.0001217/0.5177, allocations: 88 kB / 0.6493 GB, free: 12.15 MB / 466.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.009425/0.5271, allocations: 4.249 MB / 0.6534 GB, free: 7.832 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.5272, allocations: 8.531 kB / 0.6534 GB, free: 7.824 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007855/0.535, allocations: 1.882 MB / 0.6553 GB, free: 5.934 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.5453, allocations: 4.847 MB / 0.66 GB, free: 1.02 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.5454, allocations: 152 kB / 0.6602 GB, free: 0.8711 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006935/0.5461, allocations: 259.9 kB / 0.6604 GB, free: 0.6172 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00863/0.5547, allocations: 6.456 MB / 0.6667 GB, free: 10.15 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/0.5675, allocations: 9.834 MB / 0.6763 GB, free: 15.24 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/0.5677, allocations: 55.47 kB / 0.6764 GB, free: 15.19 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004221/0.5681, allocations: 35.98 kB / 0.6764 GB, free: 15.15 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00121/0.5693, allocations: 1.112 MB / 0.6775 GB, free: 14.04 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1641/0.7335, allocations: 49.4 MB / 0.7257 GB, free: 143.7 MB / 498.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.736, allocations: 2.675 MB / 0.7283 GB, free: 143.1 MB / 498.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.7375, allocations: 1.81 MB / 0.7301 GB, free: 143.1 MB / 498.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007281/0.7448, allocations: 6.371 MB / 0.7363 GB, free: 140.8 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.7449, allocations: 50.75 kB / 0.7364 GB, free: 140.8 MB / 498.8 MB Notification: Performance of pre-optimization done (n=153): time 4.117e-06/0.7449, allocations: 0 / 0.7364 GB, free: 140.8 MB / 498.8 MB Notification: Performance of matching and sorting (n=160): time 0.01751/0.7624, allocations: 10.23 MB / 0.7464 GB, free: 138.1 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7625, allocations: 147.7 kB / 0.7465 GB, free: 137.9 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/0.766, allocations: 3.097 MB / 0.7495 GB, free: 137.6 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.7661, allocations: 25.7 kB / 0.7496 GB, free: 137.6 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.7672, allocations: 3.082 MB / 0.7526 GB, free: 135.8 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000461/0.7677, allocations: 0.634 MB / 0.7532 GB, free: 135.4 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.7679, allocations: 0 / 0.7532 GB, free: 135.4 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.7681, allocations: 0.5683 MB / 0.7537 GB, free: 135.1 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/0.7703, allocations: 2.114 MB / 0.7558 GB, free: 135.1 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/0.7738, allocations: 5.986 MB / 0.7617 GB, free: 130 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/0.7774, allocations: 3.533 MB / 0.7651 GB, free: 129.1 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-05/0.7774, allocations: 42.03 kB / 0.7651 GB, free: 129.1 MB / 498.8 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.0156/0.793, allocations: 8.33 MB / 0.7733 GB, free: 126.7 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.7931, allocations: 9.625 kB / 0.7733 GB, free: 126.7 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008488/0.8016, allocations: 3.276 MB / 0.7765 GB, free: 125.8 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00826/0.8099, allocations: 1.586 MB / 0.778 GB, free: 125.6 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004406/0.8143, allocations: 1.441 MB / 0.7794 GB, free: 125.5 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007068/0.8214, allocations: 5.366 MB / 0.7847 GB, free: 122.1 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005246/0.8267, allocations: 246.3 kB / 0.7849 GB, free: 122.1 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/0.828, allocations: 390.5 kB / 0.7853 GB, free: 122.1 MB / 498.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (782): * Single equations (assignments): 773 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001625/0.8296, allocations: 453.3 kB / 0.7857 GB, free: 121.7 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006729/0.8303, allocations: 312.3 kB / 0.786 GB, free: 121.5 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005481/0.8358, allocations: 3.031 MB / 0.789 GB, free: 119.9 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003958/0.8398, allocations: 2.57 MB / 0.7915 GB, free: 117.8 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/0.8398, allocations: 4 kB / 0.7915 GB, free: 117.8 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.8399, allocations: 7.594 kB / 0.7915 GB, free: 117.8 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.8547, allocations: 8.44 MB / 0.7997 GB, free: 111.1 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.8547, allocations: 4 kB / 0.7997 GB, free: 111.1 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.8559, allocations: 251 kB / 0.8 GB, free: 110.9 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002619/0.8586, allocations: 0.9617 MB / 0.8009 GB, free: 110.2 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.8587, allocations: 22.66 kB / 0.8009 GB, free: 110.2 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004272/0.863, allocations: 4.827 MB / 0.8057 GB, free: 105.7 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005999/0.8636, allocations: 1.372 MB / 0.807 GB, free: 104.3 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006429/0.87, allocations: 5.621 MB / 0.8125 GB, free: 99.3 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006949/0.8708, allocations: 367.4 kB / 0.8128 GB, free: 98.93 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006288/0.8714, allocations: 14.81 kB / 0.8129 GB, free: 98.92 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.873, allocations: 72.83 kB / 0.8129 GB, free: 98.88 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.8732, allocations: 77.44 kB / 0.813 GB, free: 98.84 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.8733, allocations: 51.25 kB / 0.813 GB, free: 98.79 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.002824/0.8761, allocations: 2.057 MB / 0.8151 GB, free: 97 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.005074/0.8812, allocations: 0.9846 MB / 0.816 GB, free: 96.03 MB / 498.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004605/0.8817, allocations: 151 kB / 0.8162 GB, free: 95.89 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.008135/0.8898, allocations: 5.577 MB / 0.8216 GB, free: 90.83 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.8899, allocations: 0 / 0.8216 GB, free: 90.83 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003356/0.8932, allocations: 2.121 MB / 0.8237 GB, free: 88.91 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.8955, allocations: 326.5 kB / 0.824 GB, free: 88.64 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/0.9118, allocations: 8.2 MB / 0.832 GB, free: 81.33 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005111/0.917, allocations: 3.65 MB / 0.8356 GB, free: 78.51 MB / 498.8 MB Notification: Performance of SimCode: time 8.82e-07/0.917, allocations: 4 kB / 0.8356 GB, free: 78.5 MB / 498.8 MB Notification: Performance of Templates: time 0.06026/0.9773, allocations: 38.01 MB / 0.8727 GB, free: 43.27 MB / 498.8 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches