Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001352, allocations: 96.41 kB / 16.99 MB, free: 5.941 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.001515/0.001516, allocations: 183.3 kB / 17.87 MB, free: 5.609 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.739/1.739, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2589/0.2589, allocations: 44.21 MB / 337.1 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000309/0.0003089, allocations: 12 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 61.91 MB / 471.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.03969/0.1759, allocations: 39.41 MB / 0.4989 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3072/0.4831, allocations: 9.8 MB / 0.5085 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009388/0.4925, allocations: 196.2 kB / 0.5086 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007982/0.5005, allocations: 1.947 MB / 0.5105 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02127/0.5218, allocations: 5.718 MB / 0.5161 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.5255, allocations: 0.5869 MB / 0.5167 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006305/0.5318, allocations: 2.31 MB / 0.519 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007831/0.5397, allocations: 3.992 MB / 0.5229 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002647/0.5424, allocations: 1.003 MB / 0.5238 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.5445, allocations: 1.234 MB / 0.525 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005686/0.5451, allocations: 131.2 kB / 0.5252 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.5476, allocations: 0.9378 MB / 0.5261 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002046/0.5496, allocations: 1.567 MB / 0.5276 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.551, allocations: 0.8142 MB / 0.5284 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006233/0.5573, allocations: 5.288 MB / 0.5336 GB, free: 4.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5573, allocations: 0 / 0.5336 GB, free: 4.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5573, allocations: 4 kB / 0.5336 GB, free: 4.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002356/0.5575, allocations: 1.641 kB / 0.5336 GB, free: 4.793 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: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.009392/0.5669, allocations: 3.966 MB / 0.5374 GB, free: 2.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.567, allocations: 10.59 kB / 0.5375 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00868/0.5757, allocations: 2.294 MB / 0.5397 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008675/0.5844, allocations: 2.526 MB / 0.5422 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002773/0.5847, allocations: 247 kB / 0.5424 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001801/0.5865, allocations: 402.7 kB / 0.5428 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02185/0.6084, allocations: 9.96 MB / 0.5525 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/0.6086, allocations: 43.58 kB / 0.5526 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005036/0.6091, allocations: 158.5 kB / 0.5527 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00286/0.612, allocations: 1.814 MB / 0.5545 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01882/0.6308, allocations: 8.409 MB / 0.5627 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05655/0.6874, allocations: 39.02 MB / 0.6008 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009686/0.6971, allocations: 3.746 MB / 0.6045 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/0.7104, allocations: 7.812 MB / 0.6121 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.7105, allocations: 55.5 kB / 0.6121 GB, free: 14.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=144): time 4.538e-06/0.7105, allocations: 0 / 0.6121 GB, free: 14.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03914/0.7497, allocations: 14.52 MB / 0.6263 GB, free: 15.67 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001304/0.751, allocations: 1.609 MB / 0.6279 GB, free: 13.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006778/0.7578, allocations: 4.071 MB / 0.6319 GB, free: 9.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006473/0.7585, allocations: 56.23 kB / 0.6319 GB, free: 9.781 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002746/0.7613, allocations: 3.095 MB / 0.6349 GB, free: 6.703 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001206/0.7625, allocations: 0.6456 MB / 0.6356 GB, free: 6.062 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.7628, allocations: 116.3 kB / 0.6357 GB, free: 5.949 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004292/0.7632, allocations: 0.5581 MB / 0.6362 GB, free: 5.383 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003323/0.7665, allocations: 2.01 MB / 0.6382 GB, free: 3.367 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005741/0.7723, allocations: 5.729 MB / 0.6438 GB, free: 11.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00572/0.778, allocations: 3.318 MB / 0.647 GB, free: 8.453 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/0.7782, allocations: 36 kB / 0.6471 GB, free: 8.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02453/0.8027, allocations: 9.234 MB / 0.6561 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.8029, allocations: 64 kB / 0.6561 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01235/0.8153, allocations: 3.53 MB / 0.6596 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/0.8263, allocations: 2.277 MB / 0.6618 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005294/0.8316, allocations: 1.368 MB / 0.6631 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/0.8422, allocations: 6.696 MB / 0.6697 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006098/0.8483, allocations: 395.4 kB / 0.6701 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/0.8496, allocations: 372 kB / 0.6704 GB, free: 184 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (740): * Single equations (assignments): 731 * 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.00482/0.8544, allocations: 2.046 MB / 0.6724 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008804/0.8553, allocations: 335.7 kB / 0.6727 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006396/0.8617, allocations: 2.96 MB / 0.6756 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005203/0.8669, allocations: 2.492 MB / 0.678 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.867, allocations: 3.953 kB / 0.6781 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/0.867, allocations: 11.97 kB / 0.6781 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/0.8872, allocations: 9.38 MB / 0.6872 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/0.8873, allocations: 4 kB / 0.6872 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.8886, allocations: 260 kB / 0.6875 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00332/0.8919, allocations: 1.064 MB / 0.6885 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/0.8922, allocations: 43.97 kB / 0.6886 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005847/0.898, allocations: 4.89 MB / 0.6933 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001181/0.8993, allocations: 1.477 MB / 0.6948 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.9094, allocations: 5.79 MB / 0.7004 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/0.9113, allocations: 400.7 kB / 0.7008 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007319/0.912, allocations: 31.98 kB / 0.7008 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.9136, allocations: 131.8 kB / 0.701 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3045/1.218, allocations: 108.8 kB / 0.7011 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000448/1.219, allocations: 50.72 kB / 0.7011 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005891/1.225, allocations: 2.552 MB / 0.7036 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/1.225, allocations: 1.094 kB / 0.7036 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00731/1.232, allocations: 1.044 MB / 0.7046 GB, free: 182.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (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.0006278/1.233, allocations: 187.8 kB / 0.7048 GB, free: 182 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.244, allocations: 5.48 MB / 0.7102 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.244, allocations: 0.9375 kB / 0.7102 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004145/1.248, allocations: 2.068 MB / 0.7122 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/1.251, allocations: 428.2 kB / 0.7126 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/1.27, allocations: 10.94 MB / 0.7233 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003763/1.273, allocations: 3.268 MB / 0.7265 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004347/1.278, allocations: 1.871 MB / 0.7283 GB, free: 173 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/1.278, allocations: 239.7 kB / 0.7285 GB, free: 173 MB / 0.5294 GB Notification: Performance of SimCode: time 1.332e-06/1.278, allocations: 0 / 0.7285 GB, free: 173 MB / 0.5294 GB Notification: Performance of Templates: time 0.06288/1.341, allocations: 36.29 MB / 0.764 GB, free: 145 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches