Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00168/0.00168, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002041/0.002041, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.92 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 71.89 kB / 0.4916 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1175, allocations: 66.05 MB / 0.5561 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01685/0.1343, allocations: 14.7 MB / 0.5705 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.1444, allocations: 4.68 MB / 0.5751 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/0.1467, allocations: 119.4 kB / 0.5752 GB, free: 1.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00648/0.1531, allocations: 3.142 MB / 0.5783 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005181/0.1583, allocations: 2.082 MB / 0.5803 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.1606, allocations: 1.018 MB / 0.5813 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01013/0.1707, allocations: 6.944 MB / 0.5881 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005164/0.1759, allocations: 3.044 MB / 0.591 GB, free: 1.633 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2425/0.4184, allocations: 1.847 MB / 0.5928 GB, free: 9.574 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004162/0.4225, allocations: 2.825 MB / 0.5956 GB, free: 9.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001288/0.4238, allocations: 356.7 kB / 0.5959 GB, free: 9.574 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.4264, allocations: 0.9109 MB / 0.5968 GB, free: 9.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004001/0.4304, allocations: 2.359 MB / 0.5991 GB, free: 9.391 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005877/0.4362, allocations: 2.379 MB / 0.6015 GB, free: 8.652 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.4481, allocations: 6.975 MB / 0.6083 GB, free: 7.648 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4481, allocations: 0 / 0.6083 GB, free: 7.648 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4481, allocations: 3.844 kB / 0.6083 GB, free: 7.648 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003434/0.4484, allocations: 1.094 kB / 0.6083 GB, free: 7.648 MB / 446.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.01925/0.4677, allocations: 5.558 MB / 0.6137 GB, free: 5.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4677, allocations: 11.17 kB / 0.6137 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000138/0.4678, allocations: 84.52 kB / 0.6138 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001917/0.4698, allocations: 0.5116 MB / 0.6143 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1064/0.5762, allocations: 8.228 MB / 0.6223 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.5869, allocations: 5.214 MB / 0.6274 GB, free: 220 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.5871, allocations: 210.1 kB / 0.6276 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00128/0.5884, allocations: 286.9 kB / 0.6279 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.6054, allocations: 6.918 MB / 0.6346 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003108/0.6057, allocations: 55.94 kB / 0.6347 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001094/0.6068, allocations: 127.9 kB / 0.6348 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001954/0.6087, allocations: 1.003 MB / 0.6358 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.6218, allocations: 4.928 MB / 0.6406 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04389/0.6657, allocations: 27.3 MB / 0.6673 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/0.6685, allocations: 0.7254 MB / 0.668 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003924/0.6689, allocations: 211 kB / 0.6682 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.6689, allocations: 13.7 kB / 0.6682 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.669, allocations: 41.28 kB / 0.6682 GB, free: 9.121 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.315e-06/0.669, allocations: 0 / 0.6682 GB, free: 9.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.00754/0.6765, allocations: 1.97 MB / 0.6702 GB, free: 7.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.6767, allocations: 247.3 kB / 0.6704 GB, free: 6.863 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009902/0.6866, allocations: 4.762 MB / 0.675 GB, free: 2.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.672e-05/0.6867, allocations: 33.7 kB / 0.6751 GB, free: 2.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003038/0.6897, allocations: 2.837 MB / 0.6778 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.69, allocations: 202.5 kB / 0.678 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/0.6913, allocations: 0.7263 MB / 0.6787 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6914, allocations: 303.8 kB / 0.679 GB, free: 14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.6929, allocations: 0.8003 MB / 0.6798 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0037/0.6966, allocations: 3.41 MB / 0.6831 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005329/0.702, allocations: 4.544 MB / 0.6876 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.43e-05/0.702, allocations: 31.75 kB / 0.6876 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.008069/0.7101, allocations: 4.069 MB / 0.6916 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-05/0.7102, allocations: 44 kB / 0.6916 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/0.7103, allocations: 96 kB / 0.6917 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.7105, allocations: 120 kB / 0.6918 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/0.713, allocations: 0.8579 MB / 0.6927 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001658/0.7132, allocations: 182.8 kB / 0.6928 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003857/0.7171, allocations: 0.5508 MB / 0.6934 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004546/0.7175, allocations: 242.1 kB / 0.6936 GB, free: 13.5 MB / 0.5137 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.003077/0.7206, allocations: 1.618 MB / 0.6952 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000989/0.7216, allocations: 405.4 kB / 0.6956 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.7227, allocations: 401.2 kB / 0.696 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.7227, allocations: 4 kB / 0.696 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.7227, allocations: 0 / 0.696 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.7227, allocations: 4 kB / 0.696 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009747/0.7324, allocations: 4.763 MB / 0.7006 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-05/0.7324, allocations: 12.69 kB / 0.7006 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.7328, allocations: 111.8 kB / 0.7007 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.149e-05/0.7328, allocations: 20 kB / 0.7008 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.7329, allocations: 24 kB / 0.7008 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.621e-05/0.7329, allocations: 27.94 kB / 0.7008 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.799e-05/0.7329, allocations: 23.88 kB / 0.7008 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.7347, allocations: 1.263 MB / 0.7021 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.736, allocations: 0.4943 MB / 0.7026 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/0.7371, allocations: 31.98 kB / 0.7026 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/0.7387, allocations: 31.98 kB / 0.7026 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.7388, allocations: 91.56 kB / 0.7027 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.7388, allocations: 35.94 kB / 0.7027 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006457/0.7453, allocations: 3.132 MB / 0.7058 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.7453, allocations: 0 / 0.7058 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004645/0.7499, allocations: 0.8267 MB / 0.7066 GB, free: 15.7 MB / 0.5294 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.002814/0.7527, allocations: 1.849 MB / 0.7084 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003887/0.7566, allocations: 1.871 MB / 0.7102 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/0.7567, allocations: 4 kB / 0.7102 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.7571, allocations: 263 kB / 0.7105 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005202/0.7623, allocations: 0.6635 MB / 0.7111 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06529/0.8276, allocations: 34.73 MB / 0.7451 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004811/0.8324, allocations: 2.851 MB / 0.7478 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003428/0.8359, allocations: 1.15 MB / 0.749 GB, free: 464 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003112/0.839, allocations: 1.712 MB / 0.7506 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of SimCode: time 1.603e-06/0.839, allocations: 0 / 0.7506 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/0.9663, allocations: 66.81 MB / 0.8159 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.69/17.66, allocations: 12.05 kB / 0.8159 GB, free: 12.37 MB / 0.6387 GB " [Timeout remaining time 642] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Bodies/Bodies.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.725270847964566]