Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.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.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 117.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2003/0.2003, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 76.2 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3115, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01519/0.3268, allocations: 14.65 MB / 0.5448 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.3376, allocations: 4.668 MB / 0.5494 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003016/0.3407, allocations: 99.62 kB / 0.5495 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005746/0.3464, allocations: 3.091 MB / 0.5525 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00555/0.3521, allocations: 2.085 MB / 0.5545 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.3544, allocations: 1.018 MB / 0.5555 GB, free: 8.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009066/0.3635, allocations: 6.945 MB / 0.5623 GB, free: 1.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00467/0.3682, allocations: 3.642 MB / 0.5659 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00322/0.3715, allocations: 1.819 MB / 0.5676 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003877/0.3754, allocations: 2.625 MB / 0.5702 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001158/0.3765, allocations: 356 kB / 0.5705 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.379, allocations: 0.8897 MB / 0.5714 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00322/0.3822, allocations: 2.299 MB / 0.5736 GB, free: 5.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004795/0.387, allocations: 2.382 MB / 0.576 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.3975, allocations: 6.97 MB / 0.5828 GB, free: 12.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3975, allocations: 0 / 0.5828 GB, free: 12.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3975, allocations: 0 / 0.5828 GB, free: 12.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002356/0.3978, allocations: 0 / 0.5828 GB, free: 12.04 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01537/0.4131, allocations: 5.567 MB / 0.5882 GB, free: 6.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.4132, allocations: 8.031 kB / 0.5882 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001401/0.4146, allocations: 0.512 MB / 0.5887 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.102/0.5167, allocations: 8.222 MB / 0.5968 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/0.5277, allocations: 5.217 MB / 0.6018 GB, free: 8.344 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.5279, allocations: 213.6 kB / 0.6021 GB, free: 8.133 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000741/0.5286, allocations: 283.8 kB / 0.6023 GB, free: 7.855 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.5413, allocations: 6.914 MB / 0.6091 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/0.5415, allocations: 55.61 kB / 0.6091 GB, free: 336 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003224/0.5418, allocations: 131.9 kB / 0.6093 GB, free: 204 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001477/0.5433, allocations: 1.006 MB / 0.6102 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009762/0.5531, allocations: 4.92 MB / 0.615 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03202/0.5851, allocations: 27.32 MB / 0.6417 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.5877, allocations: 0.7309 MB / 0.6424 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.5881, allocations: 224.2 kB / 0.6426 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.5881, allocations: 8.297 kB / 0.6427 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.5881, allocations: 46.56 kB / 0.6427 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.195e-06/0.5882, allocations: 0 / 0.6427 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.006895/0.5951, allocations: 1.966 MB / 0.6446 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.5952, allocations: 239.3 kB / 0.6448 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007505/0.6027, allocations: 4.77 MB / 0.6495 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.787e-05/0.6028, allocations: 37.64 kB / 0.6495 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002422/0.6053, allocations: 2.837 MB / 0.6523 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.6055, allocations: 198.8 kB / 0.6525 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000851/0.6064, allocations: 0.7263 MB / 0.6532 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6065, allocations: 301.1 kB / 0.6535 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.6077, allocations: 0.7993 MB / 0.6543 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00319/0.6109, allocations: 3.414 MB / 0.6576 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004817/0.6158, allocations: 4.542 MB / 0.662 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.807e-05/0.6158, allocations: 28 kB / 0.6621 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007047/0.6229, allocations: 4.068 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.144e-05/0.623, allocations: 44 kB / 0.6661 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/0.6231, allocations: 96 kB / 0.6662 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001062/0.6232, allocations: 124 kB / 0.6663 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/0.6255, allocations: 0.8546 MB / 0.6671 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001642/0.6257, allocations: 179.9 kB / 0.6673 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003246/0.6289, allocations: 0.5585 MB / 0.6678 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002925/0.6292, allocations: 240 kB / 0.6681 GB, free: 384 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * Number of states: 0 () * Number of discrete variables: 54 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002311/0.6316, allocations: 1.625 MB / 0.6697 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007265/0.6323, allocations: 397.8 kB / 0.67 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.6329, allocations: 401.2 kB / 0.6704 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.6329, allocations: 4 kB / 0.6704 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.633, allocations: 0 / 0.6704 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.633, allocations: 11.92 kB / 0.6704 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006741/0.6397, allocations: 4.753 MB / 0.6751 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.6398, allocations: 16.06 kB / 0.6751 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.6401, allocations: 115.8 kB / 0.6752 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/0.6401, allocations: 20 kB / 0.6752 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.6401, allocations: 24 kB / 0.6752 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.838e-05/0.6402, allocations: 27.92 kB / 0.6753 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.535e-05/0.6402, allocations: 23.88 kB / 0.6753 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.6416, allocations: 1.257 MB / 0.6765 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.6427, allocations: 0.4904 MB / 0.677 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004005/0.6431, allocations: 28 kB / 0.677 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/0.644, allocations: 35.97 kB / 0.6771 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-05/0.6441, allocations: 91.52 kB / 0.6772 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.6442, allocations: 32 kB / 0.6772 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00487/0.6491, allocations: 3.136 MB / 0.6802 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.72e-07/0.6491, allocations: 0 / 0.6802 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00368/0.6528, allocations: 0.8306 MB / 0.6811 GB, free: 2.566 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001978/0.6548, allocations: 1.85 MB / 0.6829 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00326/0.6581, allocations: 1.931 MB / 0.6847 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.6581, allocations: 0 / 0.6847 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.6585, allocations: 271.2 kB / 0.685 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/0.662, allocations: 0.678 MB / 0.6857 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04885/0.7109, allocations: 34.72 MB / 0.7196 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003202/0.7141, allocations: 2.85 MB / 0.7224 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002694/0.7169, allocations: 1.154 MB / 0.7235 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/0.7189, allocations: 1.702 MB / 0.7251 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.719, allocations: 0 / 0.7251 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3178/1.037, allocations: 66.27 MB / 0.7899 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.1/19.13, allocations: 0 / 0.7899 GB, free: 129.8 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Bodies/Bodies.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches