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.00124/0.00124, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2129/0.2129, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002212, allocations: 75.89 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3136, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01437/0.328, allocations: 14.65 MB / 0.5448 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009966/0.338, allocations: 4.661 MB / 0.5494 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.3408, allocations: 100.3 kB / 0.5495 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00596/0.3467, allocations: 3.1 MB / 0.5525 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005147/0.352, allocations: 2.019 MB / 0.5545 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.3544, allocations: 1.022 MB / 0.5555 GB, free: 8.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008905/0.3633, allocations: 6.948 MB / 0.5622 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004356/0.3677, allocations: 3.638 MB / 0.5658 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.3707, allocations: 1.822 MB / 0.5676 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.3745, allocations: 2.622 MB / 0.5701 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009979/0.3755, allocations: 360 kB / 0.5705 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.3775, allocations: 0.8897 MB / 0.5713 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002138/0.3797, allocations: 2.303 MB / 0.5736 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002682/0.3824, allocations: 2.378 MB / 0.5759 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00671/0.3891, allocations: 6.943 MB / 0.5827 GB, free: 12.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3892, allocations: 4 kB / 0.5827 GB, free: 12.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3892, allocations: 0 / 0.5827 GB, free: 12.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001654/0.3893, allocations: 0 / 0.5827 GB, free: 12.13 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.01317/0.4025, allocations: 5.432 MB / 0.588 GB, free: 6.625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4026, allocations: 16.03 kB / 0.588 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009178/0.4035, allocations: 0.5042 MB / 0.5885 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1099/0.5134, allocations: 8.2 MB / 0.5965 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/0.5249, allocations: 5.191 MB / 0.6016 GB, free: 8.609 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.5251, allocations: 205.6 kB / 0.6018 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009129/0.5261, allocations: 291.7 kB / 0.6021 GB, free: 8.121 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.5392, allocations: 6.902 MB / 0.6088 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000224/0.5395, allocations: 63.39 kB / 0.6089 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007021/0.5402, allocations: 135.9 kB / 0.609 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001677/0.5419, allocations: 0.9978 MB / 0.61 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.5528, allocations: 4.92 MB / 0.6148 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03616/0.589, allocations: 27.26 MB / 0.6414 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.5917, allocations: 0.7348 MB / 0.6421 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003949/0.5921, allocations: 216.2 kB / 0.6423 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.5922, allocations: 16.28 kB / 0.6423 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.5922, allocations: 34.56 kB / 0.6424 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 3.467e-06/0.5922, allocations: 4 kB / 0.6424 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.007101/0.5993, allocations: 1.956 MB / 0.6443 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.5995, allocations: 235.3 kB / 0.6445 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/0.6098, allocations: 4.757 MB / 0.6491 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.61, allocations: 33.7 kB / 0.6492 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002961/0.613, allocations: 2.754 MB / 0.6519 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000345/0.6134, allocations: 198.1 kB / 0.6521 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001413/0.6148, allocations: 0.7217 MB / 0.6528 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.6149, allocations: 305.1 kB / 0.6531 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.6165, allocations: 0.7914 MB / 0.6538 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003337/0.6198, allocations: 3.421 MB / 0.6572 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005012/0.6249, allocations: 4.546 MB / 0.6616 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.718e-05/0.625, allocations: 28 kB / 0.6616 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.008174/0.6332, allocations: 4.046 MB / 0.6656 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.6333, allocations: 48 kB / 0.6656 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/0.6335, allocations: 92 kB / 0.6657 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/0.6336, allocations: 124 kB / 0.6658 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/0.6361, allocations: 0.8499 MB / 0.6667 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001486/0.6363, allocations: 187.4 kB / 0.6668 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.6398, allocations: 0.5374 MB / 0.6674 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000482/0.6403, allocations: 232 kB / 0.6676 GB, free: 0.8477 MB / 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.003024/0.6434, allocations: 1.633 MB / 0.6692 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009583/0.6443, allocations: 379.1 kB / 0.6695 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.6454, allocations: 397.2 kB / 0.6699 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.6454, allocations: 4 kB / 0.6699 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.6454, allocations: 4 kB / 0.6699 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.6455, allocations: 3.984 kB / 0.6699 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00895/0.6544, allocations: 4.748 MB / 0.6746 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-05/0.6545, allocations: 16.19 kB / 0.6746 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.6548, allocations: 119.8 kB / 0.6747 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/0.6548, allocations: 16.78 kB / 0.6747 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.6549, allocations: 28 kB / 0.6747 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-05/0.6549, allocations: 27.92 kB / 0.6748 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/0.655, allocations: 23.88 kB / 0.6748 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.6565, allocations: 1.236 MB / 0.676 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.6579, allocations: 479.9 kB / 0.6765 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007108/0.6586, allocations: 31.98 kB / 0.6765 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.66, allocations: 39.97 kB / 0.6765 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.75e-05/0.6601, allocations: 83.58 kB / 0.6766 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.6601, allocations: 39.94 kB / 0.6766 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006114/0.6662, allocations: 3.128 MB / 0.6797 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.81e-07/0.6663, allocations: 0 / 0.6797 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003939/0.6702, allocations: 0.826 MB / 0.6805 GB, free: 3.098 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.002048/0.6723, allocations: 1.825 MB / 0.6823 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003208/0.6755, allocations: 1.934 MB / 0.6842 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/0.6756, allocations: 4 kB / 0.6842 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.676, allocations: 266.3 kB / 0.6844 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/0.68, allocations: 0.6715 MB / 0.6851 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04935/0.7294, allocations: 34.56 MB / 0.7188 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003517/0.733, allocations: 2.85 MB / 0.7216 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003088/0.7361, allocations: 1.158 MB / 0.7228 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0024/0.7385, allocations: 1.69 MB / 0.7244 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.7385, allocations: 0 / 0.7244 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3246/1.063, allocations: 67.02 MB / 0.7899 GB, free: 130 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.34/17.41, allocations: 6.031 kB / 0.7899 GB, free: 130 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat","/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