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.001134/0.001134, allocations: 95.33 kB / 17 MB, free: 6.418 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.001312/0.001311, allocations: 188.6 kB / 17.89 MB, free: 5.945 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.497/1.497, allocations: 223.2 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 12 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.0453/0.1604, allocations: 45.04 MB / 0.5045 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3673/0.5278, allocations: 10.01 MB / 0.5143 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01316/0.541, allocations: 211.1 kB / 0.5145 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01299/0.5541, allocations: 2.327 MB / 0.5168 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02638/0.5805, allocations: 6.908 MB / 0.5235 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003778/0.5843, allocations: 0.5859 MB / 0.5241 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007366/0.5917, allocations: 4.309 MB / 0.5283 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007498/0.5992, allocations: 4.609 MB / 0.5328 GB, free: 5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/0.602, allocations: 1.199 MB / 0.534 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.6048, allocations: 1.804 MB / 0.5357 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005872/0.6054, allocations: 136.8 kB / 0.5359 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.6076, allocations: 0.9205 MB / 0.5368 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001513/0.6091, allocations: 1.643 MB / 0.5384 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009514/0.6101, allocations: 0.8171 MB / 0.5392 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004846/0.6149, allocations: 5.351 MB / 0.5444 GB, free: 48 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.615, allocations: 0 / 0.5444 GB, free: 48 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.615, allocations: 0 / 0.5444 GB, free: 48 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002096/0.6152, allocations: 0 / 0.5444 GB, free: 48 kB / 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.00877/0.624, allocations: 3.872 MB / 0.5482 GB, free: 12.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.624, allocations: 8.031 kB / 0.5482 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00676/0.6308, allocations: 1.943 MB / 0.5501 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004645/0.6355, allocations: 2.136 MB / 0.5522 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.6357, allocations: 245.7 kB / 0.5524 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009466/0.6366, allocations: 410.3 kB / 0.5528 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/0.6556, allocations: 9.891 MB / 0.5625 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.6558, allocations: 39.64 kB / 0.5625 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000425/0.6562, allocations: 154.1 kB / 0.5626 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002677/0.6589, allocations: 1.826 MB / 0.5644 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01662/0.6755, allocations: 8.169 MB / 0.5724 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05614/0.7317, allocations: 38.79 MB / 0.6103 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00915/0.7409, allocations: 3.678 MB / 0.6139 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002361/0.7433, allocations: 1.617 MB / 0.6154 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01139/0.7547, allocations: 7.834 MB / 0.6231 GB, free: 2.449 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.7548, allocations: 47.5 kB / 0.6231 GB, free: 2.395 MB / 462.1 MB Notification: Performance of pre-optimization done (n=141): time 4.768e-06/0.7548, allocations: 4 kB / 0.6231 GB, free: 2.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=148): time 0.02971/0.7845, allocations: 12.33 MB / 0.6352 GB, free: 5.898 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00203/0.7866, allocations: 1.613 MB / 0.6368 GB, free: 4.117 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006874/0.7935, allocations: 3.813 MB / 0.6405 GB, free: 328 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004679/0.794, allocations: 45.7 kB / 0.6405 GB, free: 276 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002692/0.7967, allocations: 3.061 MB / 0.6435 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.7978, allocations: 0.6049 MB / 0.6441 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.7981, allocations: 118.7 kB / 0.6442 GB, free: 12.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000371/0.7985, allocations: 0.5459 MB / 0.6448 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003269/0.8017, allocations: 2.01 MB / 0.6467 GB, free: 9.996 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005826/0.8076, allocations: 5.646 MB / 0.6522 GB, free: 2.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005264/0.8129, allocations: 3.291 MB / 0.6554 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.969e-05/0.813, allocations: 36 kB / 0.6555 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02196/0.835, allocations: 9.117 MB / 0.6644 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.857e-05/0.8351, allocations: 60 kB / 0.6644 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01029/0.8454, allocations: 3.565 MB / 0.6679 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009984/0.8554, allocations: 2.234 MB / 0.6701 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005506/0.861, allocations: 1.326 MB / 0.6714 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009854/0.8709, allocations: 6.882 MB / 0.6781 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004942/0.8759, allocations: 399.6 kB / 0.6785 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009777/0.8769, allocations: 364 kB / 0.6788 GB, free: 6.949 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 (716): * Single equations (assignments): 707 * 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.003953/0.8809, allocations: 2.03 MB / 0.6808 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006373/0.8815, allocations: 327.8 kB / 0.6811 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006326/0.8879, allocations: 2.936 MB / 0.684 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007075/0.895, allocations: 2.482 MB / 0.6864 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-05/0.895, allocations: 4 kB / 0.6864 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.514e-05/0.8951, allocations: 7.922 kB / 0.6864 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02786/0.923, allocations: 8.544 MB / 0.6948 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-05/0.923, allocations: 4 kB / 0.6948 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00262/0.9257, allocations: 243.6 kB / 0.695 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00587/0.9316, allocations: 1.033 MB / 0.696 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004866/0.9321, allocations: 35.97 kB / 0.6961 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2784/1.21, allocations: 5.02 MB / 0.701 GB, free: 183.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001112/1.212, allocations: 1.472 MB / 0.7024 GB, free: 182.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/1.222, allocations: 5.175 MB / 0.7075 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/1.224, allocations: 393 kB / 0.7078 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005439/1.225, allocations: 38.45 kB / 0.7079 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/1.226, allocations: 138 kB / 0.708 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/1.227, allocations: 87.98 kB / 0.7081 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.227, allocations: 42.83 kB / 0.7081 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005204/1.232, allocations: 2.359 MB / 0.7104 GB, free: 181 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/1.232, allocations: 0 / 0.7104 GB, free: 181 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007354/1.239, allocations: 1.049 MB / 0.7115 GB, free: 180.9 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.0006975/1.24, allocations: 158.8 kB / 0.7116 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.251, allocations: 5.494 MB / 0.717 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.251, allocations: 1.062 kB / 0.717 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003612/1.255, allocations: 2.133 MB / 0.7191 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/1.258, allocations: 423.2 kB / 0.7195 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/1.273, allocations: 10.92 MB / 0.7301 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002977/1.276, allocations: 3.172 MB / 0.7332 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004091/1.28, allocations: 1.809 MB / 0.735 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006481/1.281, allocations: 227.2 kB / 0.7352 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.232e-06/1.281, allocations: 4.609 kB / 0.7352 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.05965/1.34, allocations: 35.92 MB / 0.7703 GB, free: 139 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches