Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 122.2 kB / 17.77 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 202 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 71.89 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3535, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01266/0.3662, allocations: 10.95 MB / 0.5412 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00943/0.3757, allocations: 4.084 MB / 0.5452 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.3783, allocations: 67 kB / 0.5452 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004915/0.3832, allocations: 2.563 MB / 0.5477 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00514/0.3884, allocations: 1.811 MB / 0.5495 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.3904, allocations: 0.733 MB / 0.5502 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006204/0.3966, allocations: 4.223 MB / 0.5544 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004373/0.401, allocations: 3.338 MB / 0.5576 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.4036, allocations: 1.483 MB / 0.5591 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.4065, allocations: 1.951 MB / 0.561 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007286/0.4072, allocations: 316 kB / 0.5613 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.4098, allocations: 1.225 MB / 0.5625 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002258/0.412, allocations: 1.894 MB / 0.5643 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00287/0.4149, allocations: 2.14 MB / 0.5664 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008599/0.4235, allocations: 6.798 MB / 0.573 GB, free: 6.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4236, allocations: 0 / 0.573 GB, free: 6.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4236, allocations: 0 / 0.573 GB, free: 6.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002076/0.4238, allocations: 0 / 0.573 GB, free: 6.035 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.01008/0.4339, allocations: 4.752 MB / 0.5777 GB, free: 1.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.434, allocations: 12.03 kB / 0.5777 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001025/0.435, allocations: 0.6868 MB / 0.5784 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007318/0.4423, allocations: 2.007 MB / 0.5803 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006392/0.4487, allocations: 2.82 MB / 0.5831 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.449, allocations: 238 kB / 0.5833 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/0.4507, allocations: 399.6 kB / 0.5837 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02632/0.4771, allocations: 9.713 MB / 0.5932 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001846/0.4773, allocations: 51.56 kB / 0.5932 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008248/0.4781, allocations: 147.9 kB / 0.5934 GB, free: 408 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0049/0.4831, allocations: 1.751 MB / 0.5951 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02958/0.5127, allocations: 8.176 MB / 0.6031 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06469/0.5774, allocations: 38.34 MB / 0.6405 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009506/0.587, allocations: 3.743 MB / 0.6442 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.5891, allocations: 1.572 MB / 0.6457 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.601, allocations: 7.805 MB / 0.6533 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.6011, allocations: 55.55 kB / 0.6534 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=144): time 4.749e-06/0.6011, allocations: 0 / 0.6534 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.04006/0.6411, allocations: 14.46 MB / 0.6675 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001378/0.6425, allocations: 1.688 MB / 0.6691 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006197/0.6488, allocations: 3.836 MB / 0.6729 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003458/0.6491, allocations: 49.69 kB / 0.6729 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002423/0.6516, allocations: 3.166 MB / 0.676 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.6526, allocations: 0.6708 MB / 0.6767 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00254/0.6552, allocations: 1.21 MB / 0.6779 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.6553, allocations: 301.1 kB / 0.6781 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003434/0.6587, allocations: 1.999 MB / 0.6801 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005787/0.6646, allocations: 5.69 MB / 0.6857 GB, free: 13.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009391/0.674, allocations: 8.293 MB / 0.6937 GB, free: 3.723 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/0.6741, allocations: 36 kB / 0.6938 GB, free: 3.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01518/0.6893, allocations: 8.29 MB / 0.7019 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.475e-05/0.6895, allocations: 67.92 kB / 0.7019 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005174/0.6946, allocations: 2.574 MB / 0.7045 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003722/0.6984, allocations: 1.17 MB / 0.7056 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004243/0.7027, allocations: 1.361 MB / 0.7069 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005436/0.7081, allocations: 4.954 MB / 0.7118 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004303/0.7125, allocations: 399.4 kB / 0.7121 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008334/0.7133, allocations: 364 kB / 0.7125 GB, free: 204 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.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 (734): * Single equations (assignments): 725 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00337/0.7167, allocations: 2.009 MB / 0.7145 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006529/0.7174, allocations: 349.7 kB / 0.7148 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007724/0.7182, allocations: 441.3 kB / 0.7152 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004921/0.7231, allocations: 2.519 MB / 0.7177 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.7231, allocations: 0 / 0.7177 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.7232, allocations: 11.98 kB / 0.7177 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/0.7413, allocations: 9.269 MB / 0.7267 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.7414, allocations: 4.469 kB / 0.7267 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.7426, allocations: 263.5 kB / 0.727 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00328/0.7459, allocations: 1.061 MB / 0.728 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/0.7461, allocations: 51.91 kB / 0.7281 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2742/1.02, allocations: 5.103 MB / 0.7331 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007602/1.021, allocations: 1.558 MB / 0.7346 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009237/1.03, allocations: 5.378 MB / 0.7398 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.032, allocations: 400.2 kB / 0.7402 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004757/1.032, allocations: 41.64 kB / 0.7403 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.034, allocations: 135.5 kB / 0.7404 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/1.034, allocations: 107.4 kB / 0.7405 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/1.034, allocations: 46.58 kB / 0.7405 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004359/1.039, allocations: 2.37 MB / 0.7428 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.41e-07/1.039, allocations: 0 / 0.7428 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005335/1.044, allocations: 0.9794 MB / 0.7438 GB, free: 169 MB / 0.5762 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 (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007529/1.052, allocations: 5.913 MB / 0.7496 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008522/1.06, allocations: 5.414 MB / 0.7549 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.06, allocations: 0 / 0.7549 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003394/1.064, allocations: 2.101 MB / 0.7569 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/1.066, allocations: 458.5 kB / 0.7574 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05412/1.12, allocations: 44.57 MB / 0.8009 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002798/1.123, allocations: 3.131 MB / 0.8039 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003428/1.127, allocations: 1.854 MB / 0.8057 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/1.129, allocations: 1.784 MB / 0.8075 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of SimCode: time 3.046e-06/1.129, allocations: 0 / 0.8075 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/1.23, allocations: 65.79 MB / 0.8717 GB, free: 41.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.94/23.17, allocations: 11.62 kB / 0.8717 GB, free: 41.12 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches