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.001039/0.001043, allocations: 93.14 kB / 17.35 MB, free: 6.344 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.001083/0.001084, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.268/1.268, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1903/0.1903, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 12 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1084, allocations: 61.91 MB / 472.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2739/0.3824, allocations: 68.89 MB / 0.5286 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0261/0.4085, allocations: 13.89 MB / 0.5421 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01176/0.4203, allocations: 309.3 kB / 0.5424 GB, free: 4.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.4217, allocations: 358 kB / 0.5428 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004254/0.426, allocations: 1.957 MB / 0.5447 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.4275, allocations: 0.938 MB / 0.5456 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008269/0.4358, allocations: 9.124 MB / 0.5545 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006417/0.4422, allocations: 4.898 MB / 0.5593 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.4447, allocations: 1.401 MB / 0.5606 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003669/0.4484, allocations: 2.527 MB / 0.5631 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000407/0.4488, allocations: 136 kB / 0.5632 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.4503, allocations: 0.75 MB / 0.564 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.452, allocations: 2.033 MB / 0.566 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.4539, allocations: 2.092 MB / 0.568 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005133/0.459, allocations: 6.551 MB / 0.5744 GB, free: 11.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.459, allocations: 0 / 0.5744 GB, free: 11.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.459, allocations: 0 / 0.5744 GB, free: 11.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.927e-05/0.4591, allocations: 0 / 0.5744 GB, free: 11.45 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.009543/0.4687, allocations: 4.587 MB / 0.5789 GB, free: 6.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4687, allocations: 8.031 kB / 0.5789 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007625/0.4695, allocations: 0.5086 MB / 0.5794 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.101/0.5705, allocations: 8.395 MB / 0.5876 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/0.5819, allocations: 5.617 MB / 0.5931 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.5822, allocations: 213.8 kB / 0.5933 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/0.5833, allocations: 287.8 kB / 0.5935 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01582/0.5991, allocations: 6.967 MB / 0.6003 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002662/0.5995, allocations: 55.47 kB / 0.6004 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000708/0.6002, allocations: 131.9 kB / 0.6005 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001921/0.6021, allocations: 0.9978 MB / 0.6015 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.6134, allocations: 4.971 MB / 0.6064 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/0.646, allocations: 27.28 MB / 0.633 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.6485, allocations: 0.7465 MB / 0.6337 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003144/0.6488, allocations: 216.2 kB / 0.6339 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.6489, allocations: 12.3 kB / 0.6339 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.6489, allocations: 50.48 kB / 0.634 GB, free: 13.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 2.465e-06/0.6489, allocations: 0 / 0.634 GB, free: 13.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.00662/0.6555, allocations: 1.945 MB / 0.6359 GB, free: 11.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.6557, allocations: 243.3 kB / 0.6361 GB, free: 10.87 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007276/0.663, allocations: 4.758 MB / 0.6408 GB, free: 6.109 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.663, allocations: 33.7 kB / 0.6408 GB, free: 6.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002262/0.6653, allocations: 2.758 MB / 0.6435 GB, free: 3.281 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.6656, allocations: 198 kB / 0.6437 GB, free: 3.086 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/0.6659, allocations: 321.1 kB / 0.644 GB, free: 2.766 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.6661, allocations: 301.1 kB / 0.6443 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.6674, allocations: 0.7876 MB / 0.645 GB, free: 1.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003004/0.6704, allocations: 3.425 MB / 0.6484 GB, free: 12.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004631/0.6751, allocations: 4.535 MB / 0.6528 GB, free: 7.066 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.406e-05/0.6751, allocations: 35.94 kB / 0.6529 GB, free: 7.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007068/0.6822, allocations: 4.046 MB / 0.6568 GB, free: 2.977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.108e-05/0.6823, allocations: 50.5 kB / 0.6569 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/0.6824, allocations: 92 kB / 0.6569 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000117/0.6826, allocations: 124 kB / 0.6571 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.6848, allocations: 0.8579 MB / 0.6579 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001415/0.685, allocations: 183.3 kB / 0.6581 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/0.6883, allocations: 0.5413 MB / 0.6586 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/0.6886, allocations: 232 kB / 0.6588 GB, free: 0.9062 MB / 494.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.002506/0.6912, allocations: 1.629 MB / 0.6604 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008591/0.692, allocations: 379.1 kB / 0.6608 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008014/0.6928, allocations: 397.2 kB / 0.6612 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.6928, allocations: 4.375 kB / 0.6612 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.6929, allocations: 4 kB / 0.6612 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.6929, allocations: 7.984 kB / 0.6612 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007162/0.7, allocations: 4.752 MB / 0.6658 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/0.7001, allocations: 16.91 kB / 0.6658 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.7004, allocations: 115.8 kB / 0.6659 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/0.7004, allocations: 20 kB / 0.666 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.7005, allocations: 28 kB / 0.666 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.848e-05/0.7005, allocations: 23.92 kB / 0.666 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.272e-05/0.7005, allocations: 23.88 kB / 0.666 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.7019, allocations: 1.243 MB / 0.6672 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008976/0.7028, allocations: 491.9 kB / 0.6677 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004724/0.7033, allocations: 31.98 kB / 0.6677 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.7043, allocations: 36.17 kB / 0.6678 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/0.7044, allocations: 87.56 kB / 0.6679 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.7045, allocations: 40 kB / 0.6679 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004336/0.7088, allocations: 3.137 MB / 0.671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7088, allocations: 0 / 0.671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002958/0.7118, allocations: 0.8338 MB / 0.6718 GB, free: 3.121 MB / 0.4981 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.001544/0.7133, allocations: 1.829 MB / 0.6736 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002876/0.7162, allocations: 1.9 MB / 0.6754 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.7162, allocations: 4 kB / 0.6754 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.7165, allocations: 262.3 kB / 0.6757 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01147/0.728, allocations: 0.6335 MB / 0.6763 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2506/0.9786, allocations: 44.17 MB / 0.7194 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002938/0.9816, allocations: 2.85 MB / 0.7222 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002771/0.9844, allocations: 1.156 MB / 0.7233 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/0.9858, allocations: 1.702 MB / 0.725 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.9858, allocations: 0 / 0.725 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08066/1.066, allocations: 65.85 MB / 0.7893 GB, free: 122 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/1.067, allocations: 197.5 kB / 0.7895 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.296/4.363, allocations: 0 / 0.7895 GB, free: 121.7 MB / 0.5294 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