Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Bodies.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001082, allocations: 204.3 kB / 16.1 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 226.5 MB / 243.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007789/0.0007787, allocations: 104.8 kB / 295.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.301/0.301, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002619, allocations: 11.94 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2866, allocations: 62.96 MB / 0.516 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.05097/0.3376, allocations: 64.08 MB / 0.5785 GB, free: 7.27 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02962/0.3673, allocations: 13.32 MB / 0.5915 GB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01176/0.3791, allocations: 311.2 kB / 0.5918 GB, free: 11.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009474/0.3886, allocations: 3.17 MB / 0.5949 GB, free: 8.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0232/0.4118, allocations: 9.572 MB / 0.6043 GB, free: 14.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003818/0.4157, allocations: 0.9635 MB / 0.6052 GB, free: 13.77 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.07683/0.4925, allocations: 62.64 MB / 0.6664 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00618/0.4987, allocations: 4.718 MB / 0.671 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.5014, allocations: 1.526 MB / 0.6725 GB, free: 8.715 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003246/0.5047, allocations: 2.524 MB / 0.675 GB, free: 6.184 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005565/0.5053, allocations: 140 kB / 0.6751 GB, free: 6.047 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.5068, allocations: 0.7256 MB / 0.6758 GB, free: 5.32 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001888/0.5087, allocations: 2.034 MB / 0.6778 GB, free: 3.281 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.5108, allocations: 1.983 MB / 0.6797 GB, free: 1.281 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2502/0.7611, allocations: 5.405 MB / 0.685 GB, free: 69.01 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.7611, allocations: 5.344 kB / 0.685 GB, free: 69.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7611, allocations: 0 / 0.685 GB, free: 69.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002568/0.7614, allocations: 0 / 0.685 GB, free: 69.01 MB / 490.7 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.01261/0.774, allocations: 4.574 MB / 0.6895 GB, free: 67.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.7741, allocations: 9.375 kB / 0.6895 GB, free: 67.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001911/0.776, allocations: 0.5079 MB / 0.69 GB, free: 67.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09631/0.8723, allocations: 8.403 MB / 0.6982 GB, free: 66.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/0.884, allocations: 5.09 MB / 0.7032 GB, free: 65.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.8843, allocations: 205.3 kB / 0.7033 GB, free: 65.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001084/0.8854, allocations: 296.1 kB / 0.7036 GB, free: 65.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.8993, allocations: 6.933 MB / 0.7104 GB, free: 64.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001943/0.8995, allocations: 59.58 kB / 0.7105 GB, free: 64.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000427/0.8999, allocations: 130.5 kB / 0.7106 GB, free: 64.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001375/0.9013, allocations: 1 MB / 0.7116 GB, free: 64.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009496/0.9108, allocations: 4.951 MB / 0.7164 GB, free: 63.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02759/0.9385, allocations: 27.28 MB / 0.743 GB, free: 42.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.9407, allocations: 0.7354 MB / 0.7438 GB, free: 41.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.941, allocations: 222.2 kB / 0.744 GB, free: 41.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.941, allocations: 13.8 kB / 0.744 GB, free: 41.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.941, allocations: 43.5 kB / 0.744 GB, free: 41.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 2.735e-06/0.9411, allocations: 0 / 0.744 GB, free: 41.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=37): time 0.006024/0.9471, allocations: 1.945 MB / 0.7459 GB, free: 39.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.9472, allocations: 237.9 kB / 0.7461 GB, free: 39.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005613/0.9528, allocations: 4.73 MB / 0.7508 GB, free: 35.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.9529, allocations: 39.36 kB / 0.7508 GB, free: 35.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.9543, allocations: 2.752 MB / 0.7535 GB, free: 33.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.9545, allocations: 200.6 kB / 0.7537 GB, free: 33.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.9546, allocations: 72.5 kB / 0.7537 GB, free: 33.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.9548, allocations: 452.6 kB / 0.7542 GB, free: 33.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.9558, allocations: 0.7818 MB / 0.7549 GB, free: 32.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.9576, allocations: 3.399 MB / 0.7583 GB, free: 28.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003084/0.9607, allocations: 4.53 MB / 0.7627 GB, free: 23.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.614e-05/0.9608, allocations: 28 kB / 0.7627 GB, free: 23.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005486/0.9663, allocations: 4.027 MB / 0.7666 GB, free: 20.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.141e-05/0.9663, allocations: 44 kB / 0.7667 GB, free: 20.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.387e-05/0.9664, allocations: 96 kB / 0.7668 GB, free: 20.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.483e-05/0.9665, allocations: 127.4 kB / 0.7669 GB, free: 20.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.9684, allocations: 0.8514 MB / 0.7677 GB, free: 19.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.402e-05/0.9685, allocations: 182.5 kB / 0.7679 GB, free: 19.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003161/0.9717, allocations: 0.542 MB / 0.7684 GB, free: 19.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/0.9719, allocations: 233.9 kB / 0.7687 GB, free: 19.1 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00234/0.9743, allocations: 1.623 MB / 0.7702 GB, free: 18.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008241/0.9751, allocations: 375.1 kB / 0.7706 GB, free: 17.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006368/0.9757, allocations: 404.6 kB / 0.771 GB, free: 17.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.9757, allocations: 8 kB / 0.771 GB, free: 17.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.9758, allocations: 3.984 kB / 0.771 GB, free: 17.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.9758, allocations: 0 / 0.771 GB, free: 17.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005278/0.981, allocations: 4.759 MB / 0.7756 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.9811, allocations: 12 kB / 0.7757 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.9814, allocations: 114.2 kB / 0.7758 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/0.9814, allocations: 20 kB / 0.7758 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.9814, allocations: 27.62 kB / 0.7758 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-05/0.9814, allocations: 32.06 kB / 0.7758 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.9814, allocations: 19.09 kB / 0.7759 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009739/0.9824, allocations: 1.236 MB / 0.7771 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/0.9832, allocations: 488.5 kB / 0.7775 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/0.9835, allocations: 33.61 kB / 0.7776 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/0.9845, allocations: 38.28 kB / 0.7776 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/0.9845, allocations: 89.36 kB / 0.7777 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.9846, allocations: 31.88 kB / 0.7777 GB, free: 11.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003663/0.9882, allocations: 3.106 MB / 0.7808 GB, free: 9.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9883, allocations: 0 / 0.7808 GB, free: 9.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003228/0.9915, allocations: 0.8377 MB / 0.7816 GB, free: 8.387 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001213/0.9927, allocations: 1.835 MB / 0.7834 GB, free: 6.531 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002577/0.9953, allocations: 1.884 MB / 0.7852 GB, free: 5.277 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.9953, allocations: 0 / 0.7852 GB, free: 5.277 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.9956, allocations: 261 kB / 0.7855 GB, free: 5.113 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01117/1.007, allocations: 0.6412 MB / 0.7861 GB, free: 4.664 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0524/1.059, allocations: 30.53 MB / 0.8159 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003315/1.063, allocations: 2.851 MB / 0.8187 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/1.065, allocations: 1.724 MB / 0.8204 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/1.065, allocations: 0 / 0.8204 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.437/7.501, allocations: 63.09 MB / 0.882 GB, free: 4.355 MB / 0.573 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches