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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 97.45 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001405, allocations: 183.8 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2041/0.2041, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004132, allocations: 18.89 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 61.91 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.03879/0.1734, allocations: 42.58 MB / 0.502 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3375/0.5109, allocations: 10.41 MB / 0.5121 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01515/0.5261, allocations: 210.3 kB / 0.5123 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.5371, allocations: 2.109 MB / 0.5144 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03022/0.5673, allocations: 6.147 MB / 0.5204 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00623/0.5736, allocations: 0.59 MB / 0.521 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008716/0.5824, allocations: 2.061 MB / 0.523 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008076/0.5905, allocations: 4.573 MB / 0.5275 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.5935, allocations: 0.9775 MB / 0.5284 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.5963, allocations: 1.249 MB / 0.5296 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007539/0.5971, allocations: 135.7 kB / 0.5298 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.5999, allocations: 0.8848 MB / 0.5306 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001999/0.6019, allocations: 1.522 MB / 0.5321 GB, free: 6.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.6033, allocations: 0.8243 MB / 0.5329 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007122/0.6104, allocations: 5.357 MB / 0.5382 GB, free: 3.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.6105, allocations: 4 kB / 0.5382 GB, free: 3.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.6105, allocations: 0 / 0.5382 GB, free: 3.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002982/0.6108, allocations: 0 / 0.5382 GB, free: 3.254 MB / 382.1 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.01186/0.6226, allocations: 3.878 MB / 0.5419 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.6227, allocations: 9.719 kB / 0.542 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009134/0.6319, allocations: 2.289 MB / 0.5442 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007276/0.6392, allocations: 2.24 MB / 0.5464 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/0.6395, allocations: 242.7 kB / 0.5466 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001778/0.6413, allocations: 412 kB / 0.547 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0277/0.669, allocations: 9.987 MB / 0.5568 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003675/0.6694, allocations: 43.58 kB / 0.5568 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002476/0.6719, allocations: 155.8 kB / 0.5569 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003502/0.6754, allocations: 1.823 MB / 0.5587 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02119/0.6966, allocations: 8.29 MB / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06061/0.7573, allocations: 38.89 MB / 0.6048 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009497/0.7668, allocations: 3.694 MB / 0.6084 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0135/0.7804, allocations: 7.887 MB / 0.6161 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/0.7805, allocations: 51.48 kB / 0.6162 GB, free: 10.31 MB / 462.1 MB Notification: Performance of pre-optimization done (n=141): time 5.44e-06/0.7805, allocations: 4 kB / 0.6162 GB, free: 10.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=148): time 0.03104/0.8115, allocations: 12.62 MB / 0.6285 GB, free: 13.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001701/0.8133, allocations: 1.632 MB / 0.6301 GB, free: 11.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00649/0.8198, allocations: 3.943 MB / 0.6339 GB, free: 7.746 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004997/0.8203, allocations: 55 kB / 0.634 GB, free: 7.688 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002571/0.8229, allocations: 3.044 MB / 0.637 GB, free: 4.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001104/0.824, allocations: 0.6066 MB / 0.6375 GB, free: 4.059 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.8243, allocations: 112 kB / 0.6377 GB, free: 3.949 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004896/0.8248, allocations: 0.5419 MB / 0.6382 GB, free: 3.398 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003204/0.828, allocations: 2.041 MB / 0.6402 GB, free: 1.352 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00567/0.8337, allocations: 5.651 MB / 0.6457 GB, free: 9.879 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005235/0.8389, allocations: 3.312 MB / 0.6489 GB, free: 6.566 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.943e-05/0.839, allocations: 40 kB / 0.649 GB, free: 6.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02236/0.8614, allocations: 9.163 MB / 0.6579 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.8616, allocations: 60 kB / 0.658 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0113/0.8729, allocations: 3.606 MB / 0.6615 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/0.8835, allocations: 2.238 MB / 0.6637 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004812/0.8884, allocations: 1.318 MB / 0.665 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.8993, allocations: 7.272 MB / 0.6721 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005672/0.905, allocations: 403.2 kB / 0.6725 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/0.9062, allocations: 356 kB / 0.6728 GB, free: 13.81 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (712): * Single equations (assignments): 703 * 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 {(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 prepare postOptimizeDAE: time 0.00425/0.9105, allocations: 2.032 MB / 0.6748 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007504/0.9112, allocations: 324.7 kB / 0.6751 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005847/0.9171, allocations: 2.936 MB / 0.678 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004817/0.9219, allocations: 2.476 MB / 0.6804 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.922, allocations: 0 / 0.6804 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-05/0.922, allocations: 15.91 kB / 0.6804 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/0.9393, allocations: 8.56 MB / 0.6887 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.9394, allocations: 4 kB / 0.6888 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.9405, allocations: 248.3 kB / 0.689 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003032/0.9436, allocations: 1.029 MB / 0.69 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.9437, allocations: 31.98 kB / 0.69 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005901/0.9496, allocations: 5.115 MB / 0.695 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001107/0.9508, allocations: 1.498 MB / 0.6965 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.263/1.214, allocations: 5.32 MB / 0.7017 GB, free: 182 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/1.216, allocations: 392.8 kB / 0.7021 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008505/1.217, allocations: 28.48 kB / 0.7021 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/1.218, allocations: 140 kB / 0.7022 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/1.219, allocations: 91.62 kB / 0.7023 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/1.219, allocations: 42.5 kB / 0.7023 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005654/1.224, allocations: 2.464 MB / 0.7047 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.734e-06/1.224, allocations: 0 / 0.7047 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006204/1.231, allocations: 1.064 MB / 0.7058 GB, free: 181.8 MB / 0.5294 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 () * Number of clocked 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.0005703/1.231, allocations: 177.6 kB / 0.706 GB, free: 181.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01052/1.242, allocations: 5.494 MB / 0.7113 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.242, allocations: 1.094 kB / 0.7113 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004282/1.246, allocations: 2.128 MB / 0.7134 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/1.249, allocations: 413.2 kB / 0.7138 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.267, allocations: 10.88 MB / 0.7244 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003079/1.27, allocations: 3.26 MB / 0.7276 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004164/1.275, allocations: 1.807 MB / 0.7294 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006571/1.275, allocations: 224.3 kB / 0.7296 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.222e-06/1.275, allocations: 0 / 0.7296 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.06245/1.338, allocations: 36.63 MB / 0.7654 GB, free: 144.2 MB / 0.5294 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