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.001217/0.001217, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.00141, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, 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.2032/0.2032, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00246/0.00246, allocations: 75.88 kB / 480.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3456, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01507/0.3608, allocations: 14.64 MB / 0.5448 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009851/0.3706, allocations: 4.662 MB / 0.5494 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.3731, allocations: 99.69 kB / 0.5495 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005546/0.3787, allocations: 3.105 MB / 0.5525 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005378/0.3841, allocations: 2.023 MB / 0.5545 GB, free: 9.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.3863, allocations: 1.01 MB / 0.5554 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008683/0.395, allocations: 6.952 MB / 0.5622 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004369/0.3994, allocations: 3.641 MB / 0.5658 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00294/0.4024, allocations: 1.815 MB / 0.5676 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003586/0.406, allocations: 2.629 MB / 0.5701 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.407, allocations: 356 kB / 0.5705 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.4092, allocations: 0.8897 MB / 0.5713 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002589/0.4118, allocations: 2.299 MB / 0.5736 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003528/0.4154, allocations: 2.378 MB / 0.5759 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007548/0.4229, allocations: 6.943 MB / 0.5827 GB, free: 12.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.423, allocations: 4 kB / 0.5827 GB, free: 12.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.423, allocations: 0 / 0.5827 GB, free: 12.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002061/0.4232, allocations: 4 kB / 0.5827 GB, free: 12.17 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.0136/0.4368, allocations: 5.428 MB / 0.588 GB, free: 6.672 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4369, allocations: 12.03 kB / 0.588 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001255/0.4381, allocations: 0.5197 MB / 0.5885 GB, free: 6.133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09247/0.5306, allocations: 8.192 MB / 0.5965 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.5411, allocations: 5.187 MB / 0.6016 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.5414, allocations: 205.6 kB / 0.6018 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008711/0.5422, allocations: 291.7 kB / 0.6021 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.5551, allocations: 6.906 MB / 0.6088 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000204/0.5554, allocations: 63.45 kB / 0.6089 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006656/0.5561, allocations: 135.9 kB / 0.609 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00168/0.5578, allocations: 0.9939 MB / 0.61 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.569, allocations: 4.928 MB / 0.6148 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03254/0.6015, allocations: 27.26 MB / 0.6414 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.6041, allocations: 0.7348 MB / 0.6421 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.6044, allocations: 212.2 kB / 0.6423 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.6045, allocations: 20.03 kB / 0.6423 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.6045, allocations: 38.56 kB / 0.6424 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.885e-06/0.6045, allocations: 7.938 kB / 0.6424 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.006779/0.6113, allocations: 1.948 MB / 0.6443 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.6115, allocations: 239.3 kB / 0.6445 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007617/0.6191, allocations: 4.757 MB / 0.6492 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.6192, allocations: 29.7 kB / 0.6492 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002316/0.6215, allocations: 2.757 MB / 0.6519 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/0.6218, allocations: 194.1 kB / 0.6521 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009293/0.6227, allocations: 0.7217 MB / 0.6528 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.6228, allocations: 301.1 kB / 0.6531 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.6241, allocations: 0.7915 MB / 0.6538 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002983/0.6271, allocations: 3.421 MB / 0.6572 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004646/0.6318, allocations: 4.542 MB / 0.6616 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.316e-05/0.6318, allocations: 32.38 kB / 0.6616 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006893/0.6387, allocations: 4.05 MB / 0.6656 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.213e-05/0.6388, allocations: 44 kB / 0.6656 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/0.639, allocations: 96 kB / 0.6657 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.6391, allocations: 127.9 kB / 0.6658 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/0.6416, allocations: 0.8499 MB / 0.6667 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001586/0.6418, allocations: 187.4 kB / 0.6669 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/0.6451, allocations: 0.5374 MB / 0.6674 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003182/0.6455, allocations: 232 kB / 0.6676 GB, free: 0.8828 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.002455/0.6479, allocations: 1.629 MB / 0.6692 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000868/0.6488, allocations: 375.1 kB / 0.6695 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008158/0.6496, allocations: 397.2 kB / 0.6699 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.6496, allocations: 4 kB / 0.6699 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.6496, allocations: 4 kB / 0.6699 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.6497, allocations: 3.984 kB / 0.6699 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008142/0.6578, allocations: 4.748 MB / 0.6746 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/0.6579, allocations: 16 kB / 0.6746 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.6582, allocations: 116.6 kB / 0.6747 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.768e-05/0.6582, allocations: 16 kB / 0.6747 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.6583, allocations: 28 kB / 0.6747 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.685e-05/0.6583, allocations: 27.92 kB / 0.6748 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.226e-05/0.6583, allocations: 23.92 kB / 0.6748 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.6598, allocations: 1.24 MB / 0.676 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.6609, allocations: 479.9 kB / 0.6765 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006448/0.6616, allocations: 32.17 kB / 0.6765 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.6628, allocations: 43.97 kB / 0.6765 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.6629, allocations: 87.52 kB / 0.6766 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.6629, allocations: 36 kB / 0.6766 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004973/0.6679, allocations: 3.132 MB / 0.6797 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6679, allocations: 0 / 0.6797 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003319/0.6712, allocations: 0.826 MB / 0.6805 GB, free: 3.133 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.001792/0.673, allocations: 1.824 MB / 0.6823 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003139/0.6762, allocations: 1.934 MB / 0.6842 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.6762, allocations: 4 kB / 0.6842 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.6766, allocations: 268.3 kB / 0.6844 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/0.6802, allocations: 0.6657 MB / 0.6851 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05302/0.7333, allocations: 34.56 MB / 0.7188 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003673/0.737, allocations: 2.846 MB / 0.7216 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002952/0.74, allocations: 1.162 MB / 0.7228 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/0.7422, allocations: 1.694 MB / 0.7244 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.7422, allocations: 0 / 0.7244 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3229/1.065, allocations: 67.03 MB / 0.7899 GB, free: 130.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.45/17.51, allocations: 2.188 kB / 0.7899 GB, free: 130.1 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