Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 176.1 kB / 8.518 MB, free: 1.855 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.366/1.366, allocations: 221.4 MB / 230.3 MB, free: 7.691 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.0008881/0.0008882, allocations: 86 kB / 281.2 MB, free: 5.504 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.1914/0.1914, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.236e-06/8.496e-06, allocations: 4.219 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1248, allocations: 61.91 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3319/0.4568, allocations: 107.9 MB / 0.5995 GB, free: 4.793 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.4572, allocations: 80.61 kB / 0.5996 GB, free: 4.715 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1947/0.6519, allocations: 78.57 MB / 0.6763 GB, free: 5.594 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001598/0.6521, allocations: 87.88 kB / 0.6764 GB, free: 5.508 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: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.01375/0.6659, allocations: 4.083 MB / 0.6804 GB, free: 1.359 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.6659, allocations: 11.97 kB / 0.6804 GB, free: 1.348 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009265/0.6752, allocations: 1.847 MB / 0.6822 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.6874, allocations: 4.601 MB / 0.6867 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.6876, allocations: 143.9 kB / 0.6868 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/0.6893, allocations: 248 kB / 0.687 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01098/0.7003, allocations: 6.119 MB / 0.693 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1806/0.8809, allocations: 9.385 MB / 0.7022 GB, free: 172 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001639/0.8811, allocations: 54.25 kB / 0.7022 GB, free: 172 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005397/0.8817, allocations: 35.53 kB / 0.7023 GB, free: 172 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001136/0.8828, allocations: 1.042 MB / 0.7033 GB, free: 172 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04113/0.9239, allocations: 47.84 MB / 0.75 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.9269, allocations: 2.541 MB / 0.7525 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001744/0.9286, allocations: 1.677 MB / 0.7541 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008635/0.9373, allocations: 6.025 MB / 0.76 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.9373, allocations: 56.84 kB / 0.7601 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=141): time 4.318e-06/0.9374, allocations: 0 / 0.7601 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=148): time 0.01735/0.9547, allocations: 9.58 MB / 0.7694 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.9548, allocations: 148.2 kB / 0.7696 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003438/0.9582, allocations: 2.941 MB / 0.7724 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.9584, allocations: 25.7 kB / 0.7725 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.9595, allocations: 2.928 MB / 0.7753 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004665/0.96, allocations: 0.5919 MB / 0.7759 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.9602, allocations: 0 / 0.7759 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002262/0.9604, allocations: 0.5552 MB / 0.7764 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/0.9625, allocations: 1.95 MB / 0.7783 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/0.9657, allocations: 5.685 MB / 0.7839 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003362/0.9691, allocations: 3.312 MB / 0.7871 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-05/0.9691, allocations: 43.91 kB / 0.7872 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.01671/0.9858, allocations: 7.875 MB / 0.7949 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.9859, allocations: 5.031 kB / 0.7949 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00907/0.995, allocations: 2.987 MB / 0.7978 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009269/1.004, allocations: 1.577 MB / 0.7993 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004644/1.009, allocations: 1.35 MB / 0.8006 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006424/1.015, allocations: 5.347 MB / 0.8059 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004797/1.02, allocations: 232.5 kB / 0.8061 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000899/1.021, allocations: 371.5 kB / 0.8064 GB, free: 111.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,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 (738): * Single equations (assignments): 729 * 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.0007333/1.022, allocations: 441.4 kB / 0.8069 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/1.022, allocations: 303.8 kB / 0.8071 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/1.027, allocations: 2.781 MB / 0.8099 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003902/1.031, allocations: 2.368 MB / 0.8122 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.031, allocations: 4 kB / 0.8122 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/1.031, allocations: 7.266 kB / 0.8122 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/1.044, allocations: 7.87 MB / 0.8199 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.044, allocations: 4 kB / 0.8199 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.045, allocations: 225.2 kB / 0.8201 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/1.048, allocations: 0.9581 MB / 0.821 GB, free: 99.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/1.048, allocations: 22.89 kB / 0.821 GB, free: 99.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00456/1.052, allocations: 4.824 MB / 0.8258 GB, free: 95.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005945/1.053, allocations: 1.38 MB / 0.8271 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00638/1.059, allocations: 5.209 MB / 0.8322 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/1.06, allocations: 353.6 kB / 0.8325 GB, free: 88.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003867/1.06, allocations: 11.09 kB / 0.8325 GB, free: 88.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/1.062, allocations: 78.48 kB / 0.8326 GB, free: 88.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/1.062, allocations: 68.8 kB / 0.8327 GB, free: 88.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.062, allocations: 40.69 kB / 0.8327 GB, free: 88.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003246/1.065, allocations: 1.951 MB / 0.8346 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004572/1.07, allocations: 0.9321 MB / 0.8355 GB, free: 85.98 MB / 0.4948 GB 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 (114): * Single equations (assignments): 107 * 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.0004337/1.07, allocations: 154.6 kB / 0.8357 GB, free: 85.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008468/1.079, allocations: 5.224 MB / 0.8408 GB, free: 81.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.079, allocations: 0 / 0.8408 GB, free: 81.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003534/1.082, allocations: 2.008 MB / 0.8427 GB, free: 79.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.084, allocations: 327.4 kB / 0.8431 GB, free: 78.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/1.097, allocations: 7.675 MB / 0.8506 GB, free: 71.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003494/1.1, allocations: 3.496 MB / 0.854 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of SimCode: time 1.202e-06/1.1, allocations: 0 / 0.854 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.05612/1.156, allocations: 35.65 MB / 0.8888 GB, free: 33.03 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches