Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001783/0.001783, allocations: 199.2 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009379/0.0009379, allocations: 88.25 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1892/0.1892, allocations: 45.13 MB / 383.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.402e-06, allocations: 0 / 452.6 MB, free: 76.23 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 63.24 MB / 0.5038 GB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3764/0.498, allocations: 108.8 MB / 0.6101 GB, free: 10.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.4982, allocations: 75.44 kB / 0.6101 GB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.196/0.6942, allocations: 79.29 MB / 0.6876 GB, free: 3.445 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001684/0.6944, allocations: 76 kB / 0.6876 GB, free: 3.371 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: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.01581/0.7103, allocations: 4.212 MB / 0.6918 GB, free: 15.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.7103, allocations: 8.031 kB / 0.6918 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009949/0.7203, allocations: 1.897 MB / 0.6936 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/0.7308, allocations: 4.062 MB / 0.6976 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.731, allocations: 144 kB / 0.6977 GB, free: 8.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.7324, allocations: 248 kB / 0.698 GB, free: 8.668 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009764/0.7422, allocations: 6.127 MB / 0.7039 GB, free: 2.535 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.7571, allocations: 9.387 MB / 0.7131 GB, free: 8.109 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001329/0.7573, allocations: 47.56 kB / 0.7132 GB, free: 8.062 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004666/0.7578, allocations: 32 kB / 0.7132 GB, free: 8.031 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001234/0.759, allocations: 1.045 MB / 0.7142 GB, free: 6.977 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2278/0.9869, allocations: 47.82 MB / 0.7609 GB, free: 171 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/0.9898, allocations: 2.538 MB / 0.7634 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.9916, allocations: 1.685 MB / 0.765 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008633/1, allocations: 6.038 MB / 0.7709 GB, free: 168.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/1, allocations: 53.72 kB / 0.771 GB, free: 168.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=141): time 3.847e-06/1, allocations: 0 / 0.771 GB, free: 168.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=148): time 0.01741/1.018, allocations: 9.582 MB / 0.7803 GB, free: 165.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/1.018, allocations: 143 kB / 0.7805 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/1.021, allocations: 2.934 MB / 0.7833 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001722/1.021, allocations: 25.7 kB / 0.7834 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/1.023, allocations: 2.936 MB / 0.7862 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005321/1.023, allocations: 0.5887 MB / 0.7868 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.023, allocations: 0 / 0.7868 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002669/1.024, allocations: 0.5539 MB / 0.7873 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/1.026, allocations: 1.952 MB / 0.7892 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/1.029, allocations: 5.681 MB / 0.7948 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/1.033, allocations: 3.313 MB / 0.798 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.168e-05/1.033, allocations: 38.69 kB / 0.7981 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.01728/1.05, allocations: 7.857 MB / 0.8057 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.051, allocations: 6.156 kB / 0.8057 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008741/1.059, allocations: 2.979 MB / 0.8087 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008901/1.068, allocations: 1.56 MB / 0.8102 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0048/1.073, allocations: 1.351 MB / 0.8115 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006821/1.08, allocations: 5.343 MB / 0.8167 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005584/1.086, allocations: 233 kB / 0.8169 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/1.087, allocations: 373.4 kB / 0.8173 GB, free: 153.2 MB / 0.5261 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.0008763/1.088, allocations: 445.2 kB / 0.8177 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004812/1.088, allocations: 294.9 kB / 0.818 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005151/1.093, allocations: 2.786 MB / 0.8207 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004469/1.098, allocations: 2.373 MB / 0.823 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/1.098, allocations: 3.156 kB / 0.823 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/1.098, allocations: 11.64 kB / 0.8231 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/1.111, allocations: 7.845 MB / 0.8307 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.111, allocations: 3.938 kB / 0.8307 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/1.112, allocations: 230 kB / 0.8309 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00278/1.115, allocations: 0.9534 MB / 0.8319 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/1.115, allocations: 15.56 kB / 0.8319 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004586/1.12, allocations: 4.829 MB / 0.8366 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006178/1.12, allocations: 1.375 MB / 0.8379 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006476/1.127, allocations: 5.213 MB / 0.843 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007042/1.128, allocations: 356.6 kB / 0.8434 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000402/1.128, allocations: 15.52 kB / 0.8434 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.129, allocations: 71.38 kB / 0.8435 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/1.13, allocations: 68.7 kB / 0.8435 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.13, allocations: 43.75 kB / 0.8436 GB, free: 134 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002388/1.132, allocations: 1.945 MB / 0.8455 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004102/1.136, allocations: 0.9311 MB / 0.8464 GB, free: 131.4 MB / 0.5261 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.0003635/1.137, allocations: 158.2 kB / 0.8465 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007622/1.144, allocations: 5.218 MB / 0.8516 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.144, allocations: 3.938 kB / 0.8516 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003273/1.147, allocations: 2.015 MB / 0.8536 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/1.15, allocations: 330.9 kB / 0.8539 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/1.164, allocations: 7.661 MB / 0.8614 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003501/1.167, allocations: 3.504 MB / 0.8648 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of SimCode: time 9.52e-07/1.167, allocations: 4 kB / 0.8648 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.05892/1.226, allocations: 35.66 MB / 0.8996 GB, free: 84.11 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches