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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 119 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2177/0.2177, allocations: 44.92 MB / 349.6 MB, free: 1.727 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 68.33 kB / 491.8 MB, free: 30.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.118, allocations: 64.27 MB / 0.543 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01694/0.1349, allocations: 14.74 MB / 0.5574 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.1454, allocations: 4.676 MB / 0.562 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/0.148, allocations: 103.7 kB / 0.5621 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006609/0.1546, allocations: 3.15 MB / 0.5651 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005738/0.1604, allocations: 2.105 MB / 0.5672 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.1627, allocations: 1.014 MB / 0.5682 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.173, allocations: 6.664 MB / 0.5747 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00468/0.1777, allocations: 3.052 MB / 0.5777 GB, free: 440 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003769/0.1815, allocations: 1.834 MB / 0.5795 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004698/0.1862, allocations: 2.832 MB / 0.5822 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.1875, allocations: 356 kB / 0.5826 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.1903, allocations: 0.9365 MB / 0.5835 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003616/0.1939, allocations: 2.365 MB / 0.5858 GB, free: 8.094 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005113/0.199, allocations: 2.382 MB / 0.5881 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.2108, allocations: 7.013 MB / 0.595 GB, free: 14.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.2108, allocations: 4 kB / 0.595 GB, free: 14.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.2108, allocations: 3.938 kB / 0.595 GB, free: 14.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000323/0.2112, allocations: 0 / 0.595 GB, free: 14.65 MB / 462.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.01677/0.2279, allocations: 5.586 MB / 0.6004 GB, free: 8.988 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.228, allocations: 8.031 kB / 0.6004 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001482/0.2295, allocations: 0.512 MB / 0.6009 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08766/0.3171, allocations: 8.226 MB / 0.609 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2914/0.6085, allocations: 5.752 MB / 0.6146 GB, free: 56.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/0.6089, allocations: 211.2 kB / 0.6148 GB, free: 56.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/0.6102, allocations: 289.1 kB / 0.6151 GB, free: 56.15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/0.625, allocations: 6.906 MB / 0.6218 GB, free: 52.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002831/0.6253, allocations: 63.95 kB / 0.6219 GB, free: 52.81 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005638/0.6258, allocations: 128.1 kB / 0.622 GB, free: 52.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001767/0.6276, allocations: 0.9945 MB / 0.623 GB, free: 52.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.6389, allocations: 4.932 MB / 0.6278 GB, free: 51.01 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03189/0.6708, allocations: 27.31 MB / 0.6544 GB, free: 28.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.6731, allocations: 0.7075 MB / 0.6551 GB, free: 27.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.6734, allocations: 216.2 kB / 0.6553 GB, free: 27.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.6735, allocations: 12.3 kB / 0.6554 GB, free: 27.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.6735, allocations: 42.55 kB / 0.6554 GB, free: 26.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 4.289e-06/0.6735, allocations: 2.625 kB / 0.6554 GB, free: 26.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.00656/0.68, allocations: 1.972 MB / 0.6573 GB, free: 25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.6801, allocations: 247.2 kB / 0.6576 GB, free: 24.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007338/0.6875, allocations: 4.767 MB / 0.6622 GB, free: 19.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/0.6875, allocations: 33.7 kB / 0.6622 GB, free: 19.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001909/0.6894, allocations: 2.847 MB / 0.665 GB, free: 17.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.6897, allocations: 198.8 kB / 0.6652 GB, free: 17.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007406/0.6904, allocations: 0.7263 MB / 0.6659 GB, free: 16.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.6905, allocations: 305.1 kB / 0.6662 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.6915, allocations: 0.7965 MB / 0.667 GB, free: 15.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.6934, allocations: 3.414 MB / 0.6703 GB, free: 10.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/0.6969, allocations: 4.548 MB / 0.6748 GB, free: 4.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.287e-05/0.697, allocations: 24 kB / 0.6748 GB, free: 4.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006796/0.7038, allocations: 4.068 MB / 0.6788 GB, free: 484 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.043e-05/0.7039, allocations: 45 kB / 0.6788 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.764e-05/0.704, allocations: 96 kB / 0.6789 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.714e-05/0.7041, allocations: 129.6 kB / 0.679 GB, free: 216 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/0.7066, allocations: 0.8538 MB / 0.6799 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001597/0.7067, allocations: 179.3 kB / 0.68 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003583/0.7103, allocations: 0.5625 MB / 0.6806 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003955/0.7107, allocations: 232 kB / 0.6808 GB, free: 14.39 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.002551/0.7132, allocations: 1.62 MB / 0.6824 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008757/0.7141, allocations: 397.4 kB / 0.6828 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008149/0.7149, allocations: 397.2 kB / 0.6831 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.7149, allocations: 7.938 kB / 0.6831 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.715, allocations: 4 kB / 0.6832 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.715, allocations: 3.984 kB / 0.6832 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008494/0.7235, allocations: 4.757 MB / 0.6878 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/0.7235, allocations: 18.3 kB / 0.6878 GB, free: 6.922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.7238, allocations: 111.8 kB / 0.6879 GB, free: 6.812 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.967e-05/0.7238, allocations: 16 kB / 0.6879 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.7239, allocations: 31.98 kB / 0.688 GB, free: 6.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.129e-05/0.7239, allocations: 23.88 kB / 0.688 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.19e-05/0.7239, allocations: 23.88 kB / 0.688 GB, free: 6.719 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.7257, allocations: 1.256 MB / 0.6892 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.727, allocations: 0.4943 MB / 0.6897 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006683/0.7277, allocations: 33.34 kB / 0.6898 GB, free: 4.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.7289, allocations: 39.97 kB / 0.6898 GB, free: 4.656 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.729, allocations: 83.56 kB / 0.6899 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.729, allocations: 32 kB / 0.6899 GB, free: 4.543 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005808/0.7348, allocations: 3.14 MB / 0.693 GB, free: 1.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7348, allocations: 0 / 0.693 GB, free: 1.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003919/0.7388, allocations: 0.8383 MB / 0.6938 GB, free: 0.5703 MB / 478.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.002104/0.7409, allocations: 1.84 MB / 0.6956 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003322/0.7442, allocations: 1.881 MB / 0.6974 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.7442, allocations: 0 / 0.6974 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.7446, allocations: 262.4 kB / 0.6977 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/0.7483, allocations: 0.6674 MB / 0.6983 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06347/0.8117, allocations: 34.76 MB / 0.7323 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004888/0.8166, allocations: 2.85 MB / 0.7351 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003529/0.8202, allocations: 1.154 MB / 0.7362 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003016/0.8232, allocations: 1.702 MB / 0.7378 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of SimCode: time 1.283e-06/0.8232, allocations: 0 / 0.7378 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/0.9579, allocations: 66.86 MB / 0.8031 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.54/18.49, allocations: 26.52 kB / 0.8032 GB, free: 13.06 MB / 0.5919 GB " [Timeout remaining time 641] (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 --stepSize=0.000219912 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Bodies/Bodies.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 22.68886236893013]