Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_0_0_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.001308/0.001308, allocations: 105.1 kB / 17.33 MB, free: 5.996 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.00163/0.00163, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 241.9 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2039/0.2039, allocations: 44.17 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 60.56 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1083, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2631/0.3714, allocations: 70.61 MB / 0.5268 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03162/0.4031, allocations: 13.85 MB / 0.5403 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01693/0.4201, allocations: 312.5 kB / 0.5406 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005249/0.4254, allocations: 2.997 MB / 0.5435 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004898/0.4303, allocations: 1.928 MB / 0.5454 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.4321, allocations: 0.9702 MB / 0.5464 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008179/0.4403, allocations: 7.006 MB / 0.5532 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004464/0.4448, allocations: 3.81 MB / 0.5569 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003043/0.4478, allocations: 1.873 MB / 0.5588 GB, free: 8.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003564/0.4514, allocations: 2.926 MB / 0.5616 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006709/0.4521, allocations: 356 kB / 0.562 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.454, allocations: 0.9286 MB / 0.5629 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00228/0.4563, allocations: 2.295 MB / 0.5651 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002702/0.459, allocations: 2.405 MB / 0.5675 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006405/0.4654, allocations: 6.885 MB / 0.5742 GB, free: 8.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4654, allocations: 0 / 0.5742 GB, free: 8.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4654, allocations: 0 / 0.5742 GB, free: 8.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001571/0.4656, allocations: 3.938 kB / 0.5742 GB, free: 8.625 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.01387/0.4795, allocations: 5.447 MB / 0.5795 GB, free: 3.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.4795, allocations: 8.031 kB / 0.5795 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008287/0.4804, allocations: 0.5158 MB / 0.58 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09462/0.575, allocations: 8.2 MB / 0.588 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01284/0.5879, allocations: 5.628 MB / 0.5935 GB, free: 4.656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.5881, allocations: 205.8 kB / 0.5937 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007141/0.5888, allocations: 291.7 kB / 0.594 GB, free: 4.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.6011, allocations: 6.914 MB / 0.6007 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/0.6013, allocations: 59.45 kB / 0.6008 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000294/0.6016, allocations: 123.9 kB / 0.6009 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001404/0.603, allocations: 1.002 MB / 0.6019 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00963/0.6126, allocations: 4.924 MB / 0.6067 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03522/0.6479, allocations: 27.29 MB / 0.6333 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.6505, allocations: 0.7386 MB / 0.6341 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.6509, allocations: 220.3 kB / 0.6343 GB, free: 9.535 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.6509, allocations: 8.297 kB / 0.6343 GB, free: 9.527 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.651, allocations: 46.5 kB / 0.6343 GB, free: 9.473 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 2.244e-06/0.651, allocations: 0 / 0.6343 GB, free: 9.473 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.007458/0.6584, allocations: 1.96 MB / 0.6362 GB, free: 7.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001842/0.6587, allocations: 243.3 kB / 0.6365 GB, free: 7.207 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009376/0.6681, allocations: 4.758 MB / 0.6411 GB, free: 2.449 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.6682, allocations: 33.7 kB / 0.6412 GB, free: 2.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002629/0.6708, allocations: 2.758 MB / 0.6438 GB, free: 15.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.6711, allocations: 190.1 kB / 0.644 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/0.6721, allocations: 0.7217 MB / 0.6447 GB, free: 14.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.6723, allocations: 301.1 kB / 0.645 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.6736, allocations: 0.7993 MB / 0.6458 GB, free: 13.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003519/0.6771, allocations: 3.414 MB / 0.6491 GB, free: 8.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004873/0.682, allocations: 4.55 MB / 0.6536 GB, free: 2.988 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.389e-05/0.682, allocations: 31.88 kB / 0.6536 GB, free: 2.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007368/0.6894, allocations: 4.046 MB / 0.6576 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.481e-05/0.6895, allocations: 44 kB / 0.6576 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001347/0.6897, allocations: 96 kB / 0.6577 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.6898, allocations: 120 kB / 0.6578 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/0.6921, allocations: 0.8581 MB / 0.6586 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001595/0.6923, allocations: 179.3 kB / 0.6588 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003574/0.6959, allocations: 0.5413 MB / 0.6593 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/0.6962, allocations: 232 kB / 0.6596 GB, free: 12.84 MB / 0.4981 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.002477/0.6987, allocations: 1.625 MB / 0.6612 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009241/0.6996, allocations: 379.1 kB / 0.6615 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009727/0.7006, allocations: 397.2 kB / 0.6619 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.7006, allocations: 7.938 kB / 0.6619 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.7006, allocations: 8 kB / 0.6619 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.7007, allocations: 3.984 kB / 0.6619 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008297/0.709, allocations: 4.749 MB / 0.6666 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/0.709, allocations: 16 kB / 0.6666 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.7093, allocations: 119.9 kB / 0.6667 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.727e-05/0.7093, allocations: 16 kB / 0.6667 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.7094, allocations: 28 kB / 0.6667 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.661e-05/0.7094, allocations: 28.05 kB / 0.6668 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.461e-05/0.7094, allocations: 19.94 kB / 0.6668 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.7111, allocations: 1.247 MB / 0.668 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.7122, allocations: 484 kB / 0.6685 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008288/0.713, allocations: 28 kB / 0.6685 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.7146, allocations: 35.97 kB / 0.6685 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.7147, allocations: 87.95 kB / 0.6686 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.7147, allocations: 32 kB / 0.6686 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005575/0.7203, allocations: 3.137 MB / 0.6717 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7203, allocations: 0 / 0.6717 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003981/0.7243, allocations: 0.8415 MB / 0.6725 GB, free: 15.07 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.0023/0.7266, allocations: 1.83 MB / 0.6743 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003805/0.7304, allocations: 1.927 MB / 0.6762 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.7305, allocations: 0 / 0.6762 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.7309, allocations: 270.4 kB / 0.6764 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/0.7358, allocations: 0.6701 MB / 0.6771 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2877/1.024, allocations: 44.14 MB / 0.7202 GB, free: 204.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003682/1.027, allocations: 2.847 MB / 0.723 GB, free: 203.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003575/1.031, allocations: 1.161 MB / 0.7241 GB, free: 203.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00186/1.033, allocations: 1.701 MB / 0.7258 GB, free: 202.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.343e-06/1.033, allocations: 0 / 0.7258 GB, free: 202.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08964/1.122, allocations: 67.58 MB / 0.7918 GB, free: 145.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/1.123, allocations: 194.2 kB / 0.792 GB, free: 145.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.045/5.168, allocations: 4 kB / 0.792 GB, free: 145.5 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches