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.001225/0.001225, allocations: 106.8 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2102/0.2102, allocations: 46.1 MB / 343.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 75.22 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1132, allocations: 62.45 MB / 479.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2859/0.3992, allocations: 70.13 MB / 0.5366 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03454/0.4337, allocations: 13.74 MB / 0.5501 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01762/0.4514, allocations: 315.2 kB / 0.5504 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005994/0.4574, allocations: 3.112 MB / 0.5534 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005637/0.4631, allocations: 1.902 MB / 0.5553 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.4651, allocations: 0.9462 MB / 0.5562 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.4763, allocations: 9.391 MB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005064/0.4814, allocations: 3.538 MB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/0.4846, allocations: 1.627 MB / 0.5704 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004161/0.4888, allocations: 2.804 MB / 0.5731 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.4899, allocations: 228 kB / 0.5733 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.4922, allocations: 0.8037 MB / 0.5741 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00271/0.4949, allocations: 2.17 MB / 0.5763 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002815/0.4978, allocations: 2.218 MB / 0.5784 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005584/0.5034, allocations: 6.713 MB / 0.585 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5034, allocations: 0 / 0.585 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5034, allocations: 3.938 kB / 0.585 GB, free: 11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001124/0.5035, allocations: 0 / 0.585 GB, free: 11 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: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01105/0.5146, allocations: 5.432 MB / 0.5903 GB, free: 5.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.5146, allocations: 8.875 kB / 0.5903 GB, free: 5.484 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006848/0.5153, allocations: 0.5159 MB / 0.5908 GB, free: 4.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08586/0.6012, allocations: 8.196 MB / 0.5988 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/0.6127, allocations: 5.089 MB / 0.6038 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.6129, allocations: 205.8 kB / 0.604 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006791/0.6136, allocations: 295.7 kB / 0.6042 GB, free: 7.094 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.6251, allocations: 6.91 MB / 0.611 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.6252, allocations: 59.45 kB / 0.6111 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003031/0.6256, allocations: 127.9 kB / 0.6112 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00148/0.627, allocations: 0.9939 MB / 0.6121 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009899/0.637, allocations: 4.937 MB / 0.617 GB, free: 9.508 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03365/0.6706, allocations: 27.29 MB / 0.6436 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.6731, allocations: 0.7425 MB / 0.6443 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.6735, allocations: 220.6 kB / 0.6445 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.6735, allocations: 7.984 kB / 0.6446 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.6735, allocations: 50.48 kB / 0.6446 GB, free: 12.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.605e-06/0.6736, allocations: 0 / 0.6446 GB, free: 12.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.006575/0.6801, allocations: 1.941 MB / 0.6465 GB, free: 10.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.6803, allocations: 251.2 kB / 0.6467 GB, free: 10.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00796/0.6882, allocations: 4.749 MB / 0.6514 GB, free: 5.383 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.6883, allocations: 33.7 kB / 0.6514 GB, free: 5.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002066/0.6904, allocations: 2.757 MB / 0.6541 GB, free: 2.555 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.6906, allocations: 194.5 kB / 0.6543 GB, free: 2.363 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007521/0.6913, allocations: 0.7178 MB / 0.655 GB, free: 1.637 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.6914, allocations: 305.1 kB / 0.6553 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.6926, allocations: 0.7954 MB / 0.6561 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/0.6956, allocations: 3.417 MB / 0.6594 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004909/0.7005, allocations: 4.546 MB / 0.6638 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.961e-05/0.7006, allocations: 32.44 kB / 0.6639 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.008183/0.7088, allocations: 4.046 MB / 0.6678 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.709, allocations: 44 kB / 0.6679 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002218/0.7092, allocations: 92 kB / 0.6679 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.7094, allocations: 124 kB / 0.6681 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/0.7119, allocations: 0.8582 MB / 0.6689 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001812/0.7121, allocations: 179.3 kB / 0.6691 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/0.7163, allocations: 0.5374 MB / 0.6696 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/0.7166, allocations: 240 kB / 0.6698 GB, free: 15.77 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.002618/0.7193, allocations: 1.617 MB / 0.6714 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008517/0.7201, allocations: 383.2 kB / 0.6718 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006957/0.7208, allocations: 397.2 kB / 0.6722 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.7208, allocations: 12 kB / 0.6722 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.7208, allocations: 0 / 0.6722 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.7209, allocations: 3.938 kB / 0.6722 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006166/0.727, allocations: 4.76 MB / 0.6768 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.7271, allocations: 16.25 kB / 0.6768 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.7274, allocations: 115.8 kB / 0.6769 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/0.7274, allocations: 16 kB / 0.677 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.7274, allocations: 28 kB / 0.677 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.679e-05/0.7275, allocations: 31.94 kB / 0.677 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/0.7275, allocations: 19.92 kB / 0.677 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.7289, allocations: 1.235 MB / 0.6782 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009308/0.7298, allocations: 487.9 kB / 0.6787 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003501/0.7302, allocations: 31.98 kB / 0.6787 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009241/0.7311, allocations: 35.92 kB / 0.6788 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.7312, allocations: 87.81 kB / 0.6789 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.7312, allocations: 36 kB / 0.6789 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004655/0.7359, allocations: 3.136 MB / 0.6819 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7359, allocations: 0 / 0.6819 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003768/0.7397, allocations: 0.826 MB / 0.6828 GB, free: 2.004 MB / 0.5137 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.001712/0.7414, allocations: 1.832 MB / 0.6845 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003359/0.7448, allocations: 1.9 MB / 0.6864 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.7448, allocations: 4 kB / 0.6864 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.7452, allocations: 267.2 kB / 0.6867 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003512/0.7487, allocations: 0.618 MB / 0.6873 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2899/1.039, allocations: 44.07 MB / 0.7303 GB, free: 186 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003018/1.042, allocations: 2.848 MB / 0.7331 GB, free: 184.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003287/1.045, allocations: 1.16 MB / 0.7342 GB, free: 184.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001839/1.047, allocations: 1.695 MB / 0.7359 GB, free: 183.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/1.047, allocations: 0 / 0.7359 GB, free: 183.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0874/1.134, allocations: 66.36 MB / 0.8007 GB, free: 126.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/1.134, allocations: 191.3 kB / 0.8009 GB, free: 126.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.602/4.736, allocations: 0 / 0.8009 GB, free: 126.2 MB / 0.545 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