Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008245/0.0008241, allocations: 94.23 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3837/0.3837, allocations: 43.56 MB / 362.7 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004424, allocations: 16 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1256, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.2627/0.3884, allocations: 42.01 MB / 0.5198 GB, free: 20.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02132/0.4098, allocations: 9.473 MB / 0.529 GB, free: 14.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01005/0.4199, allocations: 196.9 kB / 0.5292 GB, free: 14.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006989/0.4269, allocations: 2.151 MB / 0.5313 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01792/0.4449, allocations: 6.492 MB / 0.5377 GB, free: 10.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.4483, allocations: 0.609 MB / 0.5382 GB, free: 10.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007291/0.4557, allocations: 4.833 MB / 0.543 GB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006629/0.4623, allocations: 4.039 MB / 0.5469 GB, free: 7.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005616/0.468, allocations: 1.264 MB / 0.5481 GB, free: 6.848 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006515/0.4746, allocations: 1.889 MB / 0.55 GB, free: 6.277 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001941/0.4765, allocations: 136.9 kB / 0.5501 GB, free: 6.277 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005596/0.4822, allocations: 0.9535 MB / 0.5511 GB, free: 6.086 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004813/0.487, allocations: 1.738 MB / 0.5527 GB, free: 5.574 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00318/0.4903, allocations: 0.8439 MB / 0.5536 GB, free: 4.988 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.5006, allocations: 5.458 MB / 0.5589 GB, free: 1.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5006, allocations: 0 / 0.5589 GB, free: 1.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5007, allocations: 0 / 0.5589 GB, free: 1.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003847/0.5011, allocations: 0 / 0.5589 GB, free: 1.328 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.01612/0.5172, allocations: 3.994 MB / 0.5628 GB, free: 14.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.5173, allocations: 9.438 kB / 0.5628 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.5288, allocations: 1.995 MB / 0.5648 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008647/0.5375, allocations: 2.406 MB / 0.5671 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003101/0.5378, allocations: 246 kB / 0.5673 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002153/0.54, allocations: 411.5 kB / 0.5677 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02769/0.5677, allocations: 10.16 MB / 0.5777 GB, free: 192 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003011/0.5681, allocations: 43.67 kB / 0.5777 GB, free: 148 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001816/0.5699, allocations: 159.8 kB / 0.5779 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00438/0.5743, allocations: 1.877 MB / 0.5797 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02703/0.6014, allocations: 8.568 MB / 0.5881 GB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.065/0.6665, allocations: 39.75 MB / 0.6269 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009722/0.6762, allocations: 3.832 MB / 0.6306 GB, free: 8.566 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002485/0.6787, allocations: 1.605 MB / 0.6322 GB, free: 6.953 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0138/0.6926, allocations: 7.908 MB / 0.6399 GB, free: 14.67 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.6927, allocations: 51.5 kB / 0.64 GB, free: 14.61 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 4.96e-06/0.6927, allocations: 4 kB / 0.64 GB, free: 14.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=169): time 0.04208/0.7348, allocations: 14.56 MB / 0.6542 GB, free: 15.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001491/0.7363, allocations: 1.596 MB / 0.6557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009702/0.746, allocations: 3.902 MB / 0.6595 GB, free: 10.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000584/0.7467, allocations: 61.62 kB / 0.6596 GB, free: 10.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00329/0.75, allocations: 3.159 MB / 0.6627 GB, free: 6.938 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001246/0.7513, allocations: 0.6828 MB / 0.6634 GB, free: 6.246 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007637/0.752, allocations: 120 kB / 0.6635 GB, free: 6.129 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006463/0.7527, allocations: 0.5664 MB / 0.664 GB, free: 5.555 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004836/0.7576, allocations: 2.073 MB / 0.6661 GB, free: 3.477 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007523/0.7651, allocations: 5.885 MB / 0.6718 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006116/0.7713, allocations: 3.405 MB / 0.6751 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/0.7715, allocations: 43.98 kB / 0.6752 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=808) (initialization): time 0.3119/1.083, allocations: 9.423 MB / 0.6844 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.084, allocations: 62.09 kB / 0.6844 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.012/1.096, allocations: 3.597 MB / 0.6879 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/1.106, allocations: 2.29 MB / 0.6902 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004847/1.111, allocations: 1.418 MB / 0.6916 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008612/1.119, allocations: 6.38 MB / 0.6978 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005684/1.125, allocations: 406.8 kB / 0.6982 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009143/1.126, allocations: 381.8 kB / 0.6985 GB, free: 142.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 39 (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 (770): * Single equations (assignments): 761 * 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.003903/1.13, allocations: 2.09 MB / 0.7006 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006837/1.131, allocations: 344.1 kB / 0.7009 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00556/1.136, allocations: 3.07 MB / 0.7039 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004559/1.141, allocations: 2.589 MB / 0.7064 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.141, allocations: 3.125 kB / 0.7064 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/1.141, allocations: 10.06 kB / 0.7065 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/1.159, allocations: 9.662 MB / 0.7159 GB, free: 137 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/1.159, allocations: 3.094 kB / 0.7159 GB, free: 137 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.16, allocations: 279.4 kB / 0.7162 GB, free: 137 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00324/1.163, allocations: 1.064 MB / 0.7172 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/1.163, allocations: 46.36 kB / 0.7172 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005866/1.169, allocations: 4.802 MB / 0.7219 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007809/1.17, allocations: 1.457 MB / 0.7234 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009446/1.179, allocations: 5.504 MB / 0.7287 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/1.181, allocations: 401.6 kB / 0.7291 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004355/1.181, allocations: 41.28 kB / 0.7292 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.183, allocations: 132.6 kB / 0.7293 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002663/1.183, allocations: 117.5 kB / 0.7294 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/1.183, allocations: 55.72 kB / 0.7294 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003797/1.187, allocations: 2.4 MB / 0.7318 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.41e-07/1.187, allocations: 3.969 kB / 0.7318 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006012/1.193, allocations: 1.058 MB / 0.7328 GB, free: 129 MB / 0.4948 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 (136): * Single equations (assignments): 129 * 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.000462/1.193, allocations: 170 kB / 0.733 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008976/1.202, allocations: 5.662 MB / 0.7385 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.202, allocations: 0 / 0.7385 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003622/1.206, allocations: 2.117 MB / 0.7406 GB, free: 126 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/1.209, allocations: 450.2 kB / 0.741 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/1.226, allocations: 11.82 MB / 0.7526 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002922/1.229, allocations: 3.247 MB / 0.7557 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009839/1.23, allocations: 292 kB / 0.756 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.693e-06/1.23, allocations: 0 / 0.756 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.3743/1.605, allocations: 132.1 MB / 0.885 GB, free: 159.6 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches