Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 104.8 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009699/0.00097, allocations: 192.1 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1982/0.1982, allocations: 43.53 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001659/0.00166, allocations: 72.23 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1103, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01494/0.1252, allocations: 14.74 MB / 0.5018 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00967/0.135, allocations: 4.665 MB / 0.5063 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.1374, allocations: 99.69 kB / 0.5064 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005778/0.1432, allocations: 3.119 MB / 0.5095 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.1482, allocations: 2.058 MB / 0.5115 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.1502, allocations: 1.03 MB / 0.5125 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007695/0.1579, allocations: 6.348 MB / 0.5187 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004681/0.1626, allocations: 3.649 MB / 0.5223 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003345/0.166, allocations: 1.834 MB / 0.524 GB, free: 6.594 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004019/0.1701, allocations: 2.653 MB / 0.5266 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.1713, allocations: 356 kB / 0.527 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00273/0.1741, allocations: 0.9209 MB / 0.5279 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003242/0.1774, allocations: 2.326 MB / 0.5301 GB, free: 340 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2399/0.4173, allocations: 2.413 MB / 0.5325 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.4288, allocations: 7.035 MB / 0.5394 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4289, allocations: 1.531 kB / 0.5394 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4289, allocations: 0.75 kB / 0.5394 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000303/0.4292, allocations: 0 / 0.5394 GB, free: 10.75 MB / 414.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.02555/0.4548, allocations: 5.515 MB / 0.5448 GB, free: 8.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.4548, allocations: 16.3 kB / 0.5448 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002334/0.4572, allocations: 0.5102 MB / 0.5453 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0918/0.549, allocations: 8.199 MB / 0.5533 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0162/0.5652, allocations: 6.496 MB / 0.5596 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/0.5656, allocations: 203.4 kB / 0.5598 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001881/0.5675, allocations: 291.3 kB / 0.5601 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/0.5833, allocations: 6.916 MB / 0.5669 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000361/0.5837, allocations: 57.58 kB / 0.5669 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/0.5849, allocations: 124.6 kB / 0.567 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001617/0.5865, allocations: 1.004 MB / 0.568 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.5977, allocations: 4.929 MB / 0.5728 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03952/0.6373, allocations: 27.33 MB / 0.5995 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/0.6401, allocations: 0.7284 MB / 0.6002 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.6405, allocations: 224.3 kB / 0.6004 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.6405, allocations: 9.422 kB / 0.6004 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.6406, allocations: 44.95 kB / 0.6005 GB, free: 3.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.815e-06/0.6406, allocations: 0 / 0.6005 GB, free: 3.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.008496/0.6491, allocations: 2.195 MB / 0.6026 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.6493, allocations: 238.8 kB / 0.6029 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/0.6613, allocations: 4.841 MB / 0.6076 GB, free: 11.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.6615, allocations: 29.7 kB / 0.6076 GB, free: 11.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002962/0.6644, allocations: 2.771 MB / 0.6103 GB, free: 8.879 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.6648, allocations: 194 kB / 0.6105 GB, free: 8.691 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/0.6661, allocations: 0.7256 MB / 0.6112 GB, free: 7.957 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6663, allocations: 303.2 kB / 0.6115 GB, free: 7.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.6676, allocations: 0.7954 MB / 0.6123 GB, free: 6.863 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/0.6706, allocations: 3.417 MB / 0.6156 GB, free: 2.164 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004979/0.6756, allocations: 4.546 MB / 0.6201 GB, free: 12.69 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.219e-05/0.6757, allocations: 24 kB / 0.6201 GB, free: 12.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007471/0.6831, allocations: 4.052 MB / 0.624 GB, free: 9.168 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/0.6832, allocations: 48.22 kB / 0.6241 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/0.6834, allocations: 96 kB / 0.6242 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.6835, allocations: 124 kB / 0.6243 GB, free: 8.906 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/0.6858, allocations: 0.8551 MB / 0.6251 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000136/0.686, allocations: 181.8 kB / 0.6253 GB, free: 7.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004363/0.6904, allocations: 0.5375 MB / 0.6258 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003884/0.6908, allocations: 232 kB / 0.6261 GB, free: 7.227 MB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003102/0.6939, allocations: 1.648 MB / 0.6277 GB, free: 5.648 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009772/0.6949, allocations: 379.1 kB / 0.628 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.6959, allocations: 405.8 kB / 0.6284 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.6959, allocations: 4 kB / 0.6284 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.696, allocations: 0 / 0.6284 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.696, allocations: 7.984 kB / 0.6284 GB, free: 4.859 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009403/0.7054, allocations: 4.781 MB / 0.6331 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.423e-05/0.7054, allocations: 16 kB / 0.6331 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.7058, allocations: 115.1 kB / 0.6332 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-05/0.7058, allocations: 16 kB / 0.6332 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.7058, allocations: 28 kB / 0.6333 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.955e-05/0.7059, allocations: 28.08 kB / 0.6333 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/0.7059, allocations: 23.94 kB / 0.6333 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.7075, allocations: 1.239 MB / 0.6345 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.7088, allocations: 491.9 kB / 0.635 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008967/0.7097, allocations: 35.92 kB / 0.635 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.7113, allocations: 35.97 kB / 0.6351 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.056e-05/0.7114, allocations: 83.52 kB / 0.6351 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.7114, allocations: 32.69 kB / 0.6352 GB, free: 13.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00624/0.7177, allocations: 3.196 MB / 0.6383 GB, free: 10.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7177, allocations: 0 / 0.6383 GB, free: 10.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0047/0.7224, allocations: 0.8299 MB / 0.6391 GB, free: 9.551 MB / 494.1 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 (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.002342/0.7248, allocations: 1.826 MB / 0.6409 GB, free: 7.508 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003694/0.7285, allocations: 1.935 MB / 0.6428 GB, free: 5.594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/0.7285, allocations: 4 kB / 0.6428 GB, free: 5.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004189/0.7289, allocations: 262.4 kB / 0.643 GB, free: 5.336 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005101/0.734, allocations: 0.6816 MB / 0.6437 GB, free: 4.672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06346/0.7975, allocations: 35.03 MB / 0.6779 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004555/0.8021, allocations: 2.868 MB / 0.6807 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003357/0.8056, allocations: 1.158 MB / 0.6818 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00309/0.8087, allocations: 1.722 MB / 0.6835 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of SimCode: time 1.613e-06/0.8087, allocations: 4 kB / 0.6835 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/0.9263, allocations: 67.8 MB / 0.7497 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.62, allocations: 7.984 kB / 0.7497 GB, free: 4.32 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches