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.001339/0.001339, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001444/0.001444, allocations: 205.6 kB / 23.72 MB, free: 4.391 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.415/1.415, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2283/0.2283, allocations: 46.95 MB / 360.8 MB, free: 3.941 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 84.19 kB / 0.4962 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2848, allocations: 66.08 MB / 0.5607 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01888/0.3037, allocations: 12.7 MB / 0.5731 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009765/0.3134, allocations: 4.486 MB / 0.5775 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.3156, allocations: 123.3 kB / 0.5776 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006165/0.3217, allocations: 3.014 MB / 0.5805 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005128/0.3268, allocations: 2.101 MB / 0.5826 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.3289, allocations: 1.014 MB / 0.5836 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01122/0.3402, allocations: 6.956 MB / 0.5904 GB, free: 5.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004294/0.3445, allocations: 2.844 MB / 0.5931 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003757/0.3482, allocations: 1.858 MB / 0.595 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005001/0.3532, allocations: 2.691 MB / 0.5976 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009434/0.3542, allocations: 356 kB / 0.5979 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.3561, allocations: 0.8778 MB / 0.5988 GB, free: 13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002577/0.3587, allocations: 2.357 MB / 0.6011 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002667/0.3614, allocations: 1.881 MB / 0.6029 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0079/0.3693, allocations: 7.025 MB / 0.6098 GB, free: 1.699 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3693, allocations: 4 kB / 0.6098 GB, free: 1.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3693, allocations: 0 / 0.6098 GB, free: 1.695 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001604/0.3694, allocations: 0 / 0.6098 GB, free: 1.695 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.01336/0.3828, allocations: 5.492 MB / 0.6151 GB, free: 12.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.3829, allocations: 8.031 kB / 0.6152 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009563/0.3838, allocations: 0.5081 MB / 0.6156 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1009/0.4848, allocations: 8.226 MB / 0.6237 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.4965, allocations: 5.133 MB / 0.6287 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.4967, allocations: 201.6 kB / 0.6289 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007277/0.4974, allocations: 295.8 kB / 0.6292 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.51, allocations: 6.985 MB / 0.636 GB, free: 6.109 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.5101, allocations: 59.59 kB / 0.636 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002888/0.5104, allocations: 127.9 kB / 0.6362 GB, free: 5.926 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00156/0.512, allocations: 1.002 MB / 0.6371 GB, free: 4.918 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.5223, allocations: 4.92 MB / 0.642 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03459/0.5569, allocations: 26.17 MB / 0.6675 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.5594, allocations: 0.7269 MB / 0.6682 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.5597, allocations: 204.3 kB / 0.6684 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.5597, allocations: 4 kB / 0.6684 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.5598, allocations: 50.48 kB / 0.6685 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.315e-06/0.5598, allocations: 0 / 0.6685 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.006862/0.5667, allocations: 1.962 MB / 0.6704 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.5668, allocations: 247.3 kB / 0.6706 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007585/0.5744, allocations: 4.905 MB / 0.6754 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.5745, allocations: 37.7 kB / 0.6754 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002574/0.577, allocations: 2.837 MB / 0.6782 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.5773, allocations: 202.8 kB / 0.6784 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009186/0.5782, allocations: 0.7263 MB / 0.6791 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5784, allocations: 301.1 kB / 0.6794 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.5796, allocations: 0.7915 MB / 0.6802 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003336/0.583, allocations: 3.497 MB / 0.6836 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005246/0.5882, allocations: 4.546 MB / 0.688 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.172e-05/0.5883, allocations: 28 kB / 0.6881 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007837/0.5961, allocations: 4.067 MB / 0.692 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/0.5962, allocations: 44 kB / 0.6921 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.5963, allocations: 92 kB / 0.6922 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000141/0.5965, allocations: 124.8 kB / 0.6923 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/0.599, allocations: 0.8577 MB / 0.6931 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001566/0.5991, allocations: 179.3 kB / 0.6933 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/0.6025, allocations: 0.5546 MB / 0.6938 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000387/0.6029, allocations: 236 kB / 0.6941 GB, free: 7.043 MB / 0.5294 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.004007/0.6069, allocations: 1.625 MB / 0.6956 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/0.6082, allocations: 397.4 kB / 0.696 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.6092, allocations: 405.2 kB / 0.6964 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.6092, allocations: 12.31 kB / 0.6964 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.6093, allocations: 0 / 0.6964 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.6093, allocations: 7.984 kB / 0.6964 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.621, allocations: 4.561 MB / 0.7009 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.097e-05/0.621, allocations: 19.97 kB / 0.7009 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.6215, allocations: 115.8 kB / 0.701 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.749e-05/0.6215, allocations: 16 kB / 0.701 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.6216, allocations: 28 kB / 0.701 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.084e-05/0.6216, allocations: 27.86 kB / 0.7011 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.463e-05/0.6216, allocations: 19.94 kB / 0.7011 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.6239, allocations: 1.259 MB / 0.7023 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/0.6255, allocations: 425.1 kB / 0.7027 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008921/0.6264, allocations: 28 kB / 0.7028 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/0.6284, allocations: 39.91 kB / 0.7028 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.6285, allocations: 91.55 kB / 0.7029 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.6285, allocations: 32 kB / 0.7029 GB, free: 13.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007776/0.6363, allocations: 3.132 MB / 0.706 GB, free: 10.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6363, allocations: 0 / 0.706 GB, free: 10.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004468/0.6408, allocations: 0.8305 MB / 0.7068 GB, free: 9.516 MB / 0.545 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.002262/0.643, allocations: 1.848 MB / 0.7086 GB, free: 7.449 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004492/0.6475, allocations: 1.871 MB / 0.7104 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.772e-05/0.6475, allocations: 4 kB / 0.7104 GB, free: 5.598 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.648, allocations: 258.4 kB / 0.7107 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005163/0.6532, allocations: 0.6727 MB / 0.7113 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3197/0.9729, allocations: 34.7 MB / 0.7452 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/0.975, allocations: 2.302 MB / 0.7475 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002181/0.9772, allocations: 1.152 MB / 0.7486 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.9785, allocations: 1.698 MB / 0.7502 GB, free: 143 MB / 0.5606 GB Notification: Performance of SimCode: time 1.323e-06/0.9785, allocations: 3.938 kB / 0.7502 GB, free: 143 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/1.08, allocations: 68.46 MB / 0.8171 GB, free: 75.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/16.7, allocations: 4.047 kB / 0.8171 GB, free: 75.36 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.66191854234785]