Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.91 kB / 0.4909 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1168, allocations: 65.99 MB / 0.5554 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.017/0.1338, allocations: 14.7 MB / 0.5697 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009847/0.1437, allocations: 4.68 MB / 0.5743 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.1456, allocations: 123.3 kB / 0.5744 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006079/0.1517, allocations: 3.146 MB / 0.5775 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005038/0.1567, allocations: 2.086 MB / 0.5795 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.1589, allocations: 1.014 MB / 0.5805 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009514/0.1684, allocations: 6.949 MB / 0.5873 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003794/0.1722, allocations: 3.036 MB / 0.5903 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.1751, allocations: 1.854 MB / 0.5921 GB, free: 92 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2314/0.4065, allocations: 2.822 MB / 0.5948 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001246/0.4077, allocations: 357.3 kB / 0.5952 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.4101, allocations: 0.9086 MB / 0.596 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003257/0.4133, allocations: 2.361 MB / 0.5984 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003939/0.4173, allocations: 2.384 MB / 0.6007 GB, free: 9.852 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009477/0.4268, allocations: 6.97 MB / 0.6075 GB, free: 8.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4268, allocations: 0 / 0.6075 GB, free: 8.852 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4268, allocations: 0 / 0.6075 GB, free: 8.852 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000243/0.427, allocations: 0 / 0.6075 GB, free: 8.852 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.01796/0.445, allocations: 5.565 MB / 0.6129 GB, free: 6.633 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.445, allocations: 13.31 kB / 0.6129 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001391/0.4464, allocations: 0.5086 MB / 0.6134 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1041/0.5505, allocations: 8.228 MB / 0.6215 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.5612, allocations: 5.216 MB / 0.6266 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.5614, allocations: 202 kB / 0.6268 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007474/0.5621, allocations: 290.5 kB / 0.627 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.5745, allocations: 6.913 MB / 0.6338 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001487/0.5747, allocations: 61.94 kB / 0.6338 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003515/0.575, allocations: 124.7 kB / 0.634 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001739/0.5768, allocations: 1.004 MB / 0.6349 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.5886, allocations: 4.923 MB / 0.6397 GB, free: 7.316 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04267/0.6313, allocations: 27.3 MB / 0.6664 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.634, allocations: 0.7327 MB / 0.6671 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/0.6344, allocations: 204.6 kB / 0.6673 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.6344, allocations: 8.453 kB / 0.6673 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.6345, allocations: 55.23 kB / 0.6674 GB, free: 10.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/0.6345, allocations: 3.938 kB / 0.6674 GB, free: 10.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.00743/0.6419, allocations: 1.968 MB / 0.6693 GB, free: 8.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.6421, allocations: 238.1 kB / 0.6695 GB, free: 8.336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009409/0.6515, allocations: 4.765 MB / 0.6742 GB, free: 3.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/0.6515, allocations: 33.7 kB / 0.6742 GB, free: 3.531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003143/0.6547, allocations: 2.833 MB / 0.677 GB, free: 0.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.655, allocations: 203.5 kB / 0.6772 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/0.6563, allocations: 0.7295 MB / 0.6779 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6564, allocations: 302.4 kB / 0.6782 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.658, allocations: 0.7954 MB / 0.679 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003883/0.6619, allocations: 3.418 MB / 0.6823 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005909/0.6678, allocations: 4.542 MB / 0.6867 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.751e-05/0.6679, allocations: 28 kB / 0.6868 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.008529/0.6764, allocations: 4.066 MB / 0.6907 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.6765, allocations: 44 kB / 0.6908 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/0.6767, allocations: 96 kB / 0.6909 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/0.6769, allocations: 120 kB / 0.691 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/0.6795, allocations: 0.858 MB / 0.6918 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001888/0.6797, allocations: 185 kB / 0.692 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00416/0.6839, allocations: 0.5585 MB / 0.6925 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005713/0.6845, allocations: 232 kB / 0.6928 GB, free: 15 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.00378/0.6882, allocations: 1.622 MB / 0.6943 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/0.6895, allocations: 401 kB / 0.6947 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.6907, allocations: 401.2 kB / 0.6951 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.6907, allocations: 4 kB / 0.6951 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.6908, allocations: 4 kB / 0.6951 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.6908, allocations: 3.984 kB / 0.6951 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/0.7018, allocations: 4.757 MB / 0.6998 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.658e-05/0.7018, allocations: 16.88 kB / 0.6998 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.7022, allocations: 115.8 kB / 0.6999 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.26e-05/0.7022, allocations: 19.94 kB / 0.6999 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.7023, allocations: 28 kB / 0.6999 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.408e-05/0.7023, allocations: 23.92 kB / 0.7 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.589e-05/0.7023, allocations: 23.88 kB / 0.7 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.7044, allocations: 1.258 MB / 0.7012 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/0.7059, allocations: 0.4904 MB / 0.7017 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001213/0.7071, allocations: 31.98 kB / 0.7017 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/0.7088, allocations: 35.98 kB / 0.7018 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.7089, allocations: 87.56 kB / 0.7018 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/0.709, allocations: 40 kB / 0.7019 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006993/0.716, allocations: 3.128 MB / 0.7049 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.716, allocations: 0 / 0.7049 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004666/0.7206, allocations: 0.8383 MB / 0.7058 GB, free: 1.191 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.002811/0.7234, allocations: 1.849 MB / 0.7076 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003732/0.7272, allocations: 1.873 MB / 0.7094 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.7272, allocations: 0 / 0.7094 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004414/0.7276, allocations: 259 kB / 0.7096 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/0.7326, allocations: 0.6701 MB / 0.7103 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06747/0.8001, allocations: 34.73 MB / 0.7442 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004669/0.8047, allocations: 2.852 MB / 0.747 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003313/0.8081, allocations: 1.158 MB / 0.7481 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002826/0.8109, allocations: 1.698 MB / 0.7498 GB, free: 252 kB / 0.5606 GB Notification: Performance of SimCode: time 1.113e-06/0.8109, allocations: 0 / 0.7498 GB, free: 252 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1334/0.9443, allocations: 66.8 MB / 0.815 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.68/18.62, allocations: 7.969 kB / 0.815 GB, free: 13.89 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.885228648083284]