Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009367/0.0009368, allocations: 173.8 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007223/0.0007223, allocations: 95.91 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2923/0.2923, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003537, allocations: 12 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.09806, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2228/0.3209, allocations: 64.12 MB / 0.542 GB, free: 4.738 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0253/0.3462, allocations: 13.3 MB / 0.555 GB, free: 11.7 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01098/0.3573, allocations: 312.4 kB / 0.5553 GB, free: 11.64 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009038/0.3663, allocations: 3.169 MB / 0.5584 GB, free: 10.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02539/0.3918, allocations: 9.603 MB / 0.5678 GB, free: 6.488 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003749/0.3955, allocations: 0.9557 MB / 0.5687 GB, free: 6.148 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04233/0.4379, allocations: 35.17 MB / 0.6031 GB, free: 7.418 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006758/0.4447, allocations: 4.744 MB / 0.6077 GB, free: 2.621 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.4476, allocations: 1.541 MB / 0.6092 GB, free: 1.074 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003803/0.4514, allocations: 2.548 MB / 0.6117 GB, free: 14.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009252/0.4524, allocations: 140 kB / 0.6118 GB, free: 14.38 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.4547, allocations: 0.745 MB / 0.6125 GB, free: 13.64 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002492/0.4572, allocations: 2.065 MB / 0.6146 GB, free: 11.57 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002234/0.4594, allocations: 2.002 MB / 0.6165 GB, free: 9.547 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005123/0.4646, allocations: 5.475 MB / 0.6219 GB, free: 4.059 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4646, allocations: 0 / 0.6219 GB, free: 4.059 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4646, allocations: 0 / 0.6219 GB, free: 4.059 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001492/0.4648, allocations: 4 kB / 0.6219 GB, free: 4.055 MB / 442.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.01024/0.475, allocations: 4.626 MB / 0.6264 GB, free: 15.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.4751, allocations: 8.031 kB / 0.6264 GB, free: 15.35 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001194/0.4763, allocations: 0.5081 MB / 0.6269 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09562/0.5719, allocations: 8.399 MB / 0.6351 GB, free: 6.422 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/0.583, allocations: 6.406 MB / 0.6413 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.5832, allocations: 201.8 kB / 0.6415 GB, free: 15.74 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006588/0.5839, allocations: 295.7 kB / 0.6418 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.5947, allocations: 6.937 MB / 0.6486 GB, free: 7.965 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.5948, allocations: 63.39 kB / 0.6487 GB, free: 7.902 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002743/0.5951, allocations: 127.9 kB / 0.6488 GB, free: 7.777 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001357/0.5965, allocations: 0.9939 MB / 0.6498 GB, free: 6.785 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009264/0.6057, allocations: 4.947 MB / 0.6546 GB, free: 1.828 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2334/0.8392, allocations: 27.35 MB / 0.6813 GB, free: 123.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.8419, allocations: 0.7347 MB / 0.682 GB, free: 123.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.8423, allocations: 217.3 kB / 0.6822 GB, free: 123.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.8424, allocations: 12.36 kB / 0.6822 GB, free: 123.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.8424, allocations: 41.94 kB / 0.6823 GB, free: 123.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 4.499e-06/0.8424, allocations: 2.906 kB / 0.6823 GB, free: 123.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=37): time 0.007769/0.8502, allocations: 2.194 MB / 0.6844 GB, free: 123.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.8503, allocations: 243.7 kB / 0.6846 GB, free: 123.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009028/0.8594, allocations: 4.799 MB / 0.6893 GB, free: 122.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.401e-05/0.8595, allocations: 35.05 kB / 0.6894 GB, free: 122.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002599/0.8621, allocations: 2.776 MB / 0.6921 GB, free: 121.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.8624, allocations: 194 kB / 0.6923 GB, free: 121.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.8625, allocations: 70.09 kB / 0.6923 GB, free: 121.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.8627, allocations: 456.5 kB / 0.6928 GB, free: 121.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.8638, allocations: 0.7851 MB / 0.6935 GB, free: 120.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.8657, allocations: 3.401 MB / 0.6969 GB, free: 117 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/0.8691, allocations: 4.527 MB / 0.7013 GB, free: 112.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.214e-05/0.8691, allocations: 32.38 kB / 0.7013 GB, free: 112.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005795/0.8749, allocations: 4.025 MB / 0.7052 GB, free: 111.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.896e-05/0.875, allocations: 46.69 kB / 0.7053 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.716e-05/0.8751, allocations: 99.97 kB / 0.7054 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.068e-05/0.8752, allocations: 120.8 kB / 0.7055 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.8771, allocations: 0.8582 MB / 0.7063 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.935e-05/0.8772, allocations: 179.5 kB / 0.7065 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/0.8805, allocations: 0.5404 MB / 0.707 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/0.8807, allocations: 234.1 kB / 0.7073 GB, free: 110.7 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.002255/0.883, allocations: 1.633 MB / 0.7088 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006899/0.8837, allocations: 384.5 kB / 0.7092 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006019/0.8843, allocations: 401.5 kB / 0.7096 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.8843, allocations: 6.438 kB / 0.7096 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.8843, allocations: 4 kB / 0.7096 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.8844, allocations: 6.719 kB / 0.7096 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005879/0.8902, allocations: 4.771 MB / 0.7143 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.8903, allocations: 14.72 kB / 0.7143 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.8906, allocations: 122.5 kB / 0.7144 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.622e-05/0.8906, allocations: 15.56 kB / 0.7144 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.8906, allocations: 31.5 kB / 0.7144 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.58e-05/0.8907, allocations: 22.83 kB / 0.7145 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/0.8907, allocations: 25.94 kB / 0.7145 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.8919, allocations: 1.246 MB / 0.7157 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008701/0.8927, allocations: 0.4929 MB / 0.7162 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/0.8931, allocations: 27.86 kB / 0.7162 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009518/0.894, allocations: 37.86 kB / 0.7163 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.8941, allocations: 89.38 kB / 0.7163 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.8942, allocations: 32.75 kB / 0.7164 GB, free: 105.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004497/0.8987, allocations: 3.159 MB / 0.7195 GB, free: 104.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.8987, allocations: 0 / 0.7195 GB, free: 104.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004227/0.9029, allocations: 0.8312 MB / 0.7203 GB, free: 104.4 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.001597/0.9045, allocations: 1.829 MB / 0.7221 GB, free: 102.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003031/0.9076, allocations: 1.883 MB / 0.7239 GB, free: 102.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.9076, allocations: 2.031 kB / 0.7239 GB, free: 102.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.9079, allocations: 265 kB / 0.7241 GB, free: 102.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01124/0.9191, allocations: 0.6441 MB / 0.7248 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04678/0.9659, allocations: 30.97 MB / 0.755 GB, free: 78.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/0.9682, allocations: 2.865 MB / 0.7578 GB, free: 76.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/0.9696, allocations: 1.754 MB / 0.7595 GB, free: 74.88 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.9696, allocations: 0 / 0.7595 GB, free: 74.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.517/7.487, allocations: 63.68 MB / 0.8217 GB, free: 11.65 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Bodies/Bodies.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches